Home
last modified time | relevance | path

Searched refs:macaddr (Results 1 – 25 of 152) sorted by relevance

1234567

/kernel/linux/linux-5.10/arch/arm/mach-mxs/
Dmach-mxs.c163 u8 *macaddr; in update_fec_mac_prop() local
193 macaddr = newmac->value; in update_fec_mac_prop()
196 macaddr[0] = 0x00; in update_fec_mac_prop()
197 macaddr[1] = 0x04; in update_fec_mac_prop()
198 macaddr[2] = 0x9f; in update_fec_mac_prop()
201 macaddr[0] = 0xc0; in update_fec_mac_prop()
202 macaddr[1] = 0xe5; in update_fec_mac_prop()
203 macaddr[2] = 0x4e; in update_fec_mac_prop()
206 macaddr[0] = 0x58; in update_fec_mac_prop()
207 macaddr[1] = 0xb9; in update_fec_mac_prop()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/
Dkirkwood.c88 u8 *macaddr; in kirkwood_dt_eth_fixup() local
123 macaddr = pmac->value; in kirkwood_dt_eth_fixup()
125 macaddr[0] = (reg >> 24) & 0xff; in kirkwood_dt_eth_fixup()
126 macaddr[1] = (reg >> 16) & 0xff; in kirkwood_dt_eth_fixup()
127 macaddr[2] = (reg >> 8) & 0xff; in kirkwood_dt_eth_fixup()
128 macaddr[3] = reg & 0xff; in kirkwood_dt_eth_fixup()
131 macaddr[4] = (reg >> 8) & 0xff; in kirkwood_dt_eth_fixup()
132 macaddr[5] = reg & 0xff; in kirkwood_dt_eth_fixup()
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dqeth.h25 __u8 macaddr[6]; member
45 __u8 macaddr[6]; member
52 __u8 macaddr[6]; member
58 __u8 macaddr[6]; member
64 __u8 macaddr[6]; member
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Deeprom.c100 ether_addr_copy(dev->macaddr, mac); in mt76_eeprom_override()
103 if (!is_valid_ether_addr(dev->macaddr)) { in mt76_eeprom_override()
104 eth_random_addr(dev->macaddr); in mt76_eeprom_override()
107 dev->macaddr); in mt76_eeprom_override()
Dtestmode.c78 memcpy(hdr->addr1, dev->macaddr, sizeof(dev->macaddr)); in mt76_testmode_tx_init()
79 memcpy(hdr->addr2, dev->macaddr, sizeof(dev->macaddr)); in mt76_testmode_tx_init()
80 memcpy(hdr->addr3, dev->macaddr, sizeof(dev->macaddr)); in mt76_testmode_tx_init()
/kernel/linux/linux-5.10/arch/xtensa/platforms/xtfpga/
Dsetup.c106 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()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Drtw_event.h55 unsigned char macaddr[6]; member
61 unsigned char macaddr[6]; member
/kernel/linux/linux-5.10/include/linux/platform_data/
Dnet-cw1200.h23 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
/kernel/linux/linux-5.10/include/linux/ssb/
Dssb_driver_gige.h102 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
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtw_event.h51 unsigned char macaddr[6]; member
58 unsigned char macaddr[6]; member
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl871x_event.h55 unsigned char macaddr[6]; member
61 unsigned char macaddr[6]; member
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dp80211netdev.c626 struct p80211item_pstr6 *macaddr; in p80211knetdev_set_mac_address() local
636 macaddr = (struct p80211item_pstr6 *)&mibattr->data; in p80211knetdev_set_mac_address()
652 macaddr->did = DIDMIB_DOT11MAC_OPERATIONTABLE_MACADDRESS; in p80211knetdev_set_mac_address()
653 macaddr->status = P80211ENUM_msgitem_status_data_ok; in p80211knetdev_set_mac_address()
654 macaddr->len = sizeof(macaddr->data); in p80211knetdev_set_mac_address()
655 macaddr->data.len = ETH_ALEN; in p80211knetdev_set_mac_address()
656 memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); in p80211knetdev_set_mac_address()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dmain.c46 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()
/kernel/linux/linux-5.10/drivers/staging/unisys/include/
Diochannel.h423 u8 macaddr[MAX_MACADDR_LEN]; member
448 struct net_pkt_macaddr macaddr; member
535 u8 macaddr[6]; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
Dhw.c123 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()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_vl.c279 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()
735 vl_lookup[i].macaddr == key->vl.dmac && in sja1105_find_vlid()
741 vl_lookup[i].macaddr == key->vl.dmac) in sja1105_find_vlid()
Dsja1105_dynamic_config.h31 u64 macaddr; member
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c661 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) in vxge_search_mac_addr_in_list()
686 mac_address = (u8 *)&new_mac_entry->macaddr; in vxge_mac_list_add()
687 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_add()
692 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_add()
706 if (is_multicast_ether_addr(mac->macaddr)) in vxge_add_mac_addr()
712 status = vxge_hw_vpath_mac_addr_add(vpath->handle, mac->macaddr, in vxge_add_mac_addr()
745 memcpy(mac_info.macaddr, mac_header, ETH_ALEN); in vxge_learn_mac()
1074 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_del()
1077 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) { in vxge_mac_list_del()
1082 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_del()
[all …]
Dvxge-main.h161 unsigned char macaddr[ETH_ALEN]; member
218 u64 macaddr; member
311 u8 macaddr[ETH_ALEN]; member
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dmac.c13 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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/
Dpci_init.c72 const u8 *macaddr = dev->mt76.macaddr; in mt76x2_mac_reset() local
112 mt76x02_mac_setaddr(dev, macaddr); in mt76x2_mac_reset()
/kernel/linux/linux-5.10/include/linux/
Dks8842.h21 u8 macaddr[ETH_ALEN]; member
Dath9k_platform.h28 u8 *macaddr; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e.h670 static inline u64 i40e_addr_to_hkey(const u8 *macaddr) in i40e_addr_to_hkey() argument
674 ether_addr_copy((u8 *)&key, macaddr); in i40e_addr_to_hkey()
688 u8 macaddr[ETH_ALEN]; member
1057 const u8 *macaddr, s16 vlan);
1059 void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan);
1136 const u8 *macaddr);
1137 int i40e_del_mac_filter(struct i40e_vsi *vsi, const u8 *macaddr);
1140 struct i40e_mac_filter *i40e_find_mac(struct i40e_vsi *vsi, const u8 *macaddr);
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dmain.c342 const void *macaddr; in wfx_probe() local
431 macaddr = of_get_mac_address(wdev->dev->of_node); in wfx_probe()
432 if (!IS_ERR_OR_NULL(macaddr)) { in wfx_probe()
433 ether_addr_copy(wdev->addresses[i].addr, macaddr); in wfx_probe()

1234567