/linux/arch/arm/mach-mxs/ |
A D | mach-mxs.c | 167 u8 *macaddr; in update_fec_mac_prop() local 200 macaddr[0] = 0x00; in update_fec_mac_prop() 201 macaddr[1] = 0x04; in update_fec_mac_prop() 202 macaddr[2] = 0x9f; in update_fec_mac_prop() 205 macaddr[0] = 0xc0; in update_fec_mac_prop() 206 macaddr[1] = 0xe5; in update_fec_mac_prop() 207 macaddr[2] = 0x4e; in update_fec_mac_prop() 210 macaddr[0] = 0x58; in update_fec_mac_prop() 211 macaddr[1] = 0xb9; in update_fec_mac_prop() 212 macaddr[2] = 0xe1; in update_fec_mac_prop() [all …]
|
/linux/arch/arm/mach-mvebu/ |
A D | kirkwood.c | 89 u8 *macaddr; in kirkwood_dt_eth_fixup() local 124 macaddr = pmac->value; in kirkwood_dt_eth_fixup() 126 macaddr[0] = (reg >> 24) & 0xff; in kirkwood_dt_eth_fixup() 127 macaddr[1] = (reg >> 16) & 0xff; in kirkwood_dt_eth_fixup() 128 macaddr[2] = (reg >> 8) & 0xff; in kirkwood_dt_eth_fixup() 129 macaddr[3] = reg & 0xff; in kirkwood_dt_eth_fixup() 132 macaddr[4] = (reg >> 8) & 0xff; in kirkwood_dt_eth_fixup() 133 macaddr[5] = reg & 0xff; in kirkwood_dt_eth_fixup()
|
/linux/arch/s390/include/uapi/asm/ |
A D | qeth.h | 25 __u8 macaddr[6]; member 45 __u8 macaddr[6]; member 52 __u8 macaddr[6]; member 58 __u8 macaddr[6]; member 64 __u8 macaddr[6]; member
|
/linux/arch/xtensa/platforms/xtfpga/ |
A D | setup.c | 106 const u8* macaddr; in update_local_mac() local 109 macaddr = of_get_property(node, "local-mac-address", &prop_len); in update_local_mac() 110 if (macaddr == NULL || prop_len != MAC_LEN) in update_local_mac() 125 memcpy(newmac->value, macaddr, MAC_LEN); in update_local_mac()
|
/linux/drivers/staging/wlan-ng/ |
A D | p80211netdev.c | 570 struct p80211item_pstr6 *macaddr; in p80211knetdev_set_mac_address() local 580 macaddr = (struct p80211item_pstr6 *)&mibattr->data; in p80211knetdev_set_mac_address() 596 macaddr->did = DIDMIB_DOT11MAC_OPERATIONTABLE_MACADDRESS; in p80211knetdev_set_mac_address() 597 macaddr->status = P80211ENUM_msgitem_status_data_ok; in p80211knetdev_set_mac_address() 598 macaddr->len = sizeof(macaddr->data); in p80211knetdev_set_mac_address() 599 macaddr->data.len = ETH_ALEN; in p80211knetdev_set_mac_address() 600 memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); in p80211knetdev_set_mac_address()
|
/linux/include/linux/ssb/ |
A D | ssb_driver_gige.h | 102 static inline int ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) in ssb_gige_get_macaddr() argument 108 memcpy(macaddr, dev->dev->bus->sprom.et0mac, 6); in ssb_gige_get_macaddr() 184 static inline int ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) in ssb_gige_get_macaddr() argument
|
/linux/drivers/net/wireless/st/cw1200/ |
A D | main.c | 46 module_param_array_named(macaddr, cw1200_mac_template, byte, NULL, 0444); 47 MODULE_PARM_DESC(macaddr, "Override platform_data MAC address"); 252 static struct ieee80211_hw *cw1200_init_common(const u8 *macaddr, in cw1200_init_common() argument 330 if (macaddr) in cw1200_init_common() 331 SET_IEEE80211_PERM_ADDR(hw, (u8 *)macaddr); in cw1200_init_common() 519 int ref_clk, const u8 *macaddr, in cw1200_core_probe() argument 530 dev = cw1200_init_common(macaddr, have_5ghz); in cw1200_core_probe()
|
/linux/include/linux/platform_data/ |
A D | net-cw1200.h | 23 const u8 *macaddr; /* if NULL, use cw1200_mac_template module parameter */ member 40 const u8 *macaddr; /* if NULL, use cw1200_mac_template module parameter */ member
|
/linux/drivers/staging/rtl8723bs/include/ |
A D | rtw_event.h | 51 unsigned char macaddr[6]; member 58 unsigned char macaddr[6]; member
|
/linux/drivers/staging/r8188eu/include/ |
A D | rtw_event.h | 50 unsigned char macaddr[6]; member 56 unsigned char macaddr[6]; member
|
/linux/drivers/staging/rtl8712/ |
A D | rtl871x_event.h | 55 unsigned char macaddr[6]; member 61 unsigned char macaddr[6]; member
|
/linux/drivers/staging/unisys/include/ |
A D | iochannel.h | 423 u8 macaddr[MAX_MACADDR_LEN]; member 448 struct net_pkt_macaddr macaddr; member 535 u8 macaddr[6]; member
|
/linux/drivers/net/ethernet/neterion/vxge/ |
A D | vxge-main.c | 692 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_add() 1421 unsigned char macaddr[ETH_ALEN]; in vxge_search_mac_addr_in_da_table() local 1424 macaddr, macmask); in vxge_search_mac_addr_in_da_table() 1432 while (!ether_addr_equal(mac->macaddr, macaddr)) { in vxge_search_mac_addr_in_da_table() 1434 macaddr, macmask); in vxge_search_mac_addr_in_da_table() 1466 vpath->handle, mac_info.macaddr, in vxge_restore_vpath_mac_addr() 4296 u8 *macaddr; in vxge_probe() local 4595 memcpy((u8 *)vdev->vpaths[j].macaddr, in vxge_probe() 4615 macaddr = (u8 *)vdev->vpaths[0].macaddr; in vxge_probe() 4631 vdev->ndev->name, macaddr); in vxge_probe() [all …]
|
A D | vxge-main.h | 161 unsigned char macaddr[ETH_ALEN]; member 218 u64 macaddr; member 311 u8 macaddr[ETH_ALEN]; member
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | eeprom.c | 109 of_get_mac_address(np, phy->macaddr); in mt76_eeprom_override() 111 if (!is_valid_ether_addr(phy->macaddr)) { in mt76_eeprom_override() 112 eth_random_addr(phy->macaddr); in mt76_eeprom_override() 115 phy->macaddr); in mt76_eeprom_override()
|
A D | testmode.c | 129 memcpy(hdr->addr1, phy->macaddr, sizeof(phy->macaddr)); in mt76_testmode_alloc_skb() 130 memcpy(hdr->addr2, phy->macaddr, sizeof(phy->macaddr)); in mt76_testmode_alloc_skb() 131 memcpy(hdr->addr3, phy->macaddr, sizeof(phy->macaddr)); in mt76_testmode_alloc_skb()
|
A D | mt76x02_mac.c | 163 memcpy(addr.macaddr, mac, ETH_ALEN); in mt76x02_mac_wcid_setup() 731 ether_addr_copy(dev->mphy.macaddr, addr); in mt76x02_mac_setaddr() 733 if (!is_valid_ether_addr(dev->mphy.macaddr)) { in mt76x02_mac_setaddr() 734 eth_random_addr(dev->mphy.macaddr); in mt76x02_mac_setaddr() 737 dev->mphy.macaddr); in mt76x02_mac_setaddr() 740 mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->mphy.macaddr)); in mt76x02_mac_setaddr() 742 get_unaligned_le16(dev->mphy.macaddr + 4) | in mt76x02_mac_setaddr() 746 get_unaligned_le32(dev->mphy.macaddr)); in mt76x02_mac_setaddr() 748 get_unaligned_le16(dev->mphy.macaddr + 4) | in mt76x02_mac_setaddr()
|
/linux/drivers/net/dsa/sja1105/ |
A D | sja1105_vl.c | 279 if (a->macaddr < b->macaddr) in sja1105_vl_key_lower() 281 if (a->macaddr > b->macaddr) in sja1105_vl_key_lower() 392 vl_lookup[k].macaddr = rule->key.vl.dmac; in sja1105_init_virtual_links() 734 vl_lookup[i].macaddr == key->vl.dmac && in sja1105_find_vlid() 740 vl_lookup[i].macaddr == key->vl.dmac) in sja1105_find_vlid()
|
A D | sja1105_main.c | 371 l2_lookup[0].macaddr = SJA1105_UNKNOWN_MULTICAST; in sja1105_init_static_fdb() 1470 if (l2_lookup[i].macaddr == requested->macaddr && in sja1105_find_static_fdb_entry() 1561 if (l2_lookup.macaddr == ether_addr_to_u64(addr) && in sja1105et_is_fdb_entry_in_bin() 1600 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105et_fdb_add() 1700 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_add() 1791 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_del() 1846 u8 macaddr[ETH_ALEN]; in sja1105_fdb_dump() local 1873 u64_to_ether_addr(l2_lookup.macaddr, macaddr); in sja1105_fdb_dump() 1892 u8 macaddr[ETH_ALEN]; in sja1105_fast_age() local 1913 u64_to_ether_addr(l2_lookup.macaddr, macaddr); in sja1105_fast_age() [all …]
|
/linux/drivers/net/wireless/ath/ |
A D | hw.c | 123 REG_WRITE(ah, AR_STA_ID0, get_unaligned_le32(common->macaddr)); in ath_hw_setbssidmask() 125 id1 |= get_unaligned_le16(common->macaddr + 4); in ath_hw_setbssidmask()
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
A D | mac.c | 13 ether_addr_copy(dev->macaddr, addr); in mt7601u_set_macaddr() 15 if (!is_valid_ether_addr(dev->macaddr)) { in mt7601u_set_macaddr() 16 eth_random_addr(dev->macaddr); in mt7601u_set_macaddr() 19 dev->macaddr); in mt7601u_set_macaddr() 22 mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->macaddr)); in mt7601u_set_macaddr() 23 mt76_wr(dev, MT_MAC_ADDR_DW1, get_unaligned_le16(dev->macaddr + 4) | in mt7601u_set_macaddr()
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
A D | pci_init.c | 72 const u8 *macaddr = dev->mphy.macaddr; in mt76x2_mac_reset() local 112 mt76x02_mac_setaddr(dev, macaddr); in mt76x2_mac_reset()
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e.h | 763 static inline u64 i40e_addr_to_hkey(const u8 *macaddr) in i40e_addr_to_hkey() argument 767 ether_addr_copy((u8 *)&key, macaddr); in i40e_addr_to_hkey() 781 u8 macaddr[ETH_ALEN]; member 1137 const u8 *macaddr, s16 vlan); 1139 void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan); 1216 const u8 *macaddr); 1217 int i40e_del_mac_filter(struct i40e_vsi *vsi, const u8 *macaddr); 1220 struct i40e_mac_filter *i40e_find_mac(struct i40e_vsi *vsi, const u8 *macaddr);
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
A D | mac.c | 199 u8 *macaddr = p_macaddr; in rtl92c_set_key() local 247 macaddr = cam_const_addr[key_index]; in rtl92c_set_key() 251 macaddr = cam_const_broad; in rtl92c_set_key() 296 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key() 314 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
|
/linux/include/linux/ |
A D | ks8842.h | 21 u8 macaddr[ETH_ALEN]; member
|