Home
last modified time | relevance | path

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

123

/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c30 u8 *perm_addr = hw->mac.perm_addr; in fm10k_stop_hw_vf() local
41 if (is_valid_ether_addr(perm_addr)) { in fm10k_stop_hw_vf()
42 bal = (((u32)perm_addr[3]) << 24) | in fm10k_stop_hw_vf()
43 (((u32)perm_addr[4]) << 16) | in fm10k_stop_hw_vf()
44 (((u32)perm_addr[5]) << 8); in fm10k_stop_hw_vf()
46 (((u32)perm_addr[0]) << 16) | in fm10k_stop_hw_vf()
47 (((u32)perm_addr[1]) << 8) | in fm10k_stop_hw_vf()
48 ((u32)perm_addr[2]); in fm10k_stop_hw_vf()
199 u8 perm_addr[ETH_ALEN]; in fm10k_msg_mac_vlan_vf() local
206 perm_addr, &vid); in fm10k_msg_mac_vlan_vf()
[all …]
Dfm10k_pf.c268 u8 perm_addr[ETH_ALEN]; in fm10k_read_mac_addr_pf() local
278 perm_addr[0] = (u8)(serial_num >> 24); in fm10k_read_mac_addr_pf()
279 perm_addr[1] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf()
280 perm_addr[2] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf()
288 perm_addr[3] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf()
289 perm_addr[4] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf()
290 perm_addr[5] = (u8)(serial_num); in fm10k_read_mac_addr_pf()
293 hw->mac.perm_addr[i] = perm_addr[i]; in fm10k_read_mac_addr_pf()
294 hw->mac.addr[i] = perm_addr[i]; in fm10k_read_mac_addr_pf()
Dfm10k_netdev.c1007 if (is_valid_ether_addr(hw->mac.perm_addr)) { in fm10k_restore_rx_state()
1008 ether_addr_copy(hw->mac.addr, hw->mac.perm_addr); in fm10k_restore_rx_state()
1009 ether_addr_copy(netdev->perm_addr, hw->mac.perm_addr); in fm10k_restore_rx_state()
1010 ether_addr_copy(netdev->dev_addr, hw->mac.perm_addr); in fm10k_restore_rx_state()
Dfm10k_pci.c1059 if (is_valid_ether_addr(hw->mac.perm_addr) && in fm10k_mbx_mac_addr()
1060 memcmp(hw->mac.perm_addr, hw->mac.addr, ETH_ALEN)) in fm10k_mbx_mac_addr()
1633 memcpy(netdev->perm_addr, hw->mac.addr, netdev->addr_len); in fm10k_sw_init()
1635 if (!is_valid_ether_addr(netdev->perm_addr)) { in fm10k_sw_init()
/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c139 u8 *perm_addr) in i40e_dcbnl_get_perm_hw_addr() argument
144 memset(perm_addr, 0xff, MAX_ADDR_LEN); in i40e_dcbnl_get_perm_hw_addr()
147 perm_addr[i] = pf->hw.mac.perm_addr[i]; in i40e_dcbnl_get_perm_hw_addr()
150 perm_addr[i] = pf->hw.mac.san_addr[j]; in i40e_dcbnl_get_perm_hw_addr()
/drivers/net/wireless/ath/ath9k/
Dtx99.c76 memcpy(hdr->addr1, hw->wiphy->perm_addr, ETH_ALEN); in ath9k_build_tx99_skb()
77 memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN); in ath9k_build_tx99_skb()
78 memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN); in ath9k_build_tx99_skb()
Dlink.c245 memcpy(hdr->addr1, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate()
246 memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate()
247 memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate()
/drivers/net/wireless/cw1200/
Dmain.c340 if (hw->wiphy->perm_addr[3] == 0 && in cw1200_init_common()
341 hw->wiphy->perm_addr[4] == 0 && in cw1200_init_common()
342 hw->wiphy->perm_addr[5] == 0) { in cw1200_init_common()
343 get_random_bytes(&hw->wiphy->perm_addr[3], 3); in cw1200_init_common()
/drivers/net/ethernet/intel/e1000e/
Dnvm.c546 hw->mac.perm_addr[i] = (u8)(rar_low >> (i * 8)); in e1000_read_mac_addr_generic()
549 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in e1000_read_mac_addr_generic()
552 hw->mac.addr[i] = hw->mac.perm_addr[i]; in e1000_read_mac_addr_generic()
Dptp.c222 adapter->netdev->perm_addr); in e1000e_ptp_init()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c170 u8 *perm_addr) in ixgbe_dcbnl_get_perm_hw_addr() argument
175 memset(perm_addr, 0xff, MAX_ADDR_LEN); in ixgbe_dcbnl_get_perm_hw_addr()
178 perm_addr[i] = adapter->hw.mac.perm_addr[i]; in ixgbe_dcbnl_get_perm_hw_addr()
184 perm_addr[i] = adapter->hw.mac.san_addr[j]; in ixgbe_dcbnl_get_perm_hw_addr()
/drivers/net/ethernet/intel/igbvf/
Dvf.c157 memcpy(hw->mac.perm_addr, addr, ETH_ALEN); 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.c915 if (!is_valid_ether_addr(dev->wiphy->perm_addr)) { in p54_parse_eeprom()
916 u8 perm_addr[ETH_ALEN]; in p54_parse_eeprom() local
920 eth_random_addr(perm_addr); in p54_parse_eeprom()
921 SET_IEEE80211_PERM_ADDR(dev, perm_addr); in p54_parse_eeprom()
927 dev->wiphy->perm_addr, priv->version, in p54_parse_eeprom()
/drivers/net/
Dntb_netdev.c346 random_ether_addr(ndev->perm_addr); in ntb_netdev_probe()
347 memcpy(ndev->dev_addr, ndev->perm_addr, ndev->addr_len); in ntb_netdev_probe()
/drivers/net/ethernet/intel/igb/
De1000_nvm.c625 hw->mac.perm_addr[i] = (u8)(rar_low >> (i*8)); in igb_read_mac_addr()
628 hw->mac.perm_addr[i+4] = (u8)(rar_high >> (i*8)); in igb_read_mac_addr()
631 hw->mac.addr[i] = hw->mac.perm_addr[i]; in igb_read_mac_addr()
/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.h83 u8 perm_addr[6]; member
/drivers/net/ethernet/atheros/alx/
Dmain.c1346 if (alx_get_perm_macaddr(hw, hw->perm_addr)) { in alx_probe()
1350 memcpy(hw->perm_addr, netdev->dev_addr, netdev->addr_len); in alx_probe()
1353 memcpy(hw->mac_addr, hw->perm_addr, ETH_ALEN); in alx_probe()
1355 memcpy(netdev->perm_addr, hw->perm_addr, ETH_ALEN); in alx_probe()
1408 alx_set_macaddr(hw, hw->perm_addr); in alx_remove()
Dhw.h468 u8 perm_addr[ETH_ALEN]; member
/drivers/net/wireless/
Dadm8211.c1773 u8 perm_addr[ETH_ALEN]; in adm8211_probe() local
1852 *(__le32 *)perm_addr = cpu_to_le32(ADM8211_CSR_READ(PAR0)); in adm8211_probe()
1853 *(__le16 *)&perm_addr[4] = in adm8211_probe()
1856 if (!is_valid_ether_addr(perm_addr)) { in adm8211_probe()
1859 eth_random_addr(perm_addr); in adm8211_probe()
1861 SET_IEEE80211_PERM_ADDR(dev, perm_addr); in adm8211_probe()
1907 dev->wiphy->perm_addr, pdev->revision); in adm8211_probe()
Dmwl8k.c2339 __u8 perm_addr[ETH_ALEN]; member
2455 memset(cmd->perm_addr, 0xff, sizeof(cmd->perm_addr)); in mwl8k_cmd_get_hw_spec_sta()
2467 SET_IEEE80211_PERM_ADDR(hw, cmd->perm_addr); in mwl8k_cmd_get_hw_spec_sta()
2489 __u8 perm_addr[ETH_ALEN]; member
2520 memset(cmd->perm_addr, 0xff, sizeof(cmd->perm_addr)); in mwl8k_cmd_get_hw_spec_ap()
2538 SET_IEEE80211_PERM_ADDR(hw, cmd->perm_addr); in mwl8k_cmd_get_hw_spec_ap()
2582 __u8 perm_addr[ETH_ALEN]; member
5960 priv->hw_rev, hw->wiphy->perm_addr, in mwl8k_probe_hw()
/drivers/net/wireless/zd1211rw/
Dzd_mac.h302 return mac->hw->wiphy->perm_addr; in zd_mac_get_perm_addr()
/drivers/net/ethernet/brocade/bna/
Dbnad.h346 mac_t perm_addr; member

123