Class: Nl::Linux::Dpll::Messages::DoDeviceSetRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Dpll::Messages::DoDeviceSetRequest
- Defined in:
- nl-linux/generated/nl/linux/dpll.rb
Overview
Set attributes for a DPLL device
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
3- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Dpll
- ATTRIBUTES =
Ractor.make_shareable(%i[id mode phase_offset_monitor phase_offset_avg_factor frequency_monitor])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#frequency_monitor ⇒ Integer
Current or desired state of the frequency monitor feature.
- #id ⇒ Integer
-
#mode ⇒ Integer
Known enum values are defined in Enums::Mode.
-
#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.
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
#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.
1483 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1483 def frequency_monitor; attributes[:"frequency_monitor"]&.value; end |
#id ⇒ Integer
1459 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1459 def id; attributes[:"id"]&.value; end |
#mode ⇒ Integer
Known enum values are defined in Enums::Mode.
1464 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1464 def mode; attributes[:"mode"]&.value; end |
#phase_offset_avg_factor ⇒ Integer
Averaging factor applied to calculation of reported phase offset.
1476 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1476 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.
1471 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1471 def phase_offset_monitor; attributes[:"phase_offset_monitor"]&.value; end |