/linux-6.1.9/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_vf.c | 13 u8 *perm_addr = hw->mac.perm_addr; in fm10k_stop_hw_vf() local 24 if (is_valid_ether_addr(perm_addr)) { in fm10k_stop_hw_vf() 25 bal = (((u32)perm_addr[3]) << 24) | in fm10k_stop_hw_vf() 26 (((u32)perm_addr[4]) << 16) | in fm10k_stop_hw_vf() 27 (((u32)perm_addr[5]) << 8); in fm10k_stop_hw_vf() 29 (((u32)perm_addr[0]) << 16) | in fm10k_stop_hw_vf() 30 (((u32)perm_addr[1]) << 8) | in fm10k_stop_hw_vf() 31 ((u32)perm_addr[2]); in fm10k_stop_hw_vf() 203 u8 perm_addr[ETH_ALEN]; in fm10k_msg_mac_vlan_vf() local 210 perm_addr, &vid); in fm10k_msg_mac_vlan_vf() [all …]
|
D | fm10k_pf.c | 249 u8 perm_addr[ETH_ALEN]; in fm10k_read_mac_addr_pf() local 258 perm_addr[0] = (u8)(serial_num >> 24); in fm10k_read_mac_addr_pf() 259 perm_addr[1] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf() 260 perm_addr[2] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf() 268 perm_addr[3] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf() 269 perm_addr[4] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf() 270 perm_addr[5] = (u8)(serial_num); in fm10k_read_mac_addr_pf() 272 ether_addr_copy(hw->mac.perm_addr, perm_addr); in fm10k_read_mac_addr_pf() 273 ether_addr_copy(hw->mac.addr, perm_addr); in fm10k_read_mac_addr_pf()
|
D | fm10k_pci.c | 300 if (is_valid_ether_addr(hw->mac.perm_addr)) { in fm10k_handle_reset() 301 ether_addr_copy(hw->mac.addr, hw->mac.perm_addr); in fm10k_handle_reset() 302 ether_addr_copy(netdev->perm_addr, hw->mac.perm_addr); in fm10k_handle_reset() 303 eth_hw_addr_set(netdev, hw->mac.perm_addr); in fm10k_handle_reset() 1473 if (is_valid_ether_addr(hw->mac.perm_addr) && in fm10k_mbx_mac_addr() 1474 !ether_addr_equal(hw->mac.perm_addr, hw->mac.addr)) in fm10k_mbx_mac_addr() 2049 ether_addr_copy(netdev->perm_addr, hw->mac.addr); in fm10k_sw_init() 2051 if (!is_valid_ether_addr(netdev->perm_addr)) { in fm10k_sw_init()
|
/linux-6.1.9/net/core/ |
D | failover.c | 28 if (ether_addr_equal(failover_dev->perm_addr, mac)) { in failover_get_bymac() 58 failover_dev = failover_get_bymac(slave_dev->perm_addr, &fops); in failover_slave_register() 114 failover_dev = failover_get_bymac(slave_dev->perm_addr, &fops); in failover_slave_unregister() 145 failover_dev = failover_get_bymac(slave_dev->perm_addr, &fops); in failover_slave_link_change() 170 failover_dev = failover_get_bymac(slave_dev->perm_addr, &fops); in failover_slave_name_change() 224 if (ether_addr_equal(failover_dev->perm_addr, dev->perm_addr)) in failover_existing_slave_register()
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_nvm.c | 143 hw->mac.perm_addr[i] = (u8)(rar_low >> (i * 8)); in igc_read_mac_addr() 146 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in igc_read_mac_addr() 149 hw->mac.addr[i] = hw->mac.perm_addr[i]; in igc_read_mac_addr()
|
/linux-6.1.9/drivers/net/wireless/ath/ath9k/ |
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()
|
D | link.c | 249 memcpy(hdr->addr1, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate() 250 memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate() 251 memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate()
|
/linux-6.1.9/net/wireless/ |
D | sysfs.c | 37 SHOW_FMT(macaddress, "%pM", wiphy.perm_addr); 59 return sprintf(buf, "%pM\n", wiphy->perm_addr); in addresses_show()
|
/linux-6.1.9/drivers/net/wireless/st/cw1200/ |
D | main.c | 336 if (hw->wiphy->perm_addr[3] == 0 && in cw1200_init_common() 337 hw->wiphy->perm_addr[4] == 0 && in cw1200_init_common() 338 hw->wiphy->perm_addr[5] == 0) { in cw1200_init_common() 339 get_random_bytes(&hw->wiphy->perm_addr[3], 3); in cw1200_init_common()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 528 hw->mac.perm_addr[i] = (u8)(rar_low >> (i * 8)); in e1000_read_mac_addr_generic() 531 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in e1000_read_mac_addr_generic() 534 hw->mac.addr[i] = hw->mac.perm_addr[i]; in e1000_read_mac_addr_generic()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
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() 471 if (ether_addr_equal(addr, hw->mac.perm_addr)) in ixgbevf_hv_set_rar_vf()
|
D | vf.h | 63 u8 perm_addr[6]; member
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_nl.c | 195 static void ice_dcbnl_get_perm_hw_addr(struct net_device *netdev, u8 *perm_addr) in ice_dcbnl_get_perm_hw_addr() argument 201 memset(perm_addr, 0xff, MAX_ADDR_LEN); in ice_dcbnl_get_perm_hw_addr() 204 perm_addr[i] = pi->mac.perm_addr[i]; in ice_dcbnl_get_perm_hw_addr() 207 perm_addr[i] = pi->mac.perm_addr[j]; in ice_dcbnl_get_perm_hw_addr()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb_nl.c | 827 u8 *perm_addr) in i40e_dcbnl_get_perm_hw_addr() argument 832 memset(perm_addr, 0xff, MAX_ADDR_LEN); in i40e_dcbnl_get_perm_hw_addr() 835 perm_addr[i] = pf->hw.mac.perm_addr[i]; in i40e_dcbnl_get_perm_hw_addr() 838 perm_addr[i] = pf->hw.mac.san_addr[j]; in i40e_dcbnl_get_perm_hw_addr()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
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() 158 perm_addr[i] = adapter->hw.mac.san_addr[j]; in ixgbe_dcbnl_get_perm_hw_addr()
|
/linux-6.1.9/net/mac80211/ |
D | iface.c | 1303 eth_hw_addr_set(dev, local->hw.wiphy->perm_addr); in ieee80211_do_open() 1304 memcpy(dev->perm_addr, dev->dev_addr, ETH_ALEN); in ieee80211_do_open() 1960 u8 *perm_addr, enum nl80211_iftype type) in ieee80211_assign_perm_addr() argument 1969 memcpy(perm_addr, local->hw.wiphy->perm_addr, ETH_ALEN); in ieee80211_assign_perm_addr() 1986 memcpy(perm_addr, sdata->vif.addr, ETH_ALEN); in ieee80211_assign_perm_addr() 1999 memcpy(perm_addr, sdata->vif.addr, ETH_ALEN); in ieee80211_assign_perm_addr() 2018 memcpy(perm_addr, in ieee80211_assign_perm_addr() 2044 m = local->hw.wiphy->perm_addr; in ieee80211_assign_perm_addr() 2078 memcpy(perm_addr, tmp_addr, ETH_ALEN); in ieee80211_assign_perm_addr() 2172 ieee80211_assign_perm_addr(local, ndev->perm_addr, type); in ieee80211_if_add() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/ |
D | vf.c | 136 memcpy(hw->mac.perm_addr, addr, ETH_ALEN); in e1000_reset_hw_vf() 321 memcpy(hw->mac.addr, hw->mac.perm_addr, ETH_ALEN); in e1000_read_mac_addr_vf()
|
D | vf.h | 173 u8 perm_addr[6]; member
|
/linux-6.1.9/drivers/net/wireless/intersil/p54/ |
D | eeprom.c | 914 if (!is_valid_ether_addr(dev->wiphy->perm_addr)) { in p54_parse_eeprom() 915 u8 perm_addr[ETH_ALEN]; in p54_parse_eeprom() local 919 eth_random_addr(perm_addr); in p54_parse_eeprom() 920 SET_IEEE80211_PERM_ADDR(dev, perm_addr); in p54_parse_eeprom() 926 dev->wiphy->perm_addr, priv->version, in p54_parse_eeprom()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 606 hw->mac.perm_addr[i] = (u8)(rar_low >> (i*8)); in igb_read_mac_addr() 609 hw->mac.perm_addr[i+4] = (u8)(rar_high >> (i*8)); in igb_read_mac_addr() 612 hw->mac.addr[i] = hw->mac.perm_addr[i]; in igb_read_mac_addr()
|
/linux-6.1.9/drivers/net/ |
D | ntb_netdev.c | 430 eth_random_addr(ndev->perm_addr); in ntb_netdev_probe() 431 dev_addr_set(ndev, ndev->perm_addr); in ntb_netdev_probe()
|
/linux-6.1.9/drivers/net/wireless/purelifi/plfxlc/ |
D | mac.h | 167 return mac->hw->wiphy->perm_addr; in plfxlc_mac_get_perm_addr()
|
/linux-6.1.9/drivers/net/wireless/admtek/ |
D | adm8211.c | 1784 u8 perm_addr[ETH_ALEN]; in adm8211_probe() local 1865 *(__le32 *)perm_addr = cpu_to_le32(ADM8211_CSR_READ(PAR0)); in adm8211_probe() 1866 *(__le16 *)&perm_addr[4] = in adm8211_probe() 1869 if (!is_valid_ether_addr(perm_addr)) { in adm8211_probe() 1872 eth_random_addr(perm_addr); in adm8211_probe() 1874 SET_IEEE80211_PERM_ADDR(dev, perm_addr); in adm8211_probe() 1922 dev->wiphy->perm_addr, pdev->revision); in adm8211_probe()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/ |
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-6.1.9/drivers/net/wireless/ath/wil6210/ |
D | main.c | 1358 ether_addr_copy(ndev->perm_addr, mac); in wil_get_bl_info() 1359 ether_addr_copy(wiphy->perm_addr, mac); in wil_get_bl_info() 1431 ether_addr_copy(ndev->perm_addr, mac); in wil_get_otp_info() 1432 ether_addr_copy(wiphy->perm_addr, mac); in wil_get_otp_info() 1611 ether_addr_copy(ndev->perm_addr, mac); in wil_reset() 1612 eth_hw_addr_set(ndev, ndev->perm_addr); in wil_reset()
|