Class: Nl::Linux::DrmRas::AttributeSets::ErrorCounterAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::DrmRas::AttributeSets::ErrorCounterAttrs
- Defined in:
- nl-linux/generated/nl/linux/drm_ras.rb
Defined Under Namespace
Classes: Attribute, ErrorId, ErrorName, ErrorValue, NodeId
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
-
#error_id ⇒ Integer
Unique identifier for a specific error counter within an node.
-
#error_name ⇒ String
Name of the error.
-
#error_value ⇒ Integer
Current value of the requested error counter.
-
#node_id ⇒ Integer
Node ID targeted by this error counter operation.
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
193 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 193 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
199 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 199 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#error_id ⇒ Integer
Unique identifier for a specific error counter within an node.
176 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 176 def error_id; self[:"error_id"]&.value; end |
#error_name ⇒ String
Name of the error.
181 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 181 def error_name; self[:"error_name"]&.value; end |
#error_value ⇒ Integer
Current value of the requested error counter.
186 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 186 def error_value; self[:"error_value"]&.value; end |
#node_id ⇒ Integer
Node ID targeted by this error counter operation.
171 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 171 def node_id; self[:"node_id"]&.value; end |