Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c111 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo() argument
133 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in r8712_alloc_stainfo()
134 index = wifi_mac_hash(hwaddr); in r8712_alloc_stainfo()
243 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_get_stainfo() argument
250 if (hwaddr == NULL) in r8712_get_stainfo()
252 index = wifi_mac_hash(hwaddr); in r8712_get_stainfo()
258 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);
Drtl871x_cmd.h279 u8 hwaddr[6]; member
Drtl871x_cmd.c700 memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); in r8712_setstakey_cmd()
/drivers/net/ethernet/amd/
Dsun3lance.c128 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 …]
Datarilance.c147 unsigned char hwaddr[6]; /* Physical ethernet address */ member
614 MEM->init.hwaddr[i] = dev->dev_addr[i^1]; /* <- 16 bit swap! */ in lance_probe1()
1135 MEM->init.hwaddr[i] = dev->dev_addr[i^1]; /* <- 16 bit swap! */ in lance_set_mac_address()
/drivers/infiniband/ulp/ipoib/
Dipoib_main.c673 path = __path_find(dev, cb->hwaddr + 4); in unicast_arp_send()
678 path = path_rec_create(dev, cb->hwaddr + 4); in unicast_arp_send()
705 ipoib_send(dev, skb, path->ah, IPOIB_QPN(cb->hwaddr)); in unicast_arp_send()
728 if (unlikely(cb->hwaddr[4] == 0xff)) { in ipoib_start_xmit()
741 cb->hwaddr[8] = (priv->pkey >> 8) & 0xff; in ipoib_start_xmit()
742 cb->hwaddr[9] = priv->pkey & 0xff; in ipoib_start_xmit()
744 neigh = ipoib_neigh_get(dev, cb->hwaddr); in ipoib_start_xmit()
747 ipoib_mcast_send(dev, cb->hwaddr, skb); in ipoib_start_xmit()
756 neigh = ipoib_neigh_get(dev, cb->hwaddr); in ipoib_start_xmit()
758 neigh_add_path(skb, cb->hwaddr, dev); in ipoib_start_xmit()
[all …]
Dipoib.h131 u8 hwaddr[INFINIBAND_ALEN]; member
557 static inline int ipoib_cm_enabled(struct net_device *dev, u8 *hwaddr) in ipoib_cm_enabled() argument
560 return IPOIB_CM_SUPPORTED(hwaddr) && in ipoib_cm_enabled()
615 static inline int ipoib_cm_enabled(struct net_device *dev, u8 *hwaddr) in ipoib_cm_enabled() argument
/drivers/net/wireless/ti/wlcore/
Dio.h161 static inline int __must_check wlcore_read_hwaddr(struct wl1271 *wl, int hwaddr, in wlcore_read_hwaddr() argument
169 addr = hwaddr << 5; in wlcore_read_hwaddr()
/drivers/net/wireless/
Dadm8211.h498 u8 hwaddr[6]; /* 0x08 */ member
/drivers/net/ethernet/
Dethoc.c1035 memcpy(netdev->dev_addr, pdata->hwaddr, IFHWADDRLEN); in ethoc_probe()
/drivers/net/ethernet/xscale/
Dixp4xx_eth.c1442 memcpy(dev->dev_addr, plat->hwaddr, ETH_ALEN); in eth_init_one()