Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c62 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()
Datl1e.h313 u8 perm_mac_addr[ETH_ALEN]; member
/linux-5.19.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c79 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()
Datl1c.h419 u8 perm_mac_addr[ETH_ALEN]; member
Datl1c_main.c2818 atl1c_hw_set_mac_addr(&adapter->hw, adapter->hw.perm_mac_addr); in atl1c_remove()
/linux-5.19.10/drivers/net/ethernet/atheros/atlx/
Datl2.c2181 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 …]
Datl1.c424 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()
Datl2.h416 u8 perm_mac_addr[ETH_ALEN]; member
Datl1.h738 u8 perm_mac_addr[ETH_ALEN]; member
/linux-5.19.10/drivers/net/ethernet/intel/e1000/
De1000_hw.c4238 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()
De1000_hw.h1387 u8 perm_mac_addr[NODE_ADDRESS_SIZE]; member