Home
last modified time | relevance | path

Searched refs:hwaddr (Results 1 – 25 of 74) sorted by relevance

123

/Linux-v4.19/arch/arm/mach-ixp4xx/
Dfsg-setup.c241 fsg_plat_eth[0].hwaddr[i] = readb(f + 0x3C0422 + i); in fsg_init()
242 fsg_plat_eth[1].hwaddr[i] = readb(f + 0x3C043B + i); in fsg_init()
252 fsg_plat_eth[0].hwaddr[0] = readb(f + 0x3C0421); in fsg_init()
253 fsg_plat_eth[0].hwaddr[1] = readb(f + 0x3C0420); in fsg_init()
254 fsg_plat_eth[0].hwaddr[2] = readb(f + 0x3C0427); in fsg_init()
255 fsg_plat_eth[0].hwaddr[3] = readb(f + 0x3C0426); in fsg_init()
256 fsg_plat_eth[0].hwaddr[4] = readb(f + 0x3C0425); in fsg_init()
257 fsg_plat_eth[0].hwaddr[5] = readb(f + 0x3C0424); in fsg_init()
259 fsg_plat_eth[1].hwaddr[0] = readb(f + 0x3C0439); in fsg_init()
260 fsg_plat_eth[1].hwaddr[1] = readb(f + 0x3C043F); in fsg_init()
[all …]
Dnas100d-setup.c320 nas100d_plat_eth[0].hwaddr[i] = readb(f + 0xFC0FD8 + i); in nas100d_init()
322 nas100d_plat_eth[0].hwaddr[i] = readb(f + 0xFC0FD8 + (i^3)); in nas100d_init()
327 nas100d_plat_eth[0].hwaddr); in nas100d_init()
Dnslu2-setup.c297 nslu2_plat_eth[0].hwaddr[i] = readb(f + 0x3FFB0 + i); in nslu2_init()
299 nslu2_plat_eth[0].hwaddr[i] = readb(f + 0x3FFB0 + (i^3)); in nslu2_init()
304 nslu2_plat_eth[0].hwaddr); in nslu2_init()
/Linux-v4.19/drivers/staging/mt7621-eth/
Dsoc_mt7621.c104 static void mt7621_set_mac(struct mtk_mac *mac, unsigned char *hwaddr) in mt7621_set_mac() argument
110 mtk_w32(mac->hw, (hwaddr[0] << 8) | hwaddr[1], in mt7621_set_mac()
112 mtk_w32(mac->hw, (hwaddr[2] << 24) | (hwaddr[3] << 16) | in mt7621_set_mac()
113 (hwaddr[4] << 8) | hwaddr[5], in mt7621_set_mac()
117 mtk_w32(mac->hw, (hwaddr[0] << 8) | hwaddr[1], in mt7621_set_mac()
119 mtk_w32(mac->hw, (hwaddr[2] << 24) | (hwaddr[3] << 16) | in mt7621_set_mac()
120 (hwaddr[4] << 8) | hwaddr[5], in mt7621_set_mac()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c189 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument
222 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo()
224 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo()
258 hwaddr[0], in rtw_alloc_stainfo()
259 hwaddr[1], in rtw_alloc_stainfo()
260 hwaddr[2], in rtw_alloc_stainfo()
261 hwaddr[3], in rtw_alloc_stainfo()
262 hwaddr[4], in rtw_alloc_stainfo()
263 hwaddr[5] in rtw_alloc_stainfo()
387 psta->hwaddr[0], in rtw_free_stainfo()
[all …]
Drtw_ap.c200 , MAC_ARG(psta->hwaddr) in chk_sta_is_alive()
255 psta->hwaddr[0], in expire_timeout_chk()
256 psta->hwaddr[1], in expire_timeout_chk()
257 psta->hwaddr[2], in expire_timeout_chk()
258 psta->hwaddr[3], in expire_timeout_chk()
259 psta->hwaddr[4], in expire_timeout_chk()
260 psta->hwaddr[5] in expire_timeout_chk()
346 MAC_ARG(psta->hwaddr), in expire_timeout_chk()
362 MAC_ARG(psta->hwaddr), in expire_timeout_chk()
393 ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); in expire_timeout_chk()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c166 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument
187 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo()
188 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo()
212 pstapriv->asoc_sta_count, hwaddr)); in rtw_alloc_stainfo()
288 pstapriv->asoc_sta_count, psta->hwaddr[0], psta->hwaddr[1], in rtw_free_stainfo()
289 psta->hwaddr[2], psta->hwaddr[3], psta->hwaddr[4], in rtw_free_stainfo()
290 psta->hwaddr[5])); in rtw_free_stainfo()
406 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() argument
414 if (!hwaddr) in rtw_get_stainfo()
417 if (is_multicast_ether_addr(hwaddr)) in rtw_get_stainfo()
[all …]
Drtw_ap.c192 psta->hwaddr); in expire_timeout_chk()
267 DBG_88E("asoc expire %pM, state = 0x%x\n", (psta->hwaddr), psta->state); in expire_timeout_chk()
274 (psta->hwaddr), psta->sleepq_len, in expire_timeout_chk()
300 ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); in expire_timeout_chk()
302 ret = issue_nulldata(padapter, psta->hwaddr, 0, 3, 50); in expire_timeout_chk()
306 DBG_88E("asoc check, sta(%pM) is alive\n", (psta->hwaddr)); in expire_timeout_chk()
318 DBG_88E("asoc expire %pM, state = 0x%x\n", (psta->hwaddr), psta->state); in expire_timeout_chk()
555 send_delba(padapter, 0, psta->hwaddr);/* recipient */ in update_sta_info_apmode()
558 send_delba(padapter, 1, psta->hwaddr);/* originator */ in update_sta_info_apmode()
1438 (psta->hwaddr), ht_capab); in bss_cap_update_on_sta_join()
[all …]
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c102 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo() argument
120 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in r8712_alloc_stainfo()
121 index = wifi_mac_hash(hwaddr); in r8712_alloc_stainfo()
231 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_get_stainfo() argument
238 if (hwaddr == NULL) in r8712_get_stainfo()
240 index = wifi_mac_hash(hwaddr); in r8712_get_stainfo()
246 if ((!memcmp(psta->hwaddr, hwaddr, ETH_ALEN))) { in r8712_get_stainfo()
Dsta_info.h68 u8 hwaddr[ETH_ALEN]; member
137 u8 *hwaddr);
140 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
/Linux-v4.19/drivers/bus/
Dsunxi-rsb.c117 u16 hwaddr; member
199 struct device_node *node, u16 hwaddr, u8 rtaddr) in sunxi_rsb_device_create() argument
209 rdev->hwaddr = hwaddr; in sunxi_rsb_device_create()
216 dev_set_name(&rdev->dev, "%s-%x", RSB_CTRL_NAME, hwaddr); in sunxi_rsb_device_create()
536 static u8 sunxi_rsb_get_rtaddr(u16 hwaddr) in sunxi_rsb_get_rtaddr() argument
541 if (hwaddr == sunxi_rsb_addr_maps[i].hwaddr) in sunxi_rsb_get_rtaddr()
551 u32 hwaddr; in of_rsb_register_devices() local
563 ret = of_property_read_u32(child, "reg", &hwaddr); in of_rsb_register_devices()
570 rtaddr = sunxi_rsb_get_rtaddr(hwaddr); in of_rsb_register_devices()
584 writel(RSB_DAR_RTA(rtaddr) | RSB_DAR_DA(hwaddr), in of_rsb_register_devices()
[all …]
/Linux-v4.19/drivers/net/ethernet/amd/
Dsun3lance.c129 unsigned char hwaddr[6]; /* Physical ethernet address */ member
383 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_probe()
384 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_probe()
385 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_probe()
386 MEM->init.hwaddr[3] = dev->dev_addr[2]; in lance_probe()
387 MEM->init.hwaddr[4] = dev->dev_addr[5]; in lance_probe()
388 MEM->init.hwaddr[5] = dev->dev_addr[4]; in lance_probe()
483 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_init_ring()
484 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_init_ring()
485 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_init_ring()
[all …]
/Linux-v4.19/net/mac802154/
Dllsec.c110 sec->params.hwaddr = params->hwaddr; in mac802154_llsec_set_params()
307 static u64 llsec_dev_hash_long(__le64 hwaddr) in llsec_dev_hash_long() argument
309 return (__force u64)hwaddr; in llsec_dev_hash_long()
329 llsec_dev_find_long(struct mac802154_llsec *sec, __le64 hwaddr) in llsec_dev_find_long() argument
332 u64 key = llsec_dev_hash_long(hwaddr); in llsec_dev_find_long()
335 if (dev->dev.hwaddr == hwaddr) in llsec_dev_find_long()
363 u64 hwkey = llsec_dev_hash_long(dev->hwaddr); in mac802154_llsec_dev_add()
369 llsec_dev_find_long(sec, dev->hwaddr)) in mac802154_llsec_dev_add()
629 llsec_geniv(iv, sec->params.hwaddr, &hdr->sec); in llsec_do_encrypt_unauth()
667 llsec_geniv(iv, sec->params.hwaddr, &hdr->sec); in llsec_do_encrypt_auth()
[all …]
Dmac_cmd.c53 params.hwaddr = ieee802154_devaddr_from_raw(dev->dev_addr); in mac802154_mlme_start_req()
56 params.coord_hwaddr = params.hwaddr; in mac802154_mlme_start_req()
/Linux-v4.19/arch/xtensa/platforms/xtfpga/
Dsetup.c190 .hwaddr = { 0x00, 0x50, 0xc2, 0x13, 0x6f, 0 },
281 ethoc_pdata.hwaddr[5] = *(u32 *)DIP_SWITCHES_VADDR; in xtavnet_init()
295 pr_info("XTFPGA: Ethernet MAC %pM\n", ethoc_pdata.hwaddr); in xtavnet_init()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c169 if (!memcmp(psta->hwaddr, &skb->data[6], 6) || in rtw_mlcst2unicst()
170 !memcmp(psta->hwaddr, null_addr, 6) || in rtw_mlcst2unicst()
171 !memcmp(psta->hwaddr, bc_addr, 6)) { in rtw_mlcst2unicst()
181 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst()
/Linux-v4.19/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c76 dma_addr_t hwaddr; member
404 etr_table->hwaddr, true); in tmc_etr_sg_table_dump()
544 etr_table->hwaddr = sg_table->table_daddr; in tmc_init_etr_sg_table()
579 etr_buf->hwaddr = flat_buf->daddr; in tmc_etr_alloc_flat_buf()
601 etr_buf->offset = rrp - etr_buf->hwaddr; in tmc_etr_sync_flat_buf()
642 etr_buf->hwaddr = etr_table->hwaddr; in tmc_etr_alloc_sg_buf()
934 tmc_write_dba(drvdata, etr_buf->hwaddr); in tmc_etr_enable_hw()
941 tmc_write_rrp(drvdata, etr_buf->hwaddr); in tmc_etr_enable_hw()
942 tmc_write_rwp(drvdata, etr_buf->hwaddr); in tmc_etr_enable_hw()
/Linux-v4.19/include/net/
Dethoc.h17 u8 hwaddr[IFHWADDRLEN]; member
Daf_ieee802154.h39 u8 hwaddr[IEEE802154_ADDR_LEN]; member
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dsta_info.h84 u8 hwaddr[ETH_ALEN]; member
351 struct sta_info *rtw_alloc_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
354 struct sta_info *rtw_get_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dsta_info.h87 u8 hwaddr[ETH_ALEN]; member
376 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
379 extern struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dmlme_linux.c146 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_assoc_event()
169 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_disassoc_event()
Dxmit_linux.c130 if (!memcmp(psta->hwaddr, &skb->data[6], 6)) in rtw_mlcst2unicst()
136 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst()
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_main.c707 memcpy(phdr->hwaddr, daddr, INFINIBAND_ALEN); in push_pseudo_header()
1052 path = __path_find(dev, phdr->hwaddr + 4); in unicast_arp_send()
1055 path = path_rec_create(dev, phdr->hwaddr + 4); in unicast_arp_send()
1064 init_path_rec(priv, path, phdr->hwaddr + 4); in unicast_arp_send()
1071 push_pseudo_header(skb, phdr->hwaddr); in unicast_arp_send()
1083 IPOIB_QPN(phdr->hwaddr)); in unicast_arp_send()
1106 if (unlikely(phdr->hwaddr[4] == 0xff)) { in ipoib_start_xmit()
1119 phdr->hwaddr[8] = (priv->pkey >> 8) & 0xff; in ipoib_start_xmit()
1120 phdr->hwaddr[9] = priv->pkey & 0xff; in ipoib_start_xmit()
1122 neigh = ipoib_neigh_get(dev, phdr->hwaddr); in ipoib_start_xmit()
[all …]
/Linux-v4.19/net/appletalk/
Daarp.c71 char hwaddr[ETH_ALEN]; member
549 struct atalk_addr *sa, void *hwaddr) in aarp_send_ddp() argument
623 ddp_dl->request(ddp_dl, skb, a->hwaddr); in aarp_send_ddp()
709 ddp_dl->request(ddp_dl, skb, a->hwaddr); in __aarp_resolved()
794 ether_addr_copy(a->hwaddr, ea->hw_src); in aarp_rcv()
1013 seq_printf(seq, "%pM", entry->hwaddr); in aarp_seq_show()

123