Class: Nl::Linux::Ethtool::AttributeSets::ModuleEeprom
Defined Under Namespace
Classes: Attribute, Bank, Data, Header, I2cAddress, Length, Offset, Page
Constant Summary
Constants inherited
from AttributeSet
AttributeSet::SELECTOR_NAMES
Class Method Summary
collapse
Instance Method Summary
collapse
#<<, #[], build_attributes, decode, #encode, #initialize
Class Method Details
Looks up Attribute class by name.
3756
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3756
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
3762
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3762
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#bank ⇒ Integer
3741
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3741
def bank; self[:"bank"]&.value; end
|
3749
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3749
def data; self[:"data"]&.value; end
|
3725
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3725
def ; self[:"header"]&.value; end
|
#i2c_address ⇒ Integer
3745
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3745
def i2c_address; self[:"i2c_address"]&.value; end
|
#length ⇒ Integer
3733
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3733
def length; self[:"length"]&.value; end
|
#offset ⇒ Integer
3729
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3729
def offset; self[:"offset"]&.value; end
|
#page ⇒ Integer
3737
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3737
def page; self[:"page"]&.value; end
|