Searched refs:perm_mac_addr (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 75 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1e_get_permanent_address() 103 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1e_get_permanent_address() 158 memcpy(hw->mac_addr, hw->perm_mac_addr, sizeof(hw->perm_mac_addr)); in atl1e_read_mac_addr()
|
D | atl1e.h | 326 u8 perm_mac_addr[ETH_ALEN]; member
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 92 if (atl1c_read_current_addr(hw, hw->perm_mac_addr)) in atl1c_get_permanent_address() 147 if (atl1c_read_current_addr(hw, hw->perm_mac_addr)) in atl1c_get_permanent_address() 202 eth_random_addr(hw->perm_mac_addr); in atl1c_read_mac_addr() 204 memcpy(hw->mac_addr, hw->perm_mac_addr, sizeof(hw->perm_mac_addr)); in atl1c_read_mac_addr()
|
D | atl1c.h | 433 u8 perm_mac_addr[ETH_ALEN]; member
|
D | atl1c_main.c | 2693 atl1c_hw_set_mac_addr(&adapter->hw, adapter->hw.perm_mac_addr); in atl1c_remove()
|
/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 2233 if (is_valid_ether_addr(hw->perm_mac_addr)) in get_permanent_address() 2271 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address() 2306 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address() 2316 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address() 2333 hw->perm_mac_addr[0] = 0x00; in atl2_read_mac_addr() 2334 hw->perm_mac_addr[1] = 0x13; in atl2_read_mac_addr() 2335 hw->perm_mac_addr[2] = 0x74; in atl2_read_mac_addr() 2336 hw->perm_mac_addr[3] = 0x00; in atl2_read_mac_addr() 2337 hw->perm_mac_addr[4] = 0x5c; in atl2_read_mac_addr() 2338 hw->perm_mac_addr[5] = 0x38; in atl2_read_mac_addr() [all …]
|
D | atl1.c | 443 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1_get_permanent_address() 476 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address() 509 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address() 524 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address() 541 eth_random_addr(hw->perm_mac_addr); in atl1_read_mac_addr() 546 hw->mac_addr[i] = hw->perm_mac_addr[i]; in atl1_read_mac_addr() 3131 adapter->hw.perm_mac_addr)) { in atl1_remove() 3132 memcpy(adapter->hw.mac_addr, adapter->hw.perm_mac_addr, in atl1_remove()
|
D | atl2.h | 432 u8 perm_mac_addr[ETH_ALEN]; member
|
D | atl1.h | 751 u8 perm_mac_addr[ETH_ALEN]; member
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 4271 hw->perm_mac_addr[i] = (u8) (eeprom_data & 0x00FF); in e1000_read_mac_addr() 4272 hw->perm_mac_addr[i + 1] = (u8) (eeprom_data >> 8); in e1000_read_mac_addr() 4281 hw->perm_mac_addr[5] ^= 0x01; in e1000_read_mac_addr() 4286 hw->mac_addr[i] = hw->perm_mac_addr[i]; in e1000_read_mac_addr()
|
D | e1000_hw.h | 1412 u8 perm_mac_addr[NODE_ADDRESS_SIZE]; member
|