Class: Nl::Linux::Dpll::Messages::DumpDeviceGetReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Dpll::Messages::DumpDeviceGetReply
- Defined in:
- nl-linux/generated/nl/linux/dpll.rb
Overview
Get list of DPLL devices (dump) or attributes of a single dpll device
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
2- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Dpll
- ATTRIBUTES =
Ractor.make_shareable(%i[id module_name clock_id mode mode_supported lock_status temp type lock_status_error phase_offset_monitor phase_offset_avg_factor frequency_monitor])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
- #clock_id ⇒ Integer
-
#frequency_monitor ⇒ Integer
Current or desired state of the frequency monitor feature.
- #id ⇒ Integer
-
#lock_status ⇒ Integer
Known enum values are defined in Enums::LockStatus.
-
#lock_status_error ⇒ Integer
Known enum values are defined in Enums::LockStatusError.
-
#mode ⇒ Integer
Known enum values are defined in Enums::Mode.
-
#mode_supported ⇒ Array<Integer>
Known enum values are defined in Enums::Mode.
- #module_name ⇒ String
-
#phase_offset_avg_factor ⇒ Integer
Averaging factor applied to calculation of reported phase offset.
-
#phase_offset_monitor ⇒ Integer
Receive or request state of phase offset monitor feature.
- #temp ⇒ Integer
-
#type ⇒ Integer
Known enum values are defined in Enums::Type.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#clock_id ⇒ Integer
1398 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1398 def clock_id; attributes[:"clock_id"]&.value; end |
#frequency_monitor ⇒ Integer
Current or desired state of the frequency monitor feature. If enabled, dpll device shall measure all currently available inputs for their actual input frequency.
Known enum values are defined in Enums::FeatureState.
1446 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1446 def frequency_monitor; attributes[:"frequency_monitor"]&.value; end |
#id ⇒ Integer
1390 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1390 def id; attributes[:"id"]&.value; end |
#lock_status ⇒ Integer
Known enum values are defined in Enums::LockStatus.
1413 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1413 def lock_status; attributes[:"lock_status"]&.value; end |
#lock_status_error ⇒ Integer
Known enum values are defined in Enums::LockStatusError.
1427 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1427 def lock_status_error; attributes[:"lock_status_error"]&.value; end |
#mode ⇒ Integer
Known enum values are defined in Enums::Mode.
1403 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1403 def mode; attributes[:"mode"]&.value; end |
#mode_supported ⇒ Array<Integer>
Known enum values are defined in Enums::Mode.
1408 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1408 def mode_supported; attributes[:"mode_supported"].map(&:value); end |
#module_name ⇒ String
1394 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1394 def module_name; attributes[:"module_name"]&.value; end |
#phase_offset_avg_factor ⇒ Integer
Averaging factor applied to calculation of reported phase offset.
1439 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1439 def phase_offset_avg_factor; attributes[:"phase_offset_avg_factor"]&.value; end |
#phase_offset_monitor ⇒ Integer
Receive or request state of phase offset monitor feature. If enabled, dpll device shall monitor and notify all currently available inputs for changes of their phase offset against the dpll device.
Known enum values are defined in Enums::FeatureState.
1434 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1434 def phase_offset_monitor; attributes[:"phase_offset_monitor"]&.value; end |
#temp ⇒ Integer
1417 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1417 def temp; attributes[:"temp"]&.value; end |
#type ⇒ Integer
Known enum values are defined in Enums::Type.
1422 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1422 def type; attributes[:"type"]&.value; end |