Home
last modified time | relevance | path

Searched refs:perm_addr (Results 1 – 25 of 50) sorted by relevance

12

/drivers/net/ethernet/intel/e1000e/
Dnvm.c551 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()
Dptp.c223 adapter->netdev->perm_addr); in e1000e_ptp_init()
Dhw.h528 u8 perm_addr[ETH_ALEN]; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c173 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()
Dixgbe_x540.c140 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X540()
/drivers/net/ethernet/intel/igbvf/
Dvf.c157 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()
Dvf.h196 u8 perm_addr[6]; member
/drivers/net/wireless/p54/
Deeprom.c916 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/
De1000_nvm.c629 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()
De1000_hw.h392 u8 perm_addr[6]; member
/drivers/net/wireless/ath/ath9k/
Dlink.c279 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/
Dntb_netdev.c337 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/
Ddriver.c239 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/
Dvf.c120 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()
Dvf.h84 u8 perm_addr[6]; member
/drivers/net/ethernet/atheros/alx/
Dmain.c1360 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()
Dhw.h401 u8 perm_addr[ETH_ALEN]; member
/drivers/net/wireless/
Dadm8211.c1774 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()
Dmwl8k.c2328 __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/
Dzd_mac.h303 return mac->hw->wiphy->perm_addr; in zd_mac_get_perm_addr()
/drivers/net/ethernet/brocade/bna/
Dbnad.h337 mac_t perm_addr; member
Dbnad.c775 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/
Dqeth_l3_sys.c310 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/
Dax88179_178a.c1003 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/
Dsiena.c269 rc = efx_mcdi_get_board_cfg(efx, efx->net_dev->perm_addr, NULL, &caps); in siena_probe_nvconfig()

12