Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/arch/arm/mach-ixp4xx/
Dfsg-setup.c263 fsg_plat_eth[0].hwaddr[i] = readb(f + 0x3C0422 + i); in fsg_init()
264 fsg_plat_eth[1].hwaddr[i] = readb(f + 0x3C043B + i); in fsg_init()
274 fsg_plat_eth[0].hwaddr[0] = readb(f + 0x3C0421); in fsg_init()
275 fsg_plat_eth[0].hwaddr[1] = readb(f + 0x3C0420); in fsg_init()
276 fsg_plat_eth[0].hwaddr[2] = readb(f + 0x3C0427); in fsg_init()
277 fsg_plat_eth[0].hwaddr[3] = readb(f + 0x3C0426); in fsg_init()
278 fsg_plat_eth[0].hwaddr[4] = readb(f + 0x3C0425); in fsg_init()
279 fsg_plat_eth[0].hwaddr[5] = readb(f + 0x3C0424); in fsg_init()
281 fsg_plat_eth[1].hwaddr[0] = readb(f + 0x3C0439); in fsg_init()
282 fsg_plat_eth[1].hwaddr[1] = readb(f + 0x3C043F); in fsg_init()
[all …]
Dnslu2-setup.c317 nslu2_plat_eth[0].hwaddr[i] = readb(f + 0x3FFB0 + i); in nslu2_init()
319 nslu2_plat_eth[0].hwaddr[i] = readb(f + 0x3FFB0 + (i^3)); in nslu2_init()
324 nslu2_plat_eth[0].hwaddr); in nslu2_init()
Dnas100d-setup.c329 nas100d_plat_eth[0].hwaddr[i] = readb(f + 0xFC0FD8 + i); in nas100d_init()
331 nas100d_plat_eth[0].hwaddr[i] = readb(f + 0xFC0FD8 + (i^3)); in nas100d_init()
336 nas100d_plat_eth[0].hwaddr); in nas100d_init()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c188 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument
217 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo()
219 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo()
253 hwaddr[0], in rtw_alloc_stainfo()
254 hwaddr[1], in rtw_alloc_stainfo()
255 hwaddr[2], in rtw_alloc_stainfo()
256 hwaddr[3], in rtw_alloc_stainfo()
257 hwaddr[4], in rtw_alloc_stainfo()
258 hwaddr[5] in rtw_alloc_stainfo()
382 psta->hwaddr[0], in rtw_free_stainfo()
[all …]
Drtw_ap.c186 , MAC_ARG(psta->hwaddr) in chk_sta_is_alive()
238 psta->hwaddr[0], in expire_timeout_chk()
239 psta->hwaddr[1], in expire_timeout_chk()
240 psta->hwaddr[2], in expire_timeout_chk()
241 psta->hwaddr[3], in expire_timeout_chk()
242 psta->hwaddr[4], in expire_timeout_chk()
243 psta->hwaddr[5] in expire_timeout_chk()
323 MAC_ARG(psta->hwaddr), in expire_timeout_chk()
337 MAC_ARG(psta->hwaddr), in expire_timeout_chk()
368 ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); in expire_timeout_chk()
[all …]
/kernel/linux/linux-5.10/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
189 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo()
190 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo()
219 pstapriv->asoc_sta_count, hwaddr)); in rtw_alloc_stainfo()
293 pstapriv->asoc_sta_count, psta->hwaddr[0], psta->hwaddr[1], in rtw_free_stainfo()
294 psta->hwaddr[2], psta->hwaddr[3], psta->hwaddr[4], in rtw_free_stainfo()
295 psta->hwaddr[5])); in rtw_free_stainfo()
413 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() argument
421 if (!hwaddr) in rtw_get_stainfo()
424 if (is_multicast_ether_addr(hwaddr)) in rtw_get_stainfo()
[all …]
Drtw_ap.c192 psta->hwaddr); in expire_timeout_chk()
268 (psta->hwaddr), psta->state); in expire_timeout_chk()
276 (psta->hwaddr), psta->sleepq_len, in expire_timeout_chk()
303 ret = issue_nulldata(padapter, psta->hwaddr, in expire_timeout_chk()
306 ret = issue_nulldata(padapter, psta->hwaddr, in expire_timeout_chk()
313 (psta->hwaddr)); in expire_timeout_chk()
326 psta->hwaddr, psta->state); in expire_timeout_chk()
551 send_delba(padapter, 0, psta->hwaddr);/* recipient */ in update_sta_info_apmode()
554 send_delba(padapter, 1, psta->hwaddr);/* originator */ in update_sta_info_apmode()
1448 (psta->hwaddr), ht_capab); in bss_cap_update_on_sta_join()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c89 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo() argument
107 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in r8712_alloc_stainfo()
108 index = wifi_mac_hash(hwaddr); in r8712_alloc_stainfo()
218 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_get_stainfo() argument
225 if (!hwaddr) in r8712_get_stainfo()
227 index = wifi_mac_hash(hwaddr); in r8712_get_stainfo()
233 if ((!memcmp(psta->hwaddr, hwaddr, ETH_ALEN))) { in r8712_get_stainfo()
Dsta_info.h56 u8 hwaddr[ETH_ALEN]; member
125 u8 *hwaddr);
128 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
/kernel/linux/linux-5.10/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()
551 static u8 sunxi_rsb_get_rtaddr(u16 hwaddr) in sunxi_rsb_get_rtaddr() argument
556 if (hwaddr == sunxi_rsb_addr_maps[i].hwaddr) in sunxi_rsb_get_rtaddr()
566 u32 hwaddr; in of_rsb_register_devices() local
578 ret = of_property_read_u32(child, "reg", &hwaddr); in of_rsb_register_devices()
585 rtaddr = sunxi_rsb_get_rtaddr(hwaddr); in of_rsb_register_devices()
599 writel(RSB_DAR_RTA(rtaddr) | RSB_DAR_DA(hwaddr), in of_rsb_register_devices()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Dsun3lance.c129 unsigned char hwaddr[6]; /* Physical ethernet address */ member
384 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_probe()
385 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_probe()
386 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_probe()
387 MEM->init.hwaddr[3] = dev->dev_addr[2]; in lance_probe()
388 MEM->init.hwaddr[4] = dev->dev_addr[5]; in lance_probe()
389 MEM->init.hwaddr[5] = dev->dev_addr[4]; in lance_probe()
484 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_init_ring()
485 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_init_ring()
486 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_init_ring()
[all …]
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dfixme.c327 if (memcpy_s(netif->hwaddr, NETIF_MAX_HWADDR_LEN, hw_addr, hw_len) != EOK) {
335 netif->hwaddr[0], netif->hwaddr[1], netif->hwaddr[2],
336 netif->hwaddr[3], netif->hwaddr[4], netif->hwaddr[5]));
/kernel/linux/linux-5.10/net/mac802154/
Dllsec.c102 sec->params.hwaddr = params->hwaddr; in mac802154_llsec_set_params()
299 static u64 llsec_dev_hash_long(__le64 hwaddr) in llsec_dev_hash_long() argument
301 return (__force u64)hwaddr; in llsec_dev_hash_long()
321 llsec_dev_find_long(struct mac802154_llsec *sec, __le64 hwaddr) in llsec_dev_find_long() argument
324 u64 key = llsec_dev_hash_long(hwaddr); in llsec_dev_find_long()
327 if (dev->dev.hwaddr == hwaddr) in llsec_dev_find_long()
355 u64 hwkey = llsec_dev_hash_long(dev->hwaddr); in mac802154_llsec_dev_add()
361 llsec_dev_find_long(sec, dev->hwaddr)) in mac802154_llsec_dev_add()
621 llsec_geniv(iv, sec->params.hwaddr, &hdr->sec); in llsec_do_encrypt_unauth()
659 llsec_geniv(iv, sec->params.hwaddr, &hdr->sec); in llsec_do_encrypt_auth()
[all …]
Dmac_cmd.c45 params.hwaddr = ieee802154_devaddr_from_raw(dev->dev_addr); in mac802154_mlme_start_req()
48 params.coord_hwaddr = params.hwaddr; in mac802154_mlme_start_req()
/kernel/linux/linux-5.10/arch/xtensa/platforms/xtfpga/
Dsetup.c176 .hwaddr = { 0x00, 0x50, 0xc2, 0x13, 0x6f, 0 },
267 ethoc_pdata.hwaddr[5] = *(u32 *)DIP_SWITCHES_VADDR; in xtavnet_init()
281 pr_info("XTFPGA: Ethernet MAC %pM\n", ethoc_pdata.hwaddr); in xtavnet_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/net/
Dethoc.h14 u8 hwaddr[IFHWADDRLEN]; member
Dieee802154_netdev.h32 IEEE802154_REQUIRED_SIZE(struct ieee802154_addr_sa, hwaddr))
222 a->extended_addr = ieee802154_devaddr_from_raw(sa->hwaddr); in ieee802154_addr_from_sa()
238 ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr); in ieee802154_addr_to_sa()
Daf_ieee802154.h31 u8 hwaddr[IEEE802154_ADDR_LEN]; member
/kernel/linux/linux-5.10/include/linux/platform_data/
Deth_ixp4xx.h16 u8 hwaddr[6]; member
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
Dmlme_linux.c145 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_assoc_event()
168 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_disassoc_event()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c108 dma_addr_t hwaddr; member
445 etr_table->hwaddr, true); in tmc_etr_sg_table_dump()
585 etr_table->hwaddr = sg_table->table_daddr; in tmc_init_etr_sg_table()
621 etr_buf->hwaddr = flat_buf->daddr; in tmc_etr_alloc_flat_buf()
646 etr_buf->offset = rrp - etr_buf->hwaddr; in tmc_etr_sync_flat_buf()
688 etr_buf->hwaddr = etr_table->hwaddr; in tmc_etr_alloc_sg_buf()
997 tmc_write_dba(drvdata, etr_buf->hwaddr); in __tmc_etr_enable_hw()
1004 tmc_write_rrp(drvdata, etr_buf->hwaddr); in __tmc_etr_enable_hw()
1005 tmc_write_rwp(drvdata, etr_buf->hwaddr); in __tmc_etr_enable_hw()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c688 u32 hwaddr, cmd; in ixgbe_mii_bus_read_generic() local
694 hwaddr = addr << IXGBE_MSCA_PHY_ADDR_SHIFT; in ixgbe_mii_bus_read_generic()
696 hwaddr |= regnum & GENMASK(21, 0); in ixgbe_mii_bus_read_generic()
697 cmd = hwaddr | IXGBE_MSCA_ADDR_CYCLE | IXGBE_MSCA_MDI_COMMAND; in ixgbe_mii_bus_read_generic()
699 hwaddr |= (regnum & GENMASK(5, 0)) << IXGBE_MSCA_DEV_TYPE_SHIFT; in ixgbe_mii_bus_read_generic()
700 cmd = hwaddr | IXGBE_MSCA_OLD_PROTOCOL | in ixgbe_mii_bus_read_generic()
714 cmd = hwaddr | IXGBE_MSCA_READ | IXGBE_MSCA_MDI_COMMAND; in ixgbe_mii_bus_read_generic()
739 u32 hwaddr, cmd; in ixgbe_mii_bus_write_generic() local
747 hwaddr = addr << IXGBE_MSCA_PHY_ADDR_SHIFT; in ixgbe_mii_bus_write_generic()
749 hwaddr |= regnum & GENMASK(21, 0); in ixgbe_mii_bus_write_generic()
[all …]

1234