/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 551 hw->mac.perm_addr[i] = (u8)(rar_low >> (i * 8)); in e1000_read_mac_addr_generic() 554 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in e1000_read_mac_addr_generic() 557 hw->mac.addr[i] = hw->mac.perm_addr[i]; in e1000_read_mac_addr_generic()
|
D | ptp.c | 223 adapter->netdev->perm_addr); in e1000e_ptp_init()
|
D | hw.h | 528 u8 perm_addr[ETH_ALEN]; member
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_nl.c | 173 u8 *perm_addr) in ixgbe_dcbnl_get_perm_hw_addr() argument 178 memset(perm_addr, 0xff, MAX_ADDR_LEN); in ixgbe_dcbnl_get_perm_hw_addr() 181 perm_addr[i] = adapter->hw.mac.perm_addr[i]; in ixgbe_dcbnl_get_perm_hw_addr() 187 perm_addr[i] = adapter->hw.mac.san_addr[j]; in ixgbe_dcbnl_get_perm_hw_addr()
|
D | ixgbe_x540.c | 140 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X540()
|
/drivers/net/ethernet/intel/igbvf/ |
D | vf.c | 157 memcpy(hw->mac.perm_addr, addr, 6); in e1000_reset_hw_vf() 337 memcpy(hw->mac.addr, hw->mac.perm_addr, ETH_ALEN); in e1000_read_mac_addr_vf()
|
D | vf.h | 196 u8 perm_addr[6]; member
|
/drivers/net/wireless/p54/ |
D | eeprom.c | 916 if (!is_valid_ether_addr(dev->wiphy->perm_addr)) { in p54_parse_eeprom() 917 u8 perm_addr[ETH_ALEN]; in p54_parse_eeprom() local 921 eth_random_addr(perm_addr); in p54_parse_eeprom() 922 SET_IEEE80211_PERM_ADDR(dev, perm_addr); in p54_parse_eeprom() 928 dev->wiphy->perm_addr, priv->version, in p54_parse_eeprom()
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 629 hw->mac.perm_addr[i] = (u8)(rar_low >> (i*8)); in igb_read_mac_addr() 632 hw->mac.perm_addr[i+4] = (u8)(rar_high >> (i*8)); in igb_read_mac_addr() 635 hw->mac.addr[i] = hw->mac.perm_addr[i]; in igb_read_mac_addr()
|
D | e1000_hw.h | 392 u8 perm_addr[6]; member
|
/drivers/net/wireless/ath/ath9k/ |
D | link.c | 279 memcpy(hdr->addr1, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate() 280 memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate() 281 memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate()
|
/drivers/net/ |
D | ntb_netdev.c | 337 random_ether_addr(ndev->perm_addr); in ntb_netdev_probe() 338 memcpy(ndev->dev_addr, ndev->perm_addr, ndev->addr_len); in ntb_netdev_probe()
|
/drivers/net/wimax/i2400m/ |
D | driver.c | 239 if (!memcmp(net_dev->perm_addr, ddi->mac_address, in i2400m_check_mac_addr() 245 dev_warn(dev, "boot mode reported %pM\n", net_dev->perm_addr); in i2400m_check_mac_addr() 252 memcpy(net_dev->perm_addr, ddi->mac_address, ETH_ALEN); in i2400m_check_mac_addr()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | vf.c | 120 memcpy(hw->mac.perm_addr, addr, ETH_ALEN); in ixgbevf_reset_hw_vf() 223 memcpy(mac_addr, hw->mac.perm_addr, ETH_ALEN); in ixgbevf_get_mac_addr_vf()
|
D | vf.h | 84 u8 perm_addr[6]; member
|
/drivers/net/ethernet/atheros/alx/ |
D | main.c | 1360 if (alx_get_perm_macaddr(hw, hw->perm_addr)) { in alx_probe() 1364 memcpy(hw->perm_addr, netdev->dev_addr, netdev->addr_len); in alx_probe() 1367 memcpy(hw->mac_addr, hw->perm_addr, ETH_ALEN); in alx_probe() 1369 memcpy(netdev->perm_addr, hw->perm_addr, ETH_ALEN); in alx_probe() 1427 alx_set_macaddr(hw, hw->perm_addr); in alx_remove()
|
D | hw.h | 401 u8 perm_addr[ETH_ALEN]; member
|
/drivers/net/wireless/ |
D | adm8211.c | 1774 u8 perm_addr[ETH_ALEN]; in adm8211_probe() local 1853 *(__le32 *)perm_addr = cpu_to_le32(ADM8211_CSR_READ(PAR0)); in adm8211_probe() 1854 *(__le16 *)&perm_addr[4] = in adm8211_probe() 1857 if (!is_valid_ether_addr(perm_addr)) { in adm8211_probe() 1860 eth_random_addr(perm_addr); in adm8211_probe() 1862 SET_IEEE80211_PERM_ADDR(dev, perm_addr); in adm8211_probe() 1909 dev->wiphy->perm_addr, pdev->revision); in adm8211_probe()
|
D | mwl8k.c | 2328 __u8 perm_addr[ETH_ALEN]; member 2444 memset(cmd->perm_addr, 0xff, sizeof(cmd->perm_addr)); in mwl8k_cmd_get_hw_spec_sta() 2456 SET_IEEE80211_PERM_ADDR(hw, cmd->perm_addr); in mwl8k_cmd_get_hw_spec_sta() 2478 __u8 perm_addr[ETH_ALEN]; member 2509 memset(cmd->perm_addr, 0xff, sizeof(cmd->perm_addr)); in mwl8k_cmd_get_hw_spec_ap() 2527 SET_IEEE80211_PERM_ADDR(hw, cmd->perm_addr); in mwl8k_cmd_get_hw_spec_ap() 2571 __u8 perm_addr[ETH_ALEN]; member 5776 priv->hw_rev, hw->wiphy->perm_addr, in mwl8k_probe_hw()
|
/drivers/net/wireless/zd1211rw/ |
D | zd_mac.h | 303 return mac->hw->wiphy->perm_addr; in zd_mac_get_perm_addr()
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.h | 337 mac_t perm_addr; member
|
D | bnad.c | 775 memcpy(netdev->perm_addr, &bnad->perm_addr, netdev->addr_len); in bnad_set_netdev_perm_addr() 777 memcpy(netdev->dev_addr, &bnad->perm_addr, netdev->addr_len); in bnad_set_netdev_perm_addr() 994 if (is_zero_ether_addr(&bnad->perm_addr.mac[0])) { in bnad_cb_tx_resume() 995 bna_enet_perm_mac_get(&bnad->bna.enet, &bnad->perm_addr); in bnad_cb_tx_resume() 3480 bna_enet_perm_mac_get(&bna->enet, &bnad->perm_addr); in bnad_pci_probe()
|
/drivers/s390/net/ |
D | qeth_l3_sys.c | 310 memcpy(card->dev->perm_addr, card->options.hsuid, 9); in qeth_l3_dev_hsuid_store() 324 memcpy(card->dev->perm_addr, card->options.hsuid, 9); in qeth_l3_dev_hsuid_store()
|
/drivers/net/usb/ |
D | ax88179_178a.c | 1003 memcpy(dev->net->perm_addr, dev->net->dev_addr, ETH_ALEN); in ax88179_bind() 1304 memcpy(dev->net->perm_addr, dev->net->dev_addr, ETH_ALEN); in ax88179_reset()
|
/drivers/net/ethernet/sfc/ |
D | siena.c | 269 rc = efx_mcdi_get_board_cfg(efx, efx->net_dev->perm_addr, NULL, &caps); in siena_probe_nvconfig()
|