Class: Nl::Linux::Dpll::Messages::DoPinGetReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Dpll::Messages::DoPinGetReply
- 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
1584 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1584 def board_label; attributes[:"board_label"]&.value; end |
#capabilities ⇒ Integer
Known flags are defined in Flags::PinCapabilities.
1610 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1610 def capabilities; attributes[:"capabilities"]&.value; end |
#clock_id ⇒ Integer
1580 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1580 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.
1648 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1648 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.
1654 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1654 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.
1660 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1660 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.
1642 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1642 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.
1684 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1684 def fractional_frequency_offset_ppt; attributes[:"fractional_frequency_offset_ppt"]&.value; end |
#frequency ⇒ Integer
1601 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1601 def frequency; attributes[:"frequency"]&.value; end |
#frequency_supported ⇒ Array<AttributeSets::FrequencyRange>
1605 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1605 def frequency_supported; attributes[:"frequency_supported"].map(&:value); end |
#id ⇒ Integer
1572 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1572 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.
1695 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1695 def measured_frequency; attributes[:"measured_frequency"]&.value; end |
#module_name ⇒ String
1576 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1576 def module_name; attributes[:"module_name"]&.value; end |
#package_label ⇒ String
1592 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1592 def package_label; attributes[:"package_label"]&.value; end |
#panel_label ⇒ String
1588 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1588 def panel_label; attributes[:"panel_label"]&.value; end |
#parent_device ⇒ Array<AttributeSets::PinParentDevice>
1614 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1614 def parent_device; attributes[:"parent_device"].map(&:value); end |
#parent_pin ⇒ Array<AttributeSets::PinParentPin>
1618 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1618 def parent_pin; attributes[:"parent_pin"].map(&:value); end |
#phase_adjust ⇒ Integer
1630 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1630 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.
1672 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1672 def phase_adjust_gran; attributes[:"phase_adjust_gran"]&.value; end |
#phase_adjust_max ⇒ Integer
1626 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1626 def phase_adjust_max; attributes[:"phase_adjust_max"]&.value; end |
#phase_adjust_min ⇒ Integer
1622 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1622 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.
1666 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1666 def reference_sync; attributes[:"reference_sync"].map(&:value); end |
#type ⇒ Integer
Known enum values are defined in Enums::PinType.
1597 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1597 def type; attributes[:"type"]&.value; end |