Class: Nl::Linux::Dpll::Messages::DumpPinGetReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Dpll::Messages::DumpPinGetReply
- Defined in:
- nl-linux/generated/nl/linux/dpll.rb
Overview
Get list of pins and its attributes.
- dump request without any attributes given - list all the pins in the system
- dump request with target dpll - list all the pins registered with a given dpll device
- do request with target dpll and target pin - single pin attributes
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
8- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Pin
- ATTRIBUTES =
Ractor.make_shareable(%i[id module_name clock_id board_label panel_label package_label type frequency frequency_supported capabilities parent_device parent_pin phase_adjust_min phase_adjust_max phase_adjust fractional_frequency_offset esync_frequency esync_frequency_supported esync_pulse reference_sync phase_adjust_gran fractional_frequency_offset_ppt measured_frequency])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
- #board_label ⇒ String
-
#capabilities ⇒ Integer
Known flags are defined in Flags::PinCapabilities.
- #clock_id ⇒ Integer
-
#esync_frequency ⇒ Integer
Frequency of Embedded SYNC signal.
-
#esync_frequency_supported ⇒ Array<AttributeSets::FrequencyRange>
If provided a pin is capable of embedding a SYNC signal (within given range) into its base frequency signal.
-
#esync_pulse ⇒ Integer
A ratio of high to low state of a SYNC signal pulse embedded into base clock frequency.
-
#fractional_frequency_offset ⇒ Integer
The FFO (Fractional Frequency Offset) of the pin.
-
#fractional_frequency_offset_ppt ⇒ Integer
The FFO (Fractional Frequency Offset) of the pin.
- #frequency ⇒ Integer
- #frequency_supported ⇒ Array<AttributeSets::FrequencyRange>
- #id ⇒ Integer
-
#measured_frequency ⇒ Integer
The measured frequency of the input pin in millihertz (mHz).
- #module_name ⇒ String
- #package_label ⇒ String
- #panel_label ⇒ String
- #parent_device ⇒ Array<AttributeSets::PinParentDevice>
- #parent_pin ⇒ Array<AttributeSets::PinParentPin>
- #phase_adjust ⇒ Integer
-
#phase_adjust_gran ⇒ Integer
Granularity of phase adjustment, in picoseconds.
- #phase_adjust_max ⇒ Integer
- #phase_adjust_min ⇒ Integer
-
#reference_sync ⇒ Array<AttributeSets::ReferenceSync>
Capable pin provides list of pins that can be bound to create a reference-sync pin pair.
-
#type ⇒ Integer
Known enum values are defined in Enums::PinType.
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
#board_label ⇒ String
1747 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1747 def board_label; attributes[:"board_label"]&.value; end |
#capabilities ⇒ Integer
Known flags are defined in Flags::PinCapabilities.
1773 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1773 def capabilities; attributes[:"capabilities"]&.value; end |
#clock_id ⇒ Integer
1743 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1743 def clock_id; attributes[:"clock_id"]&.value; end |
#esync_frequency ⇒ Integer
Frequency of Embedded SYNC signal. If provided, the pin is configured with a SYNC signal embedded into its base clock frequency.
1811 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1811 def esync_frequency; attributes[:"esync_frequency"]&.value; end |
#esync_frequency_supported ⇒ Array<AttributeSets::FrequencyRange>
If provided a pin is capable of embedding a SYNC signal (within given range) into its base frequency signal.
1817 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1817 def esync_frequency_supported; attributes[:"esync_frequency_supported"].map(&:value); end |
#esync_pulse ⇒ Integer
A ratio of high to low state of a SYNC signal pulse embedded into base clock frequency. Value is in percents.
1823 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1823 def esync_pulse; attributes[:"esync_pulse"]&.value; end |
#fractional_frequency_offset ⇒ Integer
The FFO (Fractional Frequency Offset) of the pin. At top level this represents the RX vs TX symbol rate offset on the media associated with the pin. Inside the pin-parent-device nest it represents the frequency offset between the pin and its parent DPLL device. Value is in PPM (parts per million). This is a lower-precision version of fractional-frequency-offset-ppt.
1805 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1805 def fractional_frequency_offset; attributes[:"fractional_frequency_offset"]&.value; end |
#fractional_frequency_offset_ppt ⇒ Integer
The FFO (Fractional Frequency Offset) of the pin. At top level this represents the RX vs TX symbol rate offset on the media associated with the pin. Inside the pin-parent-device nest it represents the frequency offset between the pin and its parent DPLL device. Value is in PPT (parts per trillion, 10^-12). This is a higher-precision version of fractional-frequency-offset.
1847 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1847 def fractional_frequency_offset_ppt; attributes[:"fractional_frequency_offset_ppt"]&.value; end |
#frequency ⇒ Integer
1764 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1764 def frequency; attributes[:"frequency"]&.value; end |
#frequency_supported ⇒ Array<AttributeSets::FrequencyRange>
1768 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1768 def frequency_supported; attributes[:"frequency_supported"].map(&:value); end |
#id ⇒ Integer
1735 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1735 def id; attributes[:"id"]&.value; end |
#measured_frequency ⇒ Integer
The measured frequency of the input pin in millihertz (mHz). Value of (DPLL_A_PIN_MEASURED_FREQUENCY / DPLL_PIN_MEASURED_FREQUENCY_DIVIDER) is an integer part (Hz) of a measured frequency value. Value of (DPLL_A_PIN_MEASURED_FREQUENCY % DPLL_PIN_MEASURED_FREQUENCY_DIVIDER) is a fractional part of a measured frequency value.
1858 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1858 def measured_frequency; attributes[:"measured_frequency"]&.value; end |
#module_name ⇒ String
1739 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1739 def module_name; attributes[:"module_name"]&.value; end |
#package_label ⇒ String
1755 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1755 def package_label; attributes[:"package_label"]&.value; end |
#panel_label ⇒ String
1751 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1751 def panel_label; attributes[:"panel_label"]&.value; end |
#parent_device ⇒ Array<AttributeSets::PinParentDevice>
1777 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1777 def parent_device; attributes[:"parent_device"].map(&:value); end |
#parent_pin ⇒ Array<AttributeSets::PinParentPin>
1781 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1781 def parent_pin; attributes[:"parent_pin"].map(&:value); end |
#phase_adjust ⇒ Integer
1793 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1793 def phase_adjust; attributes[:"phase_adjust"]&.value; end |
#phase_adjust_gran ⇒ Integer
Granularity of phase adjustment, in picoseconds. The value of phase adjustment must be a multiple of this granularity.
1835 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1835 def phase_adjust_gran; attributes[:"phase_adjust_gran"]&.value; end |
#phase_adjust_max ⇒ Integer
1789 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1789 def phase_adjust_max; attributes[:"phase_adjust_max"]&.value; end |
#phase_adjust_min ⇒ Integer
1785 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1785 def phase_adjust_min; attributes[:"phase_adjust_min"]&.value; end |
#reference_sync ⇒ Array<AttributeSets::ReferenceSync>
Capable pin provides list of pins that can be bound to create a reference-sync pin pair.
1829 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1829 def reference_sync; attributes[:"reference_sync"].map(&:value); end |
#type ⇒ Integer
Known enum values are defined in Enums::PinType.
1760 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1760 def type; attributes[:"type"]&.value; end |