Searched refs:perm_mac_addr (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 62 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1e_get_permanent_address() 90 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1e_get_permanent_address() 145 memcpy(hw->mac_addr, hw->perm_mac_addr, sizeof(hw->perm_mac_addr)); in atl1e_read_mac_addr()
|
D | atl1e.h | 313 u8 perm_mac_addr[ETH_ALEN]; member
|
/linux-5.19.10/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 79 if (atl1c_read_current_addr(hw, hw->perm_mac_addr)) in atl1c_get_permanent_address() 134 if (atl1c_read_current_addr(hw, hw->perm_mac_addr)) in atl1c_get_permanent_address() 189 eth_random_addr(hw->perm_mac_addr); in atl1c_read_mac_addr() 191 memcpy(hw->mac_addr, hw->perm_mac_addr, sizeof(hw->perm_mac_addr)); in atl1c_read_mac_addr()
|
D | atl1c.h | 419 u8 perm_mac_addr[ETH_ALEN]; member
|
D | atl1c_main.c | 2818 atl1c_hw_set_mac_addr(&adapter->hw, adapter->hw.perm_mac_addr); in atl1c_remove()
|
/linux-5.19.10/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 2181 if (is_valid_ether_addr(hw->perm_mac_addr)) in get_permanent_address() 2219 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address() 2254 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address() 2264 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address() 2281 hw->perm_mac_addr[0] = 0x00; in atl2_read_mac_addr() 2282 hw->perm_mac_addr[1] = 0x13; in atl2_read_mac_addr() 2283 hw->perm_mac_addr[2] = 0x74; in atl2_read_mac_addr() 2284 hw->perm_mac_addr[3] = 0x00; in atl2_read_mac_addr() 2285 hw->perm_mac_addr[4] = 0x5c; in atl2_read_mac_addr() 2286 hw->perm_mac_addr[5] = 0x38; in atl2_read_mac_addr() [all …]
|
D | atl1.c | 424 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1_get_permanent_address() 457 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address() 490 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address() 505 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address() 522 eth_random_addr(hw->perm_mac_addr); in atl1_read_mac_addr() 527 hw->mac_addr[i] = hw->perm_mac_addr[i]; in atl1_read_mac_addr() 3102 adapter->hw.perm_mac_addr)) { in atl1_remove() 3103 memcpy(adapter->hw.mac_addr, adapter->hw.perm_mac_addr, in atl1_remove()
|
D | atl2.h | 416 u8 perm_mac_addr[ETH_ALEN]; member
|
D | atl1.h | 738 u8 perm_mac_addr[ETH_ALEN]; member
|
/linux-5.19.10/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 4238 hw->perm_mac_addr[i] = (u8)(eeprom_data & 0x00FF); in e1000_read_mac_addr() 4239 hw->perm_mac_addr[i + 1] = (u8)(eeprom_data >> 8); in e1000_read_mac_addr() 4248 hw->perm_mac_addr[5] ^= 0x01; in e1000_read_mac_addr() 4253 hw->mac_addr[i] = hw->perm_mac_addr[i]; in e1000_read_mac_addr()
|
D | e1000_hw.h | 1387 u8 perm_mac_addr[NODE_ADDRESS_SIZE]; member
|