Home
last modified time | relevance | path

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

12

/linux/drivers/bus/
H A 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/drivers/net/ethernet/amd/
H A Dsun3lance.c130 unsigned char hwaddr[6]; /* Physical ethernet address */ member
379 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_probe()
380 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_probe()
381 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_probe()
382 MEM->init.hwaddr[3] = dev->dev_addr[2]; in lance_probe()
383 MEM->init.hwaddr[4] = dev->dev_addr[5]; in lance_probe()
384 MEM->init.hwaddr[5] = dev->dev_addr[4]; in lance_probe()
479 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_init_ring()
480 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_init_ring()
481 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_init_ring()
[all …]
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_sta_mgt.c176 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument
205 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo()
207 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo()
461 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() argument
469 if (!hwaddr) in rtw_get_stainfo()
472 if (is_multicast_ether_addr(hwaddr)) in rtw_get_stainfo()
475 addr = hwaddr; in rtw_get_stainfo()
485 if ((!memcmp(psta->hwaddr, addr, ETH_ALEN))) in rtw_get_stainfo()
H A Drtw_ap.c291 ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); in expire_timeout_chk()
293 ret = issue_nulldata(padapter, psta->hwaddr, 0, 3, 50); in expire_timeout_chk()
543 send_delba(padapter, 0, psta->hwaddr);/* recipient */ in update_sta_info_apmode()
546 send_delba(padapter, 1, psta->hwaddr);/* originator */ in update_sta_info_apmode()
1289 memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); in rtw_ap_set_pairwise_key()
1898 send_delba(padapter, 0, psta->hwaddr);/* recipient */ in ap_free_sta()
1901 send_delba(padapter, 1, psta->hwaddr);/* // originator */ in ap_free_sta()
1903 issue_deauth(padapter, psta->hwaddr, reason); in ap_free_sta()
1918 rtw_cfg80211_indicate_sta_disassoc(padapter, psta->hwaddr, reason); in ap_free_sta()
1920 report_del_sta_event(padapter, psta->hwaddr, reason); in ap_free_sta()
H A Drtw_btcoex.c46 send_delba(padapter, 0, psta->hwaddr); in rtw_btcoex_RejectApAggregatedPacket()
/linux/net/mac802154/
H A Dllsec.c102 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 …]
H A 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/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c157 if (!memcmp(psta->hwaddr, &skb->data[6], 6) || in rtw_mlcst2unicst()
158 !memcmp(psta->hwaddr, null_addr, 6) || in rtw_mlcst2unicst()
159 !memcmp(psta->hwaddr, bc_addr, 6)) in rtw_mlcst2unicst()
165 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst()
/linux/arch/xtensa/platforms/xtfpga/
H A 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/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.c690 u32 hwaddr, cmd; in ixgbe_mii_bus_read_generic_c22() local
696 hwaddr = addr << IXGBE_MSCA_PHY_ADDR_SHIFT; in ixgbe_mii_bus_read_generic_c22()
697 hwaddr |= (regnum & GENMASK(5, 0)) << IXGBE_MSCA_DEV_TYPE_SHIFT; in ixgbe_mii_bus_read_generic_c22()
698 cmd = hwaddr | IXGBE_MSCA_OLD_PROTOCOL | in ixgbe_mii_bus_read_generic_c22()
724 u32 hwaddr, cmd; in ixgbe_mii_bus_read_generic_c45() local
730 hwaddr = addr << IXGBE_MSCA_PHY_ADDR_SHIFT; in ixgbe_mii_bus_read_generic_c45()
731 hwaddr |= devad << 16 | regnum; in ixgbe_mii_bus_read_generic_c45()
732 cmd = hwaddr | IXGBE_MSCA_ADDR_CYCLE | IXGBE_MSCA_MDI_COMMAND; in ixgbe_mii_bus_read_generic_c45()
738 cmd = hwaddr | IXGBE_MSCA_READ | IXGBE_MSCA_MDI_COMMAND; in ixgbe_mii_bus_read_generic_c45()
762 u32 hwaddr, cmd; in ixgbe_mii_bus_write_generic_c22() local
[all …]
/linux/drivers/staging/rtl8723bs/include/
H A Dsta_info.h87 u8 hwaddr[ETH_ALEN]; member
322 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
325 extern struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
/linux/include/net/
H A Dethoc.h17 u8 hwaddr[IFHWADDRLEN]; member
H A Dieee802154_netdev.h32 IEEE802154_REQUIRED_SIZE(struct ieee802154_addr_sa, hwaddr))
360 a->extended_addr = ieee802154_devaddr_from_raw(sa->hwaddr); in ieee802154_addr_from_sa()
376 ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr); in ieee802154_addr_to_sa()
H A Daf_ieee802154.h31 u8 hwaddr[IEEE802154_ADDR_LEN]; member
H A Dcfg802154.h420 __le64 hwaddr; member
445 __le64 hwaddr; member
/linux/net/appletalk/
H A 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/drivers/hwtracing/coresight/
H A Dcoresight-tmc-etr.c114 dma_addr_t hwaddr; member
451 etr_table->hwaddr, true); in tmc_etr_sg_table_dump()
591 etr_table->hwaddr = sg_table->table_daddr; in tmc_init_etr_sg_table()
629 etr_buf->hwaddr = flat_buf->daddr; in tmc_etr_alloc_flat_buf()
658 etr_buf->offset = rrp - etr_buf->hwaddr; in tmc_etr_sync_flat_buf()
713 etr_buf->hwaddr = etr_table->hwaddr; in tmc_etr_alloc_sg_buf()
1023 tmc_write_dba(drvdata, etr_buf->hwaddr); in __tmc_etr_enable_hw()
1030 tmc_write_rrp(drvdata, etr_buf->hwaddr); in __tmc_etr_enable_hw()
1031 tmc_write_rwp(drvdata, etr_buf->hwaddr); in __tmc_etr_enable_hw()
H A Dcoresight-catu.c316 r_offset = rrp - etr_buf->hwaddr; in catu_sync_etr_buf()
317 w_offset = rwp - etr_buf->hwaddr; in catu_sync_etr_buf()
354 etr_buf->hwaddr = CATU_DEFAULT_INADDR; in catu_alloc_etr_buf()
/linux/drivers/infiniband/ulp/ipoib/
H A 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/drivers/net/wireless/ti/wlcore/
H A 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()
H A 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()
/linux/include/linux/
H A Dsunxi-rsb.h33 u16 hwaddr; member
H A Datalk.h127 struct atalk_addr *sa, void *hwaddr);
/linux/drivers/net/ethernet/sun/
H A Dldmvsw.c225 static struct net_device *vsw_alloc_netdev(u8 hwaddr[], in vsw_alloc_netdev() argument
239 eth_hw_addr_set(dev, hwaddr); in vsw_alloc_netdev()
/linux/drivers/net/arcnet/
H A Dcom20020.c158 struct sockaddr *hwaddr = addr; in com20020_set_hwaddr() local
160 dev_addr_set(dev, hwaddr->sa_data); in com20020_set_hwaddr()

12