Home
last modified time | relevance | path

Searched refs:perm_mac_addr (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c75 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()
Datl1e.h326 u8 perm_mac_addr[ETH_ALEN]; member
/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c92 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()
Datl1c.h433 u8 perm_mac_addr[ETH_ALEN]; member
Datl1c_main.c2693 atl1c_hw_set_mac_addr(&adapter->hw, adapter->hw.perm_mac_addr); in atl1c_remove()
/drivers/net/ethernet/atheros/atlx/
Datl2.c2233 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 …]
Datl1.c443 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()
Datl2.h432 u8 perm_mac_addr[ETH_ALEN]; member
Datl1.h751 u8 perm_mac_addr[ETH_ALEN]; member
/drivers/net/ethernet/intel/e1000/
De1000_hw.c4271 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()
De1000_hw.h1412 u8 perm_mac_addr[NODE_ADDRESS_SIZE]; member