/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_net.c | 32 static char *macaddr; variable 33 module_param(macaddr, charp, 0); 34 MODULE_PARM_DESC(macaddr, "Ethernet MAC address"); 188 if (macaddr) { in vdpasim_net_init() 189 mac_pton(macaddr, macaddr_buf); in vdpasim_net_init()
|
/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 570 struct p80211item_pstr6 *macaddr; in p80211knetdev_set_mac_address() local 580 macaddr = (struct p80211item_pstr6 *)&mibattr->data; in p80211knetdev_set_mac_address() 596 macaddr->did = DIDMIB_DOT11MAC_OPERATIONTABLE_MACADDRESS; in p80211knetdev_set_mac_address() 597 macaddr->status = P80211ENUM_msgitem_status_data_ok; in p80211knetdev_set_mac_address() 598 macaddr->len = sizeof(macaddr->data); in p80211knetdev_set_mac_address() 599 macaddr->data.len = ETH_ALEN; in p80211knetdev_set_mac_address() 600 memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); in p80211knetdev_set_mac_address()
|
/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() 519 int ref_clk, const u8 *macaddr, in cw1200_core_probe() argument 530 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/r8188eu/include/ |
D | rtw_event.h | 50 unsigned char macaddr[6]; member 56 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/net/ethernet/neterion/vxge/ |
D | vxge-main.c | 661 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) in vxge_search_mac_addr_in_list() 686 mac_address = (u8 *)&new_mac_entry->macaddr; in vxge_mac_list_add() 687 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_add() 692 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_add() 706 if (is_multicast_ether_addr(mac->macaddr)) in vxge_add_mac_addr() 712 status = vxge_hw_vpath_mac_addr_add(vpath->handle, mac->macaddr, in vxge_add_mac_addr() 745 memcpy(mac_info.macaddr, mac_header, ETH_ALEN); in vxge_learn_mac() 1074 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_del() 1077 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) { in vxge_mac_list_del() 1082 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 | 1704 u8 *macaddr, in vxge_hw_vpath_mac_addr_add() argument 1720 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_add() 1767 u8 *macaddr, in vxge_hw_vpath_mac_addr_get() argument 1793 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get() 1818 u8 *macaddr, in vxge_hw_vpath_mac_addr_get_next() argument 1844 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get_next() 1870 u8 *macaddr, in vxge_hw_vpath_mac_addr_delete() argument 1885 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_delete()
|
D | vxge-traffic.h | 2158 u8 *macaddr, 2165 u8 *macaddr, 2171 u8 *macaddr, 2177 u8 *macaddr,
|
/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/wireless/mediatek/mt76/ |
D | eeprom.c | 95 of_get_mac_address(np, phy->macaddr); in mt76_eeprom_override() 97 if (!is_valid_ether_addr(phy->macaddr)) { in mt76_eeprom_override() 98 eth_random_addr(phy->macaddr); in mt76_eeprom_override() 101 phy->macaddr); in mt76_eeprom_override()
|
D | testmode.c | 128 memcpy(hdr->addr1, phy->macaddr, sizeof(phy->macaddr)); in mt76_testmode_alloc_skb() 129 memcpy(hdr->addr2, phy->macaddr, sizeof(phy->macaddr)); in mt76_testmode_alloc_skb() 130 memcpy(hdr->addr3, phy->macaddr, sizeof(phy->macaddr)); in mt76_testmode_alloc_skb()
|
D | mt76x02_mac.c | 163 memcpy(addr.macaddr, mac, ETH_ALEN); in mt76x02_mac_wcid_setup() 734 ether_addr_copy(dev->mphy.macaddr, addr); in mt76x02_mac_setaddr() 736 if (!is_valid_ether_addr(dev->mphy.macaddr)) { in mt76x02_mac_setaddr() 737 eth_random_addr(dev->mphy.macaddr); in mt76x02_mac_setaddr() 740 dev->mphy.macaddr); in mt76x02_mac_setaddr() 743 mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->mphy.macaddr)); in mt76x02_mac_setaddr() 745 get_unaligned_le16(dev->mphy.macaddr + 4) | in mt76x02_mac_setaddr() 749 get_unaligned_le32(dev->mphy.macaddr)); in mt76x02_mac_setaddr() 751 get_unaligned_le16(dev->mphy.macaddr + 4) | in mt76x02_mac_setaddr()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_vl.c | 279 if (a->macaddr < b->macaddr) in sja1105_vl_key_lower() 281 if (a->macaddr > b->macaddr) in sja1105_vl_key_lower() 392 vl_lookup[k].macaddr = rule->key.vl.dmac; in sja1105_init_virtual_links() 729 vl_lookup[i].macaddr == key->vl.dmac && in sja1105_find_vlid() 735 vl_lookup[i].macaddr == key->vl.dmac) in sja1105_find_vlid()
|
D | sja1105_main.c | 357 l2_lookup[0].macaddr = SJA1105_UNKNOWN_MULTICAST; in sja1105_init_static_fdb() 1400 if (l2_lookup[i].macaddr == requested->macaddr && in sja1105_find_static_fdb_entry() 1491 if (l2_lookup.macaddr == ether_addr_to_u64(addr) && in sja1105et_is_fdb_entry_in_bin() 1530 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105et_fdb_add() 1573 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) in sja1105et_fdb_add() 1630 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_add() 1721 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_del() 1775 u8 macaddr[ETH_ALEN]; in sja1105_fdb_dump() local 1797 u64_to_ether_addr(l2_lookup.macaddr, macaddr); in sja1105_fdb_dump() 1802 if (is_multicast_ether_addr(macaddr)) in sja1105_fdb_dump() [all …]
|
D | sja1105_dynamic_config.h | 31 u64 macaddr; member
|
/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 | 72 const u8 *macaddr = dev->mphy.macaddr; in mt76x2_mac_reset() local 112 mt76x02_mac_setaddr(dev, macaddr); in mt76x2_mac_reset()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e.h | 765 static inline u64 i40e_addr_to_hkey(const u8 *macaddr) in i40e_addr_to_hkey() argument 769 ether_addr_copy((u8 *)&key, macaddr); in i40e_addr_to_hkey() 783 u8 macaddr[ETH_ALEN]; member 1154 const u8 *macaddr, s16 vlan); 1156 void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan); 1233 const u8 *macaddr); 1234 int i40e_del_mac_filter(struct i40e_vsi *vsi, const u8 *macaddr); 1237 struct i40e_mac_filter *i40e_find_mac(struct i40e_vsi *vsi, const u8 *macaddr);
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | mac.c | 199 u8 *macaddr = p_macaddr; in rtl92c_set_key() local 247 macaddr = cam_const_addr[key_index]; in rtl92c_set_key() 251 macaddr = cam_const_broad; in rtl92c_set_key() 296 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key() 314 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
|
/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"); 1449 if (macaddr[i] != 0) in greth_of_probe() 1458 macaddr[i] = (unsigned int) addr[i]; in greth_of_probe() 1462 macaddr[i] = (unsigned int) idprom->id_ethaddr[i]; in greth_of_probe() 1468 dev->dev_addr[i] = macaddr[i]; in greth_of_probe() 1470 macaddr[5]++; in greth_of_probe()
|
/drivers/net/wireless/ath/ath5k/ |
D | pcu.c | 378 memcpy(common->macaddr, mac, ETH_ALEN); in ath5k_hw_set_lladdr() 931 low_id = get_unaligned_le32(common->macaddr); in ath5k_hw_set_opmode() 932 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
|