Home
last modified time | relevance | path

Searched refs:ETH_MODULE_EEPROM_PAGE_LEN (Results 1 – 2 of 2) sorted by relevance

/linux/net/ethtool/
H A Deeprom.c37 offset = request->page * ETH_MODULE_EEPROM_PAGE_LEN + offset; in fallback_set_params()
41 offset += ETH_MODULE_EEPROM_PAGE_LEN * 2; in fallback_set_params()
174 if (request->page && request->offset < ETH_MODULE_EEPROM_PAGE_LEN) { in eeprom_parse_request()
180 if (request->offset < ETH_MODULE_EEPROM_PAGE_LEN && in eeprom_parse_request()
181 request->offset + request->length > ETH_MODULE_EEPROM_PAGE_LEN) { in eeprom_parse_request()
185 } else if (request->offset + request->length > ETH_MODULE_EEPROM_PAGE_LEN * 2) { in eeprom_parse_request()
238 NLA_POLICY_MAX(NLA_U32, ETH_MODULE_EEPROM_PAGE_LEN * 2 - 1),
240 NLA_POLICY_RANGE(NLA_U32, 1, ETH_MODULE_EEPROM_PAGE_LEN),
/linux/include/linux/
H A Dethtool.h549 #define ETH_MODULE_EEPROM_PAGE_LEN 128 macro