| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | tx99.c | 71 memcpy(hdr->addr1, hw->wiphy->perm_addr, ETH_ALEN); in ath9k_build_tx99_skb() 72 memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN); in ath9k_build_tx99_skb() 73 memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN); in ath9k_build_tx99_skb()
|
| H A D | link.c | 278 memcpy(hdr->addr1, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate() 279 memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate() 280 memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate()
|
| /linux/net/wireless/ |
| H A D | sysfs.c | 37 SHOW_FMT(macaddress, "%pM", wiphy.perm_addr); 59 return sprintf(buf, "%pM\n", wiphy->perm_addr); in addresses_show()
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | vf.c | 138 memcpy(hw->mac.perm_addr, addr, ETH_ALEN); in e1000_reset_hw_vf() 141 eth_zero_addr(hw->mac.perm_addr); in e1000_reset_hw_vf() 328 memcpy(hw->mac.addr, hw->mac.perm_addr, ETH_ALEN); in e1000_read_mac_addr_vf()
|
| H A D | vf.h | 173 u8 perm_addr[6]; member
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | main.c | 341 if (hw->wiphy->perm_addr[3] == 0 && in cw1200_init_common() 342 hw->wiphy->perm_addr[4] == 0 && in cw1200_init_common() 343 hw->wiphy->perm_addr[5] == 0) { in cw1200_init_common() 344 get_random_bytes(&hw->wiphy->perm_addr[3], 3); in cw1200_init_common()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_nl.c | 205 static void ice_dcbnl_get_perm_hw_addr(struct net_device *netdev, u8 *perm_addr) in ice_dcbnl_get_perm_hw_addr() argument 211 memset(perm_addr, 0xff, MAX_ADDR_LEN); in ice_dcbnl_get_perm_hw_addr() 214 perm_addr[i] = pi->mac.perm_addr[i]; in ice_dcbnl_get_perm_hw_addr() 217 perm_addr[i] = pi->mac.perm_addr[j]; in ice_dcbnl_get_perm_hw_addr()
|
| H A D | ice_eswitch.c | 75 uplink_vsi->port_info->mac.perm_addr, in ice_eswitch_setup_env() 284 uplink_vsi->port_info->mac.perm_addr, in ice_eswitch_release_env()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ef100_netdev.c | 481 rc = ef100_get_mac_address(efx, net_dev->perm_addr, CLIENT_HANDLE_SELF, in ef100_probe_netdev() 486 eth_hw_addr_set(net_dev, net_dev->perm_addr); in ef100_probe_netdev() 487 ether_addr_copy(nic_data->port_id, net_dev->perm_addr); in ef100_probe_netdev()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_dcb_nl.c | 143 u8 *perm_addr) in ixgbe_dcbnl_get_perm_hw_addr() argument 148 memset(perm_addr, 0xff, MAX_ADDR_LEN); in ixgbe_dcbnl_get_perm_hw_addr() 151 perm_addr[i] = adapter->hw.mac.perm_addr[i]; in ixgbe_dcbnl_get_perm_hw_addr() 159 perm_addr[i] = adapter->hw.mac.san_addr[j]; in ixgbe_dcbnl_get_perm_hw_addr()
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | vf.c | 118 ether_addr_copy(hw->mac.perm_addr, addr); in ixgbevf_reset_hw_vf() 141 &hw->mac.perm_addr[i]); in ixgbevf_hv_reset_hw_vf() 245 ether_addr_copy(mac_addr, hw->mac.perm_addr); in ixgbevf_get_mac_addr_vf() 475 if (ether_addr_equal(addr, hw->mac.perm_addr)) in ixgbevf_hv_set_rar_vf()
|
| /linux/drivers/net/ethernet/wangxun/ngbe/ |
| H A D | ngbe_hw.c | 91 wx_get_mac_addr(wx, wx->mac.perm_addr); in ngbe_reset_hw()
|
| /linux/drivers/net/wireless/intersil/p54/ |
| H A D | eeprom.c | 910 if (!is_valid_ether_addr(dev->wiphy->perm_addr)) { in p54_parse_eeprom() 911 u8 perm_addr[ETH_ALEN]; in p54_parse_eeprom() local 915 eth_random_addr(perm_addr); in p54_parse_eeprom() 916 SET_IEEE80211_PERM_ADDR(dev, perm_addr); in p54_parse_eeprom() 922 dev->wiphy->perm_addr, priv->version, in p54_parse_eeprom()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb_nl.c | 826 u8 *perm_addr) in i40e_dcbnl_get_perm_hw_addr() argument 831 memset(perm_addr, 0xff, MAX_ADDR_LEN); in i40e_dcbnl_get_perm_hw_addr() 834 perm_addr[i] = pf->hw.mac.perm_addr[i]; in i40e_dcbnl_get_perm_hw_addr()
|
| /linux/drivers/net/netdevsim/ |
| H A D | netdevsim.h | 169 u8 perm_addr[ETH_ALEN]); 395 u8 perm_addr[ETH_ALEN]);
|
| H A D | netdev.c | 1127 u8 perm_addr[ETH_ALEN]) in nsim_create() 1138 if (perm_addr) in nsim_create() 1139 memcpy(dev->perm_addr, perm_addr, ETH_ALEN); in nsim_create()
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_vf_common.c | 151 ether_addr_copy(netdev->perm_addr, wx->mac.addr); in wx_reset_vf() 242 memcpy(wx->mac.perm_addr, addr->sa_data, netdev->addr_len); in wx_set_mac_vf()
|
| H A D | wx_vf.c | 122 ether_addr_copy(wx->mac.perm_addr, addr); in wx_reset_hw_vf() 327 ether_addr_copy(mac_addr, wx->mac.perm_addr); in wx_get_mac_addr_vf()
|
| /linux/drivers/net/wireless/admtek/ |
| H A D | adm8211.c | 1789 u8 perm_addr[ETH_ALEN]; in adm8211_probe() local 1870 *(__le32 *)perm_addr = cpu_to_le32(ADM8211_CSR_READ(PAR0)); in adm8211_probe() 1871 *(__le16 *)&perm_addr[4] = in adm8211_probe() 1874 if (!is_valid_ether_addr(perm_addr)) { in adm8211_probe() 1877 eth_random_addr(perm_addr); in adm8211_probe() 1879 SET_IEEE80211_PERM_ADDR(dev, perm_addr); in adm8211_probe() 1927 dev->wiphy->perm_addr, pdev->revision); in adm8211_probe()
|
| /linux/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_hw.c | 215 wx_get_mac_addr(wx, wx->mac.perm_addr); in txgbe_reset_hw()
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_dcbnl.c | 28 u8 *perm_addr) in qede_dcbnl_getpermhwaddr() argument 30 memcpy(perm_addr, netdev->dev_addr, netdev->addr_len); in qede_dcbnl_getpermhwaddr()
|
| /linux/tools/testing/selftests/net/ |
| H A D | lib.sh | 260 local perm_addr="$4" 267 echo "$port_id $perm_addr" | ip netns exec "$ns" tee "$nsim_path"/new_port > /dev/null || return 1
|
| /linux/drivers/net/wireless/purelifi/plfxlc/ |
| H A D | mac.h | 167 return mac->hw->wiphy->perm_addr; in plfxlc_mac_get_perm_addr()
|
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_mac.h | 290 return mac->hw->wiphy->perm_addr; in zd_mac_get_perm_addr()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_vfr.c | 481 dev->perm_addr); in bnxt_vf_rep_netdev_init() 482 eth_hw_addr_set(dev, dev->perm_addr); in bnxt_vf_rep_netdev_init()
|