/drivers/net/wireless/mediatek/mt76/ |
D | eeprom.c | 87 ether_addr_copy(dev->macaddr, mac); in mt76_eeprom_override() 90 if (!is_valid_ether_addr(dev->macaddr)) { in mt76_eeprom_override() 91 eth_random_addr(dev->macaddr); in mt76_eeprom_override() 94 dev->macaddr); in mt76_eeprom_override()
|
D | mt76x02_mac.c | 141 memcpy(addr.macaddr, mac, ETH_ALEN); in mt76x02_mac_wcid_setup() 670 ether_addr_copy(dev->mt76.macaddr, addr); in mt76x02_mac_setaddr() 672 if (!is_valid_ether_addr(dev->mt76.macaddr)) { in mt76x02_mac_setaddr() 673 eth_random_addr(dev->mt76.macaddr); in mt76x02_mac_setaddr() 676 dev->mt76.macaddr); in mt76x02_mac_setaddr() 679 mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->mt76.macaddr)); in mt76x02_mac_setaddr() 681 get_unaligned_le16(dev->mt76.macaddr + 4) | in mt76x02_mac_setaddr() 685 get_unaligned_le32(dev->mt76.macaddr)); in mt76x02_mac_setaddr() 687 get_unaligned_le16(dev->mt76.macaddr + 4) | in mt76x02_mac_setaddr()
|
D | mt76x02_util.c | 313 (((vif->addr[0] ^ dev->mt76.macaddr[0]) & ~GENMASK(4, 1)) || in mt76x02_add_interface() 314 memcmp(vif->addr + 1, dev->mt76.macaddr + 1, ETH_ALEN - 1))) in mt76x02_add_interface() 318 idx = 1 + (((dev->mt76.macaddr[0] ^ vif->addr[0]) >> 2) & 7); in mt76x02_add_interface() 682 memcpy(addr, dev->mt76.macaddr, ETH_ALEN); in mt76x02_config_mac_addr_list()
|
/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 626 struct p80211item_pstr6 *macaddr; in p80211knetdev_set_mac_address() local 636 macaddr = (struct p80211item_pstr6 *)&mibattr->data; in p80211knetdev_set_mac_address() 652 macaddr->did = DIDMIB_DOT11MAC_OPERATIONTABLE_MACADDRESS; in p80211knetdev_set_mac_address() 653 macaddr->status = P80211ENUM_msgitem_status_data_ok; in p80211knetdev_set_mac_address() 654 macaddr->len = sizeof(macaddr->data); in p80211knetdev_set_mac_address() 655 macaddr->data.len = ETH_ALEN; in p80211knetdev_set_mac_address() 656 memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); in p80211knetdev_set_mac_address()
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_event.h | 55 unsigned char macaddr[6]; member 61 unsigned char macaddr[6]; member
|
/drivers/net/wireless/st/cw1200/ |
D | main.c | 46 module_param_array_named(macaddr, cw1200_mac_template, byte, NULL, 0444); 47 MODULE_PARM_DESC(macaddr, "Override platform_data MAC address"); 252 static struct ieee80211_hw *cw1200_init_common(const u8 *macaddr, in cw1200_init_common() argument 330 if (macaddr) in cw1200_init_common() 331 SET_IEEE80211_PERM_ADDR(hw, (u8 *)macaddr); in cw1200_init_common() 517 int ref_clk, const u8 *macaddr, in cw1200_core_probe() argument 528 dev = cw1200_init_common(macaddr, have_5ghz); in cw1200_core_probe()
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_event.h | 51 unsigned char macaddr[6]; member 58 unsigned char macaddr[6]; member
|
/drivers/staging/rtl8712/ |
D | rtl871x_event.h | 55 unsigned char macaddr[6]; member 61 unsigned char macaddr[6]; member
|
/drivers/staging/unisys/include/ |
D | iochannel.h | 423 u8 macaddr[MAX_MACADDR_LEN]; member 448 struct net_pkt_macaddr macaddr; member 535 u8 macaddr[6]; member
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.c | 660 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) in vxge_search_mac_addr_in_list() 685 mac_address = (u8 *)&new_mac_entry->macaddr; in vxge_mac_list_add() 686 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_add() 691 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_add() 705 if (is_multicast_ether_addr(mac->macaddr)) in vxge_add_mac_addr() 711 status = vxge_hw_vpath_mac_addr_add(vpath->handle, mac->macaddr, in vxge_add_mac_addr() 744 memcpy(mac_info.macaddr, mac_header, ETH_ALEN); in vxge_learn_mac() 1073 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_del() 1076 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) { in vxge_mac_list_del() 1081 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_del() [all …]
|
D | vxge-main.h | 161 unsigned char macaddr[ETH_ALEN]; member 218 u64 macaddr; member 311 u8 macaddr[ETH_ALEN]; member
|
D | vxge-traffic.c | 1719 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_add() 1735 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_add() 1782 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_get() 1808 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get() 1834 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_get_next() 1860 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get_next() 1887 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_delete() 1902 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_delete()
|
/drivers/staging/uwb/ |
D | uwb-debug.c | 73 struct uwb_mac_addr macaddr; in cmd_rsv_establish() local 78 memcpy(&macaddr, cmd->target, sizeof(macaddr)); in cmd_rsv_establish() 79 target = uwb_dev_get_by_macaddr(rc, &macaddr); in cmd_rsv_establish()
|
/drivers/net/wireless/ath/ |
D | hw.c | 123 REG_WRITE(ah, AR_STA_ID0, get_unaligned_le32(common->macaddr)); in ath_hw_setbssidmask() 125 id1 |= get_unaligned_le16(common->macaddr + 4); in ath_hw_setbssidmask()
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | mac.c | 13 ether_addr_copy(dev->macaddr, addr); in mt7601u_set_macaddr() 15 if (!is_valid_ether_addr(dev->macaddr)) { in mt7601u_set_macaddr() 16 eth_random_addr(dev->macaddr); in mt7601u_set_macaddr() 19 dev->macaddr); in mt7601u_set_macaddr() 22 mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->macaddr)); in mt7601u_set_macaddr() 23 mt76_wr(dev, MT_MAC_ADDR_DW1, get_unaligned_le16(dev->macaddr + 4) | in mt7601u_set_macaddr()
|
/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | pci_init.c | 71 const u8 *macaddr = dev->mt76.macaddr; in mt76x2_mac_reset() local 111 mt76x02_mac_setaddr(dev, macaddr); in mt76x2_mac_reset()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e.h | 666 static inline u64 i40e_addr_to_hkey(const u8 *macaddr) in i40e_addr_to_hkey() argument 670 ether_addr_copy((u8 *)&key, macaddr); in i40e_addr_to_hkey() 684 u8 macaddr[ETH_ALEN]; member 1039 const u8 *macaddr, s16 vlan); 1041 void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan); 1118 const u8 *macaddr); 1119 int i40e_del_mac_filter(struct i40e_vsi *vsi, const u8 *macaddr); 1121 struct i40e_mac_filter *i40e_find_mac(struct i40e_vsi *vsi, const u8 *macaddr);
|
/drivers/net/ethernet/intel/ice/ |
D | ice_lib.h | 24 const u8 *macaddr); 126 ice_vsi_cfg_mac_fltr(struct ice_vsi *vsi, const u8 *macaddr, bool set);
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | mac.c | 200 u8 *macaddr = p_macaddr; in rtl92c_set_key() local 248 macaddr = cam_const_addr[key_index]; in rtl92c_set_key() 252 macaddr = cam_const_broad; in rtl92c_set_key() 297 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key() 315 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_dtsec.c | 215 } macaddr[15]; /* 0x148-0x1BC mac exact match addresses 1-15 */ member 370 phy_interface_t iface, u16 iface_speed, u8 *macaddr, in init() argument 504 tmp = (u32)((macaddr[5] << 24) | in init() 505 (macaddr[4] << 16) | (macaddr[3] << 8) | macaddr[2]); in init() 508 tmp = (u32)((macaddr[1] << 24) | (macaddr[0] << 16)); in init()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 889 if (l2_lookup[i].macaddr == requested->macaddr && in sja1105_find_static_fdb_entry() 980 if (l2_lookup.macaddr == ether_addr_to_u64(addr) && in sja1105et_is_fdb_entry_in_bin() 1018 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105et_fdb_add() 1094 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_add() 1157 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_del() 1233 u8 macaddr[ETH_ALEN]; in sja1105_fdb_dump() local 1254 u64_to_ether_addr(l2_lookup.macaddr, macaddr); in sja1105_fdb_dump() 1259 cb(macaddr, l2_lookup.vlanid, l2_lookup.lockeds, data); in sja1105_fdb_dump() 1768 mgmt_route.macaddr = ether_addr_to_u64(hdr->h_dest); in sja1105_mgmt_xmit()
|
D | sja1105_dynamic_config.h | 31 u64 macaddr; member
|
/drivers/net/ethernet/aeroflex/ |
D | greth.c | 59 static int macaddr[6]; variable 60 module_param_array(macaddr, int, NULL, 0); 61 MODULE_PARM_DESC(macaddr, "GRETH Ethernet MAC address"); 1450 if (macaddr[i] != 0) in greth_of_probe() 1459 macaddr[i] = (unsigned int) addr[i]; in greth_of_probe() 1463 macaddr[i] = (unsigned int) idprom->id_ethaddr[i]; in greth_of_probe() 1469 dev->dev_addr[i] = macaddr[i]; in greth_of_probe() 1471 macaddr[5]++; in greth_of_probe()
|
/drivers/net/wireless/ath/ath5k/ |
D | pcu.c | 377 memcpy(common->macaddr, mac, ETH_ALEN); in ath5k_hw_set_lladdr() 930 low_id = get_unaligned_le32(common->macaddr); in ath5k_hw_set_opmode() 931 high_id = get_unaligned_le16(common->macaddr + 4); in ath5k_hw_set_opmode()
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea.h | 394 u64 macaddr; member 413 u64 macaddr; member
|