Home
last modified time | relevance | path

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

123456

/linux-6.1.9/arch/arm/mach-mxs/
Dmach-mxs.c167 u8 *macaddr; in update_fec_mac_prop() local
197 macaddr = newmac->value; in update_fec_mac_prop()
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()
[all …]
/linux-6.1.9/arch/arm/mach-mvebu/
Dkirkwood.c86 u8 *macaddr; in kirkwood_dt_eth_fixup() local
121 macaddr = pmac->value; in kirkwood_dt_eth_fixup()
123 macaddr[0] = (reg >> 24) & 0xff; in kirkwood_dt_eth_fixup()
124 macaddr[1] = (reg >> 16) & 0xff; in kirkwood_dt_eth_fixup()
125 macaddr[2] = (reg >> 8) & 0xff; in kirkwood_dt_eth_fixup()
126 macaddr[3] = reg & 0xff; in kirkwood_dt_eth_fixup()
129 macaddr[4] = (reg >> 8) & 0xff; in kirkwood_dt_eth_fixup()
130 macaddr[5] = reg & 0xff; in kirkwood_dt_eth_fixup()
/linux-6.1.9/drivers/net/ethernet/amd/
Dmvme147.c77 u8 macaddr[ETH_ALEN]; in mvme147lance_probe() local
97 macaddr[0] = 0x08; in mvme147lance_probe()
98 macaddr[1] = 0x00; in mvme147lance_probe()
99 macaddr[2] = 0x3e; in mvme147lance_probe()
101 macaddr[5] = address&0xff; in mvme147lance_probe()
103 macaddr[4] = address&0xff; in mvme147lance_probe()
105 macaddr[3] = address&0xff; in mvme147lance_probe()
106 eth_hw_addr_set(dev, macaddr); in mvme147lance_probe()
/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/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
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drtw_event.h51 unsigned char macaddr[6]; member
58 unsigned char macaddr[6]; member
/linux-6.1.9/drivers/staging/wlan-ng/
Dp80211netdev.c570 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-6.1.9/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
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_event.h50 unsigned char macaddr[6]; member
56 unsigned char macaddr[6]; member
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_event.h55 unsigned char macaddr[6]; member
61 unsigned char macaddr[6]; member
/linux-6.1.9/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()
/linux-6.1.9/Documentation/devicetree/bindings/mtd/partitions/
Dqcom,smem-part.yaml51 macaddr_art_0: macaddr@0 {
55 macaddr_art_6: macaddr@6 {
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Deeprom.c111 of_get_mac_address(np, phy->macaddr); in mt76_eeprom_override()
113 if (!is_valid_ether_addr(phy->macaddr)) { in mt76_eeprom_override()
114 eth_random_addr(phy->macaddr); in mt76_eeprom_override()
117 phy->macaddr); in mt76_eeprom_override()
/linux-6.1.9/drivers/net/ethernet/8390/
Dhydra.c119 u8 macaddr[ETH_ALEN]; in hydra_init() local
133 macaddr[j] = *((u8 *)(board + HYDRA_ADDRPROM + 2*j)); in hydra_init()
134 eth_hw_addr_set(dev, macaddr); in hydra_init()
/linux-6.1.9/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()
405 vl_lookup[k].macaddr = rule->key.vl.dmac; in sja1105_init_virtual_links()
748 vl_lookup[i].macaddr == key->vl.dmac && in sja1105_find_vlid()
754 vl_lookup[i].macaddr == key->vl.dmac) in sja1105_find_vlid()
Dsja1105_main.c372 l2_lookup[0].macaddr = SJA1105_UNKNOWN_MULTICAST; in sja1105_init_static_fdb()
1453 if (l2_lookup[i].macaddr == requested->macaddr && in sja1105_find_static_fdb_entry()
1544 if (l2_lookup.macaddr == ether_addr_to_u64(addr) && in sja1105et_is_fdb_entry_in_bin()
1583 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105et_fdb_add()
1626 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) in sja1105et_fdb_add()
1683 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_add()
1774 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_del()
1856 u8 macaddr[ETH_ALEN]; in sja1105_fdb_dump() local
1879 if (l2_lookup.macaddr == SJA1105_UNKNOWN_MULTICAST && in sja1105_fdb_dump()
1883 u64_to_ether_addr(l2_lookup.macaddr, macaddr); in sja1105_fdb_dump()
[all …]
Dsja1105_dynamic_config.h31 u64 macaddr; member
/linux-6.1.9/drivers/net/ethernet/apple/
Dmacmace.c200 u8 macaddr[ETH_ALEN]; in mace_probe() local
233 macaddr[j] = v; in mace_probe()
235 eth_hw_addr_set(dev, macaddr); in mace_probe()
325 u8 macaddr[ETH_ALEN]; in __mace_set_address() local
337 mb->padr = macaddr[i] = p[i]; in __mace_set_address()
338 eth_hw_addr_set(dev, macaddr); in __mace_set_address()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x2/
Dpci_init.c72 const u8 *macaddr = dev->mphy.macaddr; in mt76x2_mac_reset() local
112 mt76x02_mac_setaddr(dev, macaddr); in mt76x2_mac_reset()
/linux-6.1.9/include/linux/
Dks8842.h21 u8 macaddr[ETH_ALEN]; member
Dath9k_platform.h28 u8 *macaddr; member
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e.h779 static inline u64 i40e_addr_to_hkey(const u8 *macaddr) in i40e_addr_to_hkey() argument
783 ether_addr_copy((u8 *)&key, macaddr); in i40e_addr_to_hkey()
797 u8 macaddr[ETH_ALEN]; member
1173 const u8 *macaddr, s16 vlan);
1175 void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan);
1252 const u8 *macaddr);
1253 int i40e_del_mac_filter(struct i40e_vsi *vsi, const u8 *macaddr);
1256 struct i40e_mac_filter *i40e_find_mac(struct i40e_vsi *vsi, const u8 *macaddr);

123456