Class: Nl::Linux::Dpll::Messages::DumpDeviceGetReply

Inherits:
Genl::Message show all
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

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#clock_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



1446
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1446

def frequency_monitor; attributes[:"frequency_monitor"]&.value; end

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Array<Integer>)

See Also:



1408
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1408

def mode_supported; attributes[:"mode_supported"].map(&:value); end

#module_name ⇒ String

Returns:

  • (String)

See Also:



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.

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



1434
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1434

def phase_offset_monitor; attributes[:"phase_offset_monitor"]&.value; end

#temp ⇒ Integer

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



1422
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1422

def type; attributes[:"type"]&.value; end