Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.h54 u8 hwaddr[ETH_ALEN]; member
123 u8 *hwaddr);
126 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
/linux-6.6.21/drivers/bus/
Dsunxi-rsb.c115 u16 hwaddr; member
203 struct device_node *node, u16 hwaddr, u8 rtaddr) in sunxi_rsb_device_create() argument
213 rdev->hwaddr = hwaddr; in sunxi_rsb_device_create()
220 dev_set_name(&rdev->dev, "%s-%x", RSB_CTRL_NAME, hwaddr); in sunxi_rsb_device_create()
569 static u8 sunxi_rsb_get_rtaddr(u16 hwaddr) in sunxi_rsb_get_rtaddr() argument
574 if (hwaddr == sunxi_rsb_addr_maps[i].hwaddr) in sunxi_rsb_get_rtaddr()
584 u32 hwaddr; in of_rsb_register_devices() local
596 ret = of_property_read_u32(child, "reg", &hwaddr); in of_rsb_register_devices()
603 rtaddr = sunxi_rsb_get_rtaddr(hwaddr); in of_rsb_register_devices()
617 writel(RSB_DAR_RTA(rtaddr) | RSB_DAR_DA(hwaddr), in of_rsb_register_devices()
[all …]
/linux-6.6.21/drivers/net/ethernet/amd/
Dsun3lance.c129 unsigned char hwaddr[6]; /* Physical ethernet address */ member
378 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_probe()
379 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_probe()
380 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_probe()
381 MEM->init.hwaddr[3] = dev->dev_addr[2]; in lance_probe()
382 MEM->init.hwaddr[4] = dev->dev_addr[5]; in lance_probe()
383 MEM->init.hwaddr[5] = dev->dev_addr[4]; in lance_probe()
478 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_init_ring()
479 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_init_ring()
480 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_init_ring()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c178 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument
207 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo()
209 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo()
463 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() argument
471 if (!hwaddr) in rtw_get_stainfo()
474 if (is_multicast_ether_addr(hwaddr)) in rtw_get_stainfo()
477 addr = hwaddr; in rtw_get_stainfo()
487 if ((!memcmp(psta->hwaddr, addr, ETH_ALEN))) in rtw_get_stainfo()
Drtw_btcoex.c47 send_delba(padapter, 0, psta->hwaddr); in rtw_btcoex_RejectApAggregatedPacket()
Drtw_ap.c292 ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); in expire_timeout_chk()
294 ret = issue_nulldata(padapter, psta->hwaddr, 0, 3, 50); in expire_timeout_chk()
544 send_delba(padapter, 0, psta->hwaddr);/* recipient */ in update_sta_info_apmode()
547 send_delba(padapter, 1, psta->hwaddr);/* originator */ in update_sta_info_apmode()
1290 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in rtw_ap_set_pairwise_key()
1899 send_delba(padapter, 0, psta->hwaddr);/* recipient */ in ap_free_sta()
1902 send_delba(padapter, 1, psta->hwaddr);/* // originator */ in ap_free_sta()
1904 issue_deauth(padapter, psta->hwaddr, reason); in ap_free_sta()
1919 rtw_cfg80211_indicate_sta_disassoc(padapter, psta->hwaddr, reason); in ap_free_sta()
1921 report_del_sta_event(padapter, psta->hwaddr, reason); in ap_free_sta()
/linux-6.6.21/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()
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c159 if (!memcmp(psta->hwaddr, &skb->data[6], 6) || in rtw_mlcst2unicst()
160 !memcmp(psta->hwaddr, null_addr, 6) || in rtw_mlcst2unicst()
161 !memcmp(psta->hwaddr, bc_addr, 6)) in rtw_mlcst2unicst()
167 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst()
/linux-6.6.21/arch/xtensa/platforms/xtfpga/
Dsetup.c186 .hwaddr = { 0x00, 0x50, 0xc2, 0x13, 0x6f, 0 },
277 ethoc_pdata.hwaddr[5] = *(u32 *)DIP_SWITCHES_VADDR; in xtavnet_init()
291 pr_info("XTFPGA: Ethernet MAC %pM\n", ethoc_pdata.hwaddr); in xtavnet_init()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c691 u32 hwaddr, cmd; in ixgbe_mii_bus_read_generic_c22() local
697 hwaddr = addr << IXGBE_MSCA_PHY_ADDR_SHIFT; in ixgbe_mii_bus_read_generic_c22()
698 hwaddr |= (regnum & GENMASK(5, 0)) << IXGBE_MSCA_DEV_TYPE_SHIFT; in ixgbe_mii_bus_read_generic_c22()
699 cmd = hwaddr | IXGBE_MSCA_OLD_PROTOCOL | in ixgbe_mii_bus_read_generic_c22()
725 u32 hwaddr, cmd; in ixgbe_mii_bus_read_generic_c45() local
731 hwaddr = addr << IXGBE_MSCA_PHY_ADDR_SHIFT; in ixgbe_mii_bus_read_generic_c45()
732 hwaddr |= devad << 16 | regnum; in ixgbe_mii_bus_read_generic_c45()
733 cmd = hwaddr | IXGBE_MSCA_ADDR_CYCLE | IXGBE_MSCA_MDI_COMMAND; in ixgbe_mii_bus_read_generic_c45()
739 cmd = hwaddr | IXGBE_MSCA_READ | IXGBE_MSCA_MDI_COMMAND; in ixgbe_mii_bus_read_generic_c45()
763 u32 hwaddr, cmd; in ixgbe_mii_bus_write_generic_c22() local
[all …]
/linux-6.6.21/include/net/
Dethoc.h17 u8 hwaddr[IFHWADDRLEN]; member
Dieee802154_netdev.h32 IEEE802154_REQUIRED_SIZE(struct ieee802154_addr_sa, hwaddr))
300 a->extended_addr = ieee802154_devaddr_from_raw(sa->hwaddr); in ieee802154_addr_from_sa()
316 ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr); in ieee802154_addr_to_sa()
Daf_ieee802154.h31 u8 hwaddr[IEEE802154_ADDR_LEN]; member
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Dsta_info.h87 u8 hwaddr[ETH_ALEN]; member
366 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
369 extern struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c107 dma_addr_t hwaddr; member
444 etr_table->hwaddr, true); in tmc_etr_sg_table_dump()
584 etr_table->hwaddr = sg_table->table_daddr; in tmc_init_etr_sg_table()
622 etr_buf->hwaddr = flat_buf->daddr; in tmc_etr_alloc_flat_buf()
651 etr_buf->offset = rrp - etr_buf->hwaddr; in tmc_etr_sync_flat_buf()
706 etr_buf->hwaddr = etr_table->hwaddr; in tmc_etr_alloc_sg_buf()
1002 tmc_write_dba(drvdata, etr_buf->hwaddr); in __tmc_etr_enable_hw()
1009 tmc_write_rrp(drvdata, etr_buf->hwaddr); in __tmc_etr_enable_hw()
1010 tmc_write_rwp(drvdata, etr_buf->hwaddr); in __tmc_etr_enable_hw()
Dcoresight-catu.c314 r_offset = rrp - etr_buf->hwaddr; in catu_sync_etr_buf()
315 w_offset = rwp - etr_buf->hwaddr; in catu_sync_etr_buf()
352 etr_buf->hwaddr = CATU_DEFAULT_INADDR; in catu_alloc_etr_buf()
/linux-6.6.21/drivers/infiniband/ulp/ipoib/
Dipoib_main.c710 memcpy(phdr->hwaddr, daddr, INFINIBAND_ALEN); in push_pseudo_header()
1055 path = __path_find(dev, phdr->hwaddr + 4); in unicast_arp_send()
1058 path = path_rec_create(dev, phdr->hwaddr + 4); in unicast_arp_send()
1067 init_path_rec(priv, path, phdr->hwaddr + 4); in unicast_arp_send()
1074 push_pseudo_header(skb, phdr->hwaddr); in unicast_arp_send()
1086 IPOIB_QPN(phdr->hwaddr)); in unicast_arp_send()
1109 if (unlikely(phdr->hwaddr[4] == 0xff)) { in ipoib_start_xmit()
1122 phdr->hwaddr[8] = (priv->pkey >> 8) & 0xff; in ipoib_start_xmit()
1123 phdr->hwaddr[9] = priv->pkey & 0xff; in ipoib_start_xmit()
1125 neigh = ipoib_neigh_get(dev, phdr->hwaddr); in ipoib_start_xmit()
[all …]
Dipoib.h137 u8 hwaddr[INFINIBAND_ALEN]; member
631 static inline int ipoib_cm_enabled(struct net_device *dev, u8 *hwaddr) in ipoib_cm_enabled() argument
634 return IPOIB_CM_SUPPORTED(hwaddr) && in ipoib_cm_enabled()
687 static inline int ipoib_cm_enabled(struct net_device *dev, u8 *hwaddr) in ipoib_cm_enabled() argument
/linux-6.6.21/net/appletalk/
Daarp.c65 char hwaddr[ETH_ALEN]; member
543 struct atalk_addr *sa, void *hwaddr) in aarp_send_ddp() argument
617 ddp_dl->request(ddp_dl, skb, a->hwaddr); in aarp_send_ddp()
703 ddp_dl->request(ddp_dl, skb, a->hwaddr); in __aarp_resolved()
788 ether_addr_copy(a->hwaddr, ea->hw_src); in aarp_rcv()
1016 seq_printf(seq, "%pM", entry->hwaddr); in aarp_seq_show()
/linux-6.6.21/include/linux/
Dsunxi-rsb.h33 u16 hwaddr; member
Datalk.h127 struct atalk_addr *sa, void *hwaddr);
/linux-6.6.21/drivers/net/wireless/ti/wlcore/
Dio.h152 static inline int __must_check wlcore_read_hwaddr(struct wl1271 *wl, int hwaddr, in wlcore_read_hwaddr() argument
160 addr = wl->ops->convert_hwaddr(wl, hwaddr); in wlcore_read_hwaddr()
Dhw_ops.h245 wlcore_hw_convert_hwaddr(struct wl1271 *wl, u32 hwaddr) in wlcore_hw_convert_hwaddr() argument
250 return wl->ops->convert_hwaddr(wl, hwaddr); in wlcore_hw_convert_hwaddr()

123