Class: Nl::Linux::Dpll::Messages::DoDeviceGetReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Dpll::Messages::DoDeviceGetReply
- 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
1318 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1318 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.
1366 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1366 def frequency_monitor; attributes[:"frequency_monitor"]&.value; end |
#id ⇒ Integer
1310 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1310 def id; attributes[:"id"]&.value; end |
#lock_status ⇒ Integer
Known enum values are defined in Enums::LockStatus.
1333 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1333 def lock_status; attributes[:"lock_status"]&.value; end |
#lock_status_error ⇒ Integer
Known enum values are defined in Enums::LockStatusError.
1347 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1347 def lock_status_error; attributes[:"lock_status_error"]&.value; end |
#mode ⇒ Integer
Known enum values are defined in Enums::Mode.
1323 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1323 def mode; attributes[:"mode"]&.value; end |
#mode_supported ⇒ Array<Integer>
Known enum values are defined in Enums::Mode.
1328 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1328 def mode_supported; attributes[:"mode_supported"].map(&:value); end |
#module_name ⇒ String
1314 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1314 def module_name; attributes[:"module_name"]&.value; end |
#phase_offset_avg_factor ⇒ Integer
Averaging factor applied to calculation of reported phase offset.
1359 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1359 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.
1354 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1354 def phase_offset_monitor; attributes[:"phase_offset_monitor"]&.value; end |
#temp ⇒ Integer
1337 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1337 def temp; attributes[:"temp"]&.value; end |
#type ⇒ Integer
Known enum values are defined in Enums::Type.
1342 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1342 def type; attributes[:"type"]&.value; end |