Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/igb/
De1000_mac.c291 u16 offset, nvm_alt_mac_addr_offset, nvm_data; in igb_check_alt_mac_addr() local
301 &nvm_alt_mac_addr_offset); in igb_check_alt_mac_addr()
307 if ((nvm_alt_mac_addr_offset == 0xFFFF) || in igb_check_alt_mac_addr()
308 (nvm_alt_mac_addr_offset == 0x0000)) in igb_check_alt_mac_addr()
313 nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN1; in igb_check_alt_mac_addr()
315 nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN2; in igb_check_alt_mac_addr()
318 nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN3; in igb_check_alt_mac_addr()
320 offset = nvm_alt_mac_addr_offset + (i >> 1); in igb_check_alt_mac_addr()
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dmac.c144 u16 offset, nvm_alt_mac_addr_offset, nvm_data; in e1000_check_alt_mac_addr_generic() local
156 &nvm_alt_mac_addr_offset); in e1000_check_alt_mac_addr_generic()
162 if ((nvm_alt_mac_addr_offset == 0xFFFF) || in e1000_check_alt_mac_addr_generic()
163 (nvm_alt_mac_addr_offset == 0x0000)) in e1000_check_alt_mac_addr_generic()
168 nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN1; in e1000_check_alt_mac_addr_generic()
170 offset = nvm_alt_mac_addr_offset + (i >> 1); in e1000_check_alt_mac_addr_generic()