macaddr 88 arch/arm/mach-mvebu/kirkwood.c u8 *macaddr; macaddr 123 arch/arm/mach-mvebu/kirkwood.c macaddr = pmac->value; macaddr 125 arch/arm/mach-mvebu/kirkwood.c macaddr[0] = (reg >> 24) & 0xff; macaddr 126 arch/arm/mach-mvebu/kirkwood.c macaddr[1] = (reg >> 16) & 0xff; macaddr 127 arch/arm/mach-mvebu/kirkwood.c macaddr[2] = (reg >> 8) & 0xff; macaddr 128 arch/arm/mach-mvebu/kirkwood.c macaddr[3] = reg & 0xff; macaddr 131 arch/arm/mach-mvebu/kirkwood.c macaddr[4] = (reg >> 8) & 0xff; macaddr 132 arch/arm/mach-mvebu/kirkwood.c macaddr[5] = reg & 0xff; macaddr 163 arch/arm/mach-mxs/mach-mxs.c u8 *macaddr; macaddr 193 arch/arm/mach-mxs/mach-mxs.c macaddr = newmac->value; macaddr 196 arch/arm/mach-mxs/mach-mxs.c macaddr[0] = 0x00; macaddr 197 arch/arm/mach-mxs/mach-mxs.c macaddr[1] = 0x04; macaddr 198 arch/arm/mach-mxs/mach-mxs.c macaddr[2] = 0x9f; macaddr 201 arch/arm/mach-mxs/mach-mxs.c macaddr[0] = 0xc0; macaddr 202 arch/arm/mach-mxs/mach-mxs.c macaddr[1] = 0xe5; macaddr 203 arch/arm/mach-mxs/mach-mxs.c macaddr[2] = 0x4e; macaddr 206 arch/arm/mach-mxs/mach-mxs.c macaddr[0] = 0x58; macaddr 207 arch/arm/mach-mxs/mach-mxs.c macaddr[1] = 0xb9; macaddr 208 arch/arm/mach-mxs/mach-mxs.c macaddr[2] = 0xe1; macaddr 211 arch/arm/mach-mxs/mach-mxs.c macaddr[0] = 0x00; macaddr 212 arch/arm/mach-mxs/mach-mxs.c macaddr[1] = 0x01; macaddr 213 arch/arm/mach-mxs/mach-mxs.c macaddr[2] = 0x87; macaddr 216 arch/arm/mach-mxs/mach-mxs.c macaddr[0] = 0x00; macaddr 217 arch/arm/mach-mxs/mach-mxs.c macaddr[1] = 0x1e; macaddr 218 arch/arm/mach-mxs/mach-mxs.c macaddr[2] = 0xac; macaddr 222 arch/arm/mach-mxs/mach-mxs.c macaddr[3] = (val >> 16) & 0xff; macaddr 223 arch/arm/mach-mxs/mach-mxs.c macaddr[4] = (val >> 8) & 0xff; macaddr 224 arch/arm/mach-mxs/mach-mxs.c macaddr[5] = (val >> 0) & 0xff; macaddr 25 arch/s390/include/uapi/asm/qeth.h __u8 macaddr[6]; macaddr 45 arch/s390/include/uapi/asm/qeth.h __u8 macaddr[6]; macaddr 52 arch/s390/include/uapi/asm/qeth.h __u8 macaddr[6]; macaddr 58 arch/s390/include/uapi/asm/qeth.h __u8 macaddr[6]; macaddr 64 arch/s390/include/uapi/asm/qeth.h __u8 macaddr[6]; macaddr 117 arch/xtensa/platforms/xtfpga/setup.c const u8* macaddr; macaddr 120 arch/xtensa/platforms/xtfpga/setup.c macaddr = of_get_property(node, "local-mac-address", &prop_len); macaddr 121 arch/xtensa/platforms/xtfpga/setup.c if (macaddr == NULL || prop_len != MAC_LEN) macaddr 136 arch/xtensa/platforms/xtfpga/setup.c memcpy(newmac->value, macaddr, MAC_LEN); macaddr 1156 drivers/infiniband/hw/i40iw/i40iw_main.c u8 *macaddr) macaddr 1162 drivers/infiniband/hw/i40iw/i40iw_main.c status = i40iw_add_mac_ipaddr_entry(iwdev, macaddr, macaddr 1444 drivers/net/bonding/bond_options.c u8 macaddr[ETH_ALEN]; macaddr 1448 drivers/net/bonding/bond_options.c if (!mac_pton(newval->string, macaddr)) macaddr 1450 drivers/net/bonding/bond_options.c mac = macaddr; macaddr 318 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->macaddr, 83, 36, size, op); macaddr 348 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->macaddr, 69, 22, size, op); macaddr 31 drivers/net/dsa/sja1105/sja1105_dynamic_config.h u64 macaddr; macaddr 889 drivers/net/dsa/sja1105/sja1105_main.c if (l2_lookup[i].macaddr == requested->macaddr && macaddr 980 drivers/net/dsa/sja1105/sja1105_main.c if (l2_lookup.macaddr == ether_addr_to_u64(addr) && macaddr 1018 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.macaddr = ether_addr_to_u64(addr); macaddr 1094 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.macaddr = ether_addr_to_u64(addr); macaddr 1157 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.macaddr = ether_addr_to_u64(addr); macaddr 1233 drivers/net/dsa/sja1105/sja1105_main.c u8 macaddr[ETH_ALEN]; macaddr 1254 drivers/net/dsa/sja1105/sja1105_main.c u64_to_ether_addr(l2_lookup.macaddr, macaddr); macaddr 1259 drivers/net/dsa/sja1105/sja1105_main.c cb(macaddr, l2_lookup.vlanid, l2_lookup.lockeds, data); macaddr 1768 drivers/net/dsa/sja1105/sja1105_main.c mgmt_route.macaddr = ether_addr_to_u64(hdr->h_dest); macaddr 260 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->macaddr, 83, 36, size, op); macaddr 288 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->macaddr, 69, 22, size, op); macaddr 170 drivers/net/dsa/sja1105/sja1105_static_config.h u64 macaddr; macaddr 59 drivers/net/ethernet/aeroflex/greth.c static int macaddr[6]; macaddr 60 drivers/net/ethernet/aeroflex/greth.c module_param_array(macaddr, int, NULL, 0); macaddr 61 drivers/net/ethernet/aeroflex/greth.c MODULE_PARM_DESC(macaddr, "GRETH Ethernet MAC address"); macaddr 1450 drivers/net/ethernet/aeroflex/greth.c if (macaddr[i] != 0) macaddr 1459 drivers/net/ethernet/aeroflex/greth.c macaddr[i] = (unsigned int) addr[i]; macaddr 1463 drivers/net/ethernet/aeroflex/greth.c macaddr[i] = (unsigned int) idprom->id_ethaddr[i]; macaddr 1469 drivers/net/ethernet/aeroflex/greth.c dev->dev_addr[i] = macaddr[i]; macaddr 1471 drivers/net/ethernet/aeroflex/greth.c macaddr[5]++; macaddr 1354 drivers/net/ethernet/altera/altera_tse_main.c const unsigned char *macaddr; macaddr 1528 drivers/net/ethernet/altera/altera_tse_main.c macaddr = of_get_mac_address(pdev->dev.of_node); macaddr 1529 drivers/net/ethernet/altera/altera_tse_main.c if (!IS_ERR(macaddr)) macaddr 1530 drivers/net/ethernet/altera/altera_tse_main.c ether_addr_copy(ndev->dev_addr, macaddr); macaddr 1515 drivers/net/ethernet/broadcom/b44.c static int b44_magic_pattern(u8 *macaddr, u8 *ppattern, u8 *pmask, int offset) macaddr 1536 drivers/net/ethernet/broadcom/b44.c (j * ETH_ALEN) + k] = macaddr[k]; macaddr 2423 drivers/net/ethernet/broadcom/bcmsysport.c const void *macaddr; macaddr 2503 drivers/net/ethernet/broadcom/bcmsysport.c macaddr = of_get_mac_address(dn); macaddr 2504 drivers/net/ethernet/broadcom/bcmsysport.c if (IS_ERR(macaddr)) { macaddr 2508 drivers/net/ethernet/broadcom/bcmsysport.c ether_addr_copy(dev->dev_addr, macaddr); macaddr 3444 drivers/net/ethernet/broadcom/genet/bcmgenet.c const void *macaddr; macaddr 3474 drivers/net/ethernet/broadcom/genet/bcmgenet.c macaddr = of_get_mac_address(dn); macaddr 3475 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (IS_ERR(macaddr)) { macaddr 3481 drivers/net/ethernet/broadcom/genet/bcmgenet.c macaddr = pd->mac_address; macaddr 3494 drivers/net/ethernet/broadcom/genet/bcmgenet.c ether_addr_copy(dev->dev_addr, macaddr); macaddr 2989 drivers/net/ethernet/cavium/liquidio/lio_main.c u8 *macaddr; macaddr 2997 drivers/net/ethernet/cavium/liquidio/lio_main.c macaddr = 2 + (u8 *)&oct->sriov_info.vf_macaddr[vfidx]; macaddr 2998 drivers/net/ethernet/cavium/liquidio/lio_main.c ether_addr_copy(&ivi->mac[0], macaddr); macaddr 2762 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c u8 hw_addr[ETH_ALEN], macaddr[ETH_ALEN]; macaddr 2784 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c macaddr[0] = a >> 8; macaddr 2785 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c macaddr[1] = a & 0xff; macaddr 2788 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c macaddr[i] = hw_addr[i + 1]; macaddr 2792 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c macaddr[5] = adap->pf * nvfs + vf; macaddr 2793 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, macaddr); macaddr 7782 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->macaddr, addr, sizeof(p->macaddr)); macaddr 7872 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->macaddr, addr, sizeof(p->macaddr)); macaddr 8000 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->macaddr, addr[offset + i], macaddr 8001 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c sizeof(p->macaddr)); macaddr 8087 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->macaddr, addr[offset+i], sizeof(p->macaddr)); macaddr 8150 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->macaddr, addr, sizeof(p->macaddr)); macaddr 2232 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h u8 macaddr[6]; macaddr 2246 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __u8 macaddr[6]; macaddr 1563 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c memcpy(p->macaddr, addr[offset+i], sizeof(p->macaddr)); macaddr 1647 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c memcpy(p->macaddr, addr[offset+i], sizeof(p->macaddr)); macaddr 1715 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c memcpy(p->macaddr, addr, sizeof(p->macaddr)); macaddr 3736 drivers/net/ethernet/emulex/benet/be_cmds.c memcpy(mac, resp->macid_macaddr.mac_addr_id.macaddr, macaddr 3766 drivers/net/ethernet/emulex/benet/be_cmds.c memcpy(mac, resp->macaddr_list[0].mac_addr_id.macaddr, macaddr 1051 drivers/net/ethernet/emulex/benet/be_cmds.h struct macaddr mcast_mac[BE_MAX_MC]; macaddr 1812 drivers/net/ethernet/emulex/benet/be_cmds.h u8 macaddr[6]; macaddr 1837 drivers/net/ethernet/emulex/benet/be_cmds.h struct macaddr mac[BE_MAX_MAC]; macaddr 193 drivers/net/ethernet/freescale/fec_main.c static unsigned char macaddr[ETH_ALEN]; macaddr 194 drivers/net/ethernet/freescale/fec_main.c module_param_array(macaddr, byte, NULL, 0); macaddr 195 drivers/net/ethernet/freescale/fec_main.c MODULE_PARM_DESC(macaddr, "FEC Ethernet MAC address"); macaddr 1705 drivers/net/ethernet/freescale/fec_main.c iap = macaddr; macaddr 1758 drivers/net/ethernet/freescale/fec_main.c if (iap == macaddr) macaddr 1759 drivers/net/ethernet/freescale/fec_main.c ndev->dev_addr[ETH_ALEN-1] = macaddr[ETH_ALEN-1] + fep->dev_id; macaddr 215 drivers/net/ethernet/freescale/fman/fman_dtsec.c } macaddr[15]; /* 0x148-0x1BC mac exact match addresses 1-15 */ macaddr 370 drivers/net/ethernet/freescale/fman/fman_dtsec.c phy_interface_t iface, u16 iface_speed, u8 *macaddr, macaddr 504 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = (u32)((macaddr[5] << 24) | macaddr 505 drivers/net/ethernet/freescale/fman/fman_dtsec.c (macaddr[4] << 16) | (macaddr[3] << 8) | macaddr[2]); macaddr 508 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = (u32)((macaddr[1] << 24) | (macaddr[0] << 16)); macaddr 394 drivers/net/ethernet/ibm/ehea/ehea.h u64 macaddr; macaddr 413 drivers/net/ethernet/ibm/ehea/ehea.h u64 macaddr; macaddr 275 drivers/net/ethernet/ibm/ehea/ehea_main.c arr[i++].macaddr = port->mac_addr; macaddr 281 drivers/net/ethernet/ibm/ehea/ehea_main.c arr[i++].macaddr = port->mac_addr; macaddr 293 drivers/net/ethernet/ibm/ehea/ehea_main.c if (mc_entry->macaddr == 0) macaddr 295 drivers/net/ethernet/ibm/ehea/ehea_main.c arr[i++].macaddr = mc_entry->macaddr; macaddr 301 drivers/net/ethernet/ibm/ehea/ehea_main.c if (mc_entry->macaddr == 0) macaddr 303 drivers/net/ethernet/ibm/ehea/ehea_main.c arr[i++].macaddr = mc_entry->macaddr; macaddr 1851 drivers/net/ethernet/ibm/ehea/ehea_main.c hret = ehea_multicast_reg_helper(port, mc_entry->macaddr, macaddr 1904 drivers/net/ethernet/ibm/ehea/ehea_main.c memcpy(&ehea_mcl_entry->macaddr, mc_mac_addr, ETH_ALEN); macaddr 1906 drivers/net/ethernet/ibm/ehea/ehea_main.c hret = ehea_multicast_reg_helper(port, ehea_mcl_entry->macaddr, macaddr 3299 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_bcmc_regs.arr[i].macaddr, macaddr 666 drivers/net/ethernet/intel/i40e/i40e.h static inline u64 i40e_addr_to_hkey(const u8 *macaddr) macaddr 670 drivers/net/ethernet/intel/i40e/i40e.h ether_addr_copy((u8 *)&key, macaddr); macaddr 684 drivers/net/ethernet/intel/i40e/i40e.h u8 macaddr[ETH_ALEN]; macaddr 1039 drivers/net/ethernet/intel/i40e/i40e.h const u8 *macaddr, s16 vlan); macaddr 1041 drivers/net/ethernet/intel/i40e/i40e.h void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan); macaddr 1118 drivers/net/ethernet/intel/i40e/i40e.h const u8 *macaddr); macaddr 1119 drivers/net/ethernet/intel/i40e/i40e.h int i40e_del_mac_filter(struct i40e_vsi *vsi, const u8 *macaddr); macaddr 1121 drivers/net/ethernet/intel/i40e/i40e.h struct i40e_mac_filter *i40e_find_mac(struct i40e_vsi *vsi, const u8 *macaddr); macaddr 150 drivers/net/ethernet/intel/i40e/i40e_debugfs.c f->macaddr, f->vlan, macaddr 1121 drivers/net/ethernet/intel/i40e/i40e_main.c const u8 *macaddr, s16 vlan) macaddr 1126 drivers/net/ethernet/intel/i40e/i40e_main.c if (!vsi || !macaddr) macaddr 1129 drivers/net/ethernet/intel/i40e/i40e_main.c key = i40e_addr_to_hkey(macaddr); macaddr 1131 drivers/net/ethernet/intel/i40e/i40e_main.c if ((ether_addr_equal(macaddr, f->macaddr)) && macaddr 1146 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_mac_filter *i40e_find_mac(struct i40e_vsi *vsi, const u8 *macaddr) macaddr 1151 drivers/net/ethernet/intel/i40e/i40e_main.c if (!vsi || !macaddr) macaddr 1154 drivers/net/ethernet/intel/i40e/i40e_main.c key = i40e_addr_to_hkey(macaddr); macaddr 1156 drivers/net/ethernet/intel/i40e/i40e_main.c if ((ether_addr_equal(macaddr, f->macaddr))) macaddr 1280 drivers/net/ethernet/intel/i40e/i40e_main.c add_head = i40e_add_filter(vsi, f->macaddr, new_vlan); macaddr 1315 drivers/net/ethernet/intel/i40e/i40e_main.c static void i40e_rm_default_mac_filter(struct i40e_vsi *vsi, u8 *macaddr) macaddr 1325 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(element.mac_addr, macaddr); macaddr 1332 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(element.mac_addr, macaddr); macaddr 1352 drivers/net/ethernet/intel/i40e/i40e_main.c const u8 *macaddr, s16 vlan) macaddr 1357 drivers/net/ethernet/intel/i40e/i40e_main.c if (!vsi || !macaddr) macaddr 1360 drivers/net/ethernet/intel/i40e/i40e_main.c f = i40e_find_filter(vsi, macaddr, vlan); macaddr 1372 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(f->macaddr, macaddr); macaddr 1377 drivers/net/ethernet/intel/i40e/i40e_main.c key = i40e_addr_to_hkey(macaddr); macaddr 1446 drivers/net/ethernet/intel/i40e/i40e_main.c void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan) macaddr 1450 drivers/net/ethernet/intel/i40e/i40e_main.c if (!vsi || !macaddr) macaddr 1453 drivers/net/ethernet/intel/i40e/i40e_main.c f = i40e_find_filter(vsi, macaddr, vlan); macaddr 1470 drivers/net/ethernet/intel/i40e/i40e_main.c const u8 *macaddr) macaddr 1477 drivers/net/ethernet/intel/i40e/i40e_main.c return i40e_add_filter(vsi, macaddr, macaddr 1481 drivers/net/ethernet/intel/i40e/i40e_main.c return i40e_add_filter(vsi, macaddr, I40E_VLAN_ANY); macaddr 1486 drivers/net/ethernet/intel/i40e/i40e_main.c add = i40e_add_filter(vsi, macaddr, f->vlan); macaddr 1504 drivers/net/ethernet/intel/i40e/i40e_main.c int i40e_del_mac_filter(struct i40e_vsi *vsi, const u8 *macaddr) macaddr 1513 drivers/net/ethernet/intel/i40e/i40e_main.c if (ether_addr_equal(macaddr, f->macaddr)) { macaddr 1972 drivers/net/ethernet/intel/i40e/i40e_main.c u64 key = i40e_addr_to_hkey(f->macaddr); macaddr 2013 drivers/net/ethernet/intel/i40e/i40e_main.c if (!is_broadcast_ether_addr(next->f->macaddr)) macaddr 2366 drivers/net/ethernet/intel/i40e/i40e_main.c if (is_broadcast_ether_addr(f->macaddr)) { macaddr 2375 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(del_list[num_del].mac_addr, f->macaddr); macaddr 2426 drivers/net/ethernet/intel/i40e/i40e_main.c if (is_broadcast_ether_addr(new->f->macaddr)) { macaddr 2440 drivers/net/ethernet/intel/i40e/i40e_main.c new->f->macaddr); macaddr 2770 drivers/net/ethernet/intel/i40e/i40e_main.c add_f = i40e_add_filter(vsi, f->macaddr, vid); macaddr 2774 drivers/net/ethernet/intel/i40e/i40e_main.c vid, f->macaddr); macaddr 6902 drivers/net/ethernet/intel/i40e/i40e_main.c const u8 *macaddr, int *aq_err) macaddr 6908 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(element.mac_addr, macaddr); macaddr 6928 drivers/net/ethernet/intel/i40e/i40e_main.c const u8 *macaddr, int *aq_err) macaddr 6934 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(element.mac_addr, macaddr); macaddr 132 drivers/net/ethernet/intel/iavf/iavf.h u8 macaddr[ETH_ALEN]; macaddr 419 drivers/net/ethernet/intel/iavf/iavf.h const u8 *macaddr); macaddr 725 drivers/net/ethernet/intel/iavf/iavf_main.c const u8 *macaddr) macaddr 729 drivers/net/ethernet/intel/iavf/iavf_main.c if (!macaddr) macaddr 733 drivers/net/ethernet/intel/iavf/iavf_main.c if (ether_addr_equal(macaddr, f->macaddr)) macaddr 747 drivers/net/ethernet/intel/iavf/iavf_main.c const u8 *macaddr) macaddr 751 drivers/net/ethernet/intel/iavf/iavf_main.c if (!macaddr) macaddr 754 drivers/net/ethernet/intel/iavf/iavf_main.c f = iavf_find_filter(adapter, macaddr); macaddr 760 drivers/net/ethernet/intel/iavf/iavf_main.c ether_addr_copy(f->macaddr, macaddr); macaddr 2188 drivers/net/ethernet/intel/iavf/iavf_main.c if (ether_addr_equal(f->macaddr, adapter->hw.mac.addr)) { macaddr 480 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c ether_addr_copy(veal->list[i].addr, f->macaddr); macaddr 549 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c ether_addr_copy(veal->list[i].addr, f->macaddr); macaddr 1507 drivers/net/ethernet/intel/ice/ice_lib.c const u8 *macaddr) macaddr 1521 drivers/net/ethernet/intel/ice/ice_lib.c ether_addr_copy(tmp->fltr_info.l_data.mac.mac_addr, macaddr); macaddr 3282 drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_cfg_mac_fltr(struct ice_vsi *vsi, const u8 *macaddr, bool set) macaddr 3288 drivers/net/ethernet/intel/ice/ice_lib.c if (ice_add_mac_to_list(vsi, &tmp_add_list, macaddr)) { macaddr 24 drivers/net/ethernet/intel/ice/ice_lib.h const u8 *macaddr); macaddr 126 drivers/net/ethernet/intel/ice/ice_lib.h ice_vsi_cfg_mac_fltr(struct ice_vsi *vsi, const u8 *macaddr, bool set); macaddr 2365 drivers/net/ethernet/intel/ice/ice_switch.c u8 *macaddr = fi->l_data.mac.mac_addr; macaddr 2372 drivers/net/ethernet/intel/ice/ice_switch.c if (is_broadcast_ether_addr(macaddr)) macaddr 2375 drivers/net/ethernet/intel/ice/ice_switch.c else if (is_multicast_ether_addr(macaddr)) macaddr 2378 drivers/net/ethernet/intel/ice/ice_switch.c else if (is_unicast_ether_addr(macaddr)) macaddr 304 drivers/net/ethernet/jme.c unsigned char macaddr[ETH_ALEN]; macaddr 309 drivers/net/ethernet/jme.c macaddr[0] = (val >> 0) & 0xFF; macaddr 310 drivers/net/ethernet/jme.c macaddr[1] = (val >> 8) & 0xFF; macaddr 311 drivers/net/ethernet/jme.c macaddr[2] = (val >> 16) & 0xFF; macaddr 312 drivers/net/ethernet/jme.c macaddr[3] = (val >> 24) & 0xFF; macaddr 314 drivers/net/ethernet/jme.c macaddr[4] = (val >> 0) & 0xFF; macaddr 315 drivers/net/ethernet/jme.c macaddr[5] = (val >> 8) & 0xFF; macaddr 316 drivers/net/ethernet/jme.c memcpy(netdev->dev_addr, macaddr, ETH_ALEN); macaddr 639 drivers/net/ethernet/mediatek/mtk_eth_soc.c const char *macaddr = dev->dev_addr; macaddr 649 drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_w32(mac->hw, (macaddr[0] << 8) | macaddr[1], macaddr 651 drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_w32(mac->hw, (macaddr[2] << 24) | (macaddr[3] << 16) | macaddr 652 drivers/net/ethernet/mediatek/mtk_eth_soc.c (macaddr[4] << 8) | macaddr[5], macaddr 655 drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_w32(mac->hw, (macaddr[0] << 8) | macaddr[1], macaddr 657 drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_w32(mac->hw, (macaddr[2] << 24) | (macaddr[3] << 16) | macaddr 658 drivers/net/ethernet/mediatek/mtk_eth_soc.c (macaddr[4] << 8) | macaddr[5], macaddr 1186 drivers/net/ethernet/micrel/ks8842.c if (pdata->macaddr[i] != 0) macaddr 1191 drivers/net/ethernet/micrel/ks8842.c memcpy(netdev->dev_addr, pdata->macaddr, macaddr 6731 drivers/net/ethernet/micrel/ksz884x.c static char *macaddr = ":"; macaddr 6844 drivers/net/ethernet/micrel/ksz884x.c static void get_mac_addr(struct dev_info *hw_priv, u8 *macaddr, int port) macaddr 6853 drivers/net/ethernet/micrel/ksz884x.c if (macaddr[i]) { macaddr 6857 drivers/net/ethernet/micrel/ksz884x.c digit = hex_to_bin(macaddr[i]); macaddr 6860 drivers/net/ethernet/micrel/ksz884x.c else if (':' == macaddr[i]) macaddr 7031 drivers/net/ethernet/micrel/ksz884x.c if (macaddr[0] != ':') macaddr 7032 drivers/net/ethernet/micrel/ksz884x.c get_mac_addr(hw_priv, macaddr, MAIN_PORT); macaddr 7249 drivers/net/ethernet/micrel/ksz884x.c module_param(macaddr, charp, 0); macaddr 7254 drivers/net/ethernet/micrel/ksz884x.c MODULE_PARM_DESC(macaddr, "MAC address"); macaddr 1542 drivers/net/ethernet/microchip/enc28j60.c unsigned char macaddr[ETH_ALEN]; macaddr 1575 drivers/net/ethernet/microchip/enc28j60.c if (device_get_mac_address(&spi->dev, macaddr, sizeof(macaddr))) macaddr 1576 drivers/net/ethernet/microchip/enc28j60.c ether_addr_copy(dev->dev_addr, macaddr); macaddr 955 drivers/net/ethernet/neterion/vxge/vxge-config.c u8 *macaddr, u8 *macaddr_mask) macaddr 974 drivers/net/ethernet/neterion/vxge/vxge-config.c macaddr[i - 1] = (u8) (data0 & 0xFF); macaddr 984 drivers/net/ethernet/neterion/vxge/vxge-config.c } while (!is_valid_ether_addr(macaddr)); macaddr 660 drivers/net/ethernet/neterion/vxge/vxge-main.c if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) macaddr 685 drivers/net/ethernet/neterion/vxge/vxge-main.c mac_address = (u8 *)&new_mac_entry->macaddr; macaddr 686 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_address, mac->macaddr, ETH_ALEN); macaddr 691 drivers/net/ethernet/neterion/vxge/vxge-main.c if (is_multicast_ether_addr(mac->macaddr)) macaddr 705 drivers/net/ethernet/neterion/vxge/vxge-main.c if (is_multicast_ether_addr(mac->macaddr)) macaddr 711 drivers/net/ethernet/neterion/vxge/vxge-main.c status = vxge_hw_vpath_mac_addr_add(vpath->handle, mac->macaddr, macaddr 744 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_info.macaddr, mac_header, ETH_ALEN); macaddr 1073 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_address, mac->macaddr, ETH_ALEN); macaddr 1076 drivers/net/ethernet/neterion/vxge/vxge-main.c if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) { macaddr 1081 drivers/net/ethernet/neterion/vxge/vxge-main.c if (is_multicast_ether_addr(mac->macaddr)) macaddr 1098 drivers/net/ethernet/neterion/vxge/vxge-main.c status = vxge_hw_vpath_mac_addr_delete(vpath->handle, mac->macaddr, macaddr 1198 drivers/net/ethernet/neterion/vxge/vxge-main.c mac_address = (u8 *)&mac_entry->macaddr; macaddr 1199 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_info.macaddr, mac_address, ETH_ALEN); macaddr 1201 drivers/net/ethernet/neterion/vxge/vxge-main.c if (is_multicast_ether_addr(mac_info.macaddr)) { macaddr 1216 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_info.macaddr, ha->addr, ETH_ALEN); macaddr 1240 drivers/net/ethernet/neterion/vxge/vxge-main.c mac_address = (u8 *)&mac_entry->macaddr; macaddr 1241 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_info.macaddr, mac_address, ETH_ALEN); macaddr 1243 drivers/net/ethernet/neterion/vxge/vxge-main.c if (is_multicast_ether_addr(mac_info.macaddr)) macaddr 1302 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_info_old.macaddr, dev->dev_addr, dev->addr_len); macaddr 1305 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_info_new.macaddr, addr->sa_data, dev->addr_len); macaddr 1419 drivers/net/ethernet/neterion/vxge/vxge-main.c unsigned char macaddr[ETH_ALEN]; macaddr 1422 drivers/net/ethernet/neterion/vxge/vxge-main.c macaddr, macmask); macaddr 1430 drivers/net/ethernet/neterion/vxge/vxge-main.c while (!ether_addr_equal(mac->macaddr, macaddr)) { macaddr 1432 drivers/net/ethernet/neterion/vxge/vxge-main.c macaddr, macmask); macaddr 1454 drivers/net/ethernet/neterion/vxge/vxge-main.c ((struct vxge_mac_addrs *)entry)->macaddr; macaddr 1455 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_info.macaddr, mac_address, ETH_ALEN); macaddr 1464 drivers/net/ethernet/neterion/vxge/vxge-main.c vpath->handle, mac_info.macaddr, macaddr 4310 drivers/net/ethernet/neterion/vxge/vxge-main.c u8 *macaddr; macaddr 4610 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy((u8 *)vdev->vpaths[j].macaddr, macaddr 4630 drivers/net/ethernet/neterion/vxge/vxge-main.c macaddr = (u8 *)vdev->vpaths[0].macaddr; macaddr 4646 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->ndev->name, macaddr); macaddr 4681 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(vdev->ndev->dev_addr, (u8 *)vdev->vpaths[0].macaddr, ETH_ALEN); macaddr 4693 drivers/net/ethernet/neterion/vxge/vxge-main.c macaddr = (u8 *)&entry->macaddr; macaddr 4694 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(macaddr, vdev->ndev->dev_addr, ETH_ALEN); macaddr 161 drivers/net/ethernet/neterion/vxge/vxge-main.h unsigned char macaddr[ETH_ALEN]; macaddr 218 drivers/net/ethernet/neterion/vxge/vxge-main.h u64 macaddr; macaddr 311 drivers/net/ethernet/neterion/vxge/vxge-main.h u8 macaddr[ETH_ALEN]; macaddr 1719 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u8 (macaddr)[ETH_ALEN], macaddr 1735 drivers/net/ethernet/neterion/vxge/vxge-traffic.c data1 |= (u8)macaddr[i]; macaddr 1782 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u8 (macaddr)[ETH_ALEN], macaddr 1808 drivers/net/ethernet/neterion/vxge/vxge-traffic.c macaddr[i-1] = (u8)(data1 & 0xFF); macaddr 1834 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u8 (macaddr)[ETH_ALEN], macaddr 1860 drivers/net/ethernet/neterion/vxge/vxge-traffic.c macaddr[i-1] = (u8)(data1 & 0xFF); macaddr 1887 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u8 (macaddr)[ETH_ALEN], macaddr 1902 drivers/net/ethernet/neterion/vxge/vxge-traffic.c data1 |= (u8)macaddr[i]; macaddr 2158 drivers/net/ethernet/neterion/vxge/vxge-traffic.h u8 *macaddr, macaddr 2165 drivers/net/ethernet/neterion/vxge/vxge-traffic.h u8 *macaddr, macaddr 2171 drivers/net/ethernet/neterion/vxge/vxge-traffic.h u8 *macaddr, macaddr 2177 drivers/net/ethernet/neterion/vxge/vxge-traffic.h u8 *macaddr, macaddr 3138 drivers/net/ethernet/nvidia/forcedeth.c struct sockaddr *macaddr = (struct sockaddr *)addr; macaddr 3140 drivers/net/ethernet/nvidia/forcedeth.c if (!is_valid_ether_addr(macaddr->sa_data)) macaddr 3144 drivers/net/ethernet/nvidia/forcedeth.c memcpy(dev->dev_addr, macaddr->sa_data, ETH_ALEN); macaddr 1352 drivers/net/ethernet/nxp/lpc_eth.c const char *macaddr = of_get_mac_address(np); macaddr 1353 drivers/net/ethernet/nxp/lpc_eth.c if (!IS_ERR(macaddr)) macaddr 1354 drivers/net/ethernet/nxp/lpc_eth.c ether_addr_copy(ndev->dev_addr, macaddr); macaddr 1155 drivers/net/ethernet/rocker/rocker_main.c unsigned char *macaddr = priv; macaddr 1173 drivers/net/ethernet/rocker/rocker_main.c ether_addr_copy(macaddr, rocker_tlv_data(attr)); macaddr 1282 drivers/net/ethernet/rocker/rocker_main.c const unsigned char *macaddr = priv; macaddr 1295 drivers/net/ethernet/rocker/rocker_main.c ETH_ALEN, macaddr)) macaddr 1360 drivers/net/ethernet/rocker/rocker_main.c unsigned char *macaddr) macaddr 1365 drivers/net/ethernet/rocker/rocker_main.c macaddr); macaddr 1390 drivers/net/ethernet/rocker/rocker_main.c unsigned char *macaddr) macaddr 1394 drivers/net/ethernet/rocker/rocker_main.c macaddr, NULL, NULL); macaddr 102 drivers/net/ethernet/sgi/meth.c u64 macaddr; macaddr 105 drivers/net/ethernet/sgi/meth.c macaddr = 0; macaddr 107 drivers/net/ethernet/sgi/meth.c macaddr |= (u64)dev->dev_addr[i] << ((5 - i) * 8); macaddr 109 drivers/net/ethernet/sgi/meth.c mace->eth.mac_addr = macaddr; macaddr 2430 drivers/net/ethernet/sun/sungem.c struct sockaddr *macaddr = (struct sockaddr *) addr; macaddr 2434 drivers/net/ethernet/sun/sungem.c if (!is_valid_ether_addr(macaddr->sa_data)) macaddr 2437 drivers/net/ethernet/sun/sungem.c memcpy(dev->dev_addr, macaddr->sa_data, dev->addr_len); macaddr 77 drivers/net/ethernet/sun/sunhme.c static int macaddr[6]; macaddr 80 drivers/net/ethernet/sun/sunhme.c module_param_array(macaddr, int, NULL, 0); macaddr 81 drivers/net/ethernet/sun/sunhme.c MODULE_PARM_DESC(macaddr, "Happy Meal MAC address to set"); macaddr 2721 drivers/net/ethernet/sun/sunhme.c if (macaddr[i] != 0) macaddr 2726 drivers/net/ethernet/sun/sunhme.c dev->dev_addr[i] = macaddr[i]; macaddr 2727 drivers/net/ethernet/sun/sunhme.c macaddr[5]++; macaddr 3067 drivers/net/ethernet/sun/sunhme.c if (macaddr[i] != 0) macaddr 3072 drivers/net/ethernet/sun/sunhme.c dev->dev_addr[i] = macaddr[i]; macaddr 3073 drivers/net/ethernet/sun/sunhme.c macaddr[5]++; macaddr 1474 drivers/net/ieee802154/ca8210.c union macaddr *dst_addr, macaddr 1971 drivers/net/ieee802154/ca8210.c (union macaddr *)&header.dest.extended_addr, macaddr 1378 drivers/net/wireless/ath/ar5523/ar5523.c u8 macaddr[ETH_ALEN]; macaddr 1382 drivers/net/wireless/ath/ar5523/ar5523.c error = ar5523_get_status(ar, ST_MAC_ADDR, macaddr, ETH_ALEN); macaddr 1388 drivers/net/wireless/ath/ar5523/ar5523.c SET_IEEE80211_PERM_ADDR(ar->hw, macaddr); macaddr 157 drivers/net/wireless/ath/ath.h u8 macaddr[ETH_ALEN]; macaddr 226 drivers/net/wireless/ath/ath10k/mac.c const u8 *macaddr, u32 flags) macaddr 235 drivers/net/wireless/ath/ath10k/mac.c .macaddr = macaddr, macaddr 286 drivers/net/wireless/ath/ath10k/mac.c const u8 *macaddr, u32 flags) macaddr 299 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_send_key(arvif, key, cmd, macaddr, flags); macaddr 62 drivers/net/wireless/ath/ath10k/wmi-ops.h const u8 macaddr[ETH_ALEN]); macaddr 76 drivers/net/wireless/ath/ath10k/wmi-ops.h const u8 macaddr[ETH_ALEN]); macaddr 514 drivers/net/wireless/ath/ath10k/wmi-ops.h ath10k_wmi_pdev_set_base_macaddr(struct ath10k *ar, const u8 macaddr[ETH_ALEN]) macaddr 521 drivers/net/wireless/ath/ath10k/wmi-ops.h skb = ar->wmi.ops->gen_pdev_set_base_macaddr(ar, macaddr); macaddr 624 drivers/net/wireless/ath/ath10k/wmi-ops.h const u8 macaddr[ETH_ALEN]) macaddr 631 drivers/net/wireless/ath/ath10k/wmi-ops.h skb = ar->wmi.ops->gen_vdev_create(ar, vdev_id, type, subtype, macaddr); macaddr 2214 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (arg->macaddr) macaddr 2215 drivers/net/wireless/ath/ath10k/wmi-tlv.c ether_addr_copy(cmd->peer_macaddr.addr, arg->macaddr); macaddr 6302 drivers/net/wireless/ath/ath10k/wmi.c const u8 macaddr[ETH_ALEN]) macaddr 6312 drivers/net/wireless/ath/ath10k/wmi.c ether_addr_copy(cmd->mac_addr.addr, macaddr); macaddr 6315 drivers/net/wireless/ath/ath10k/wmi.c "wmi pdev basemac %pM\n", macaddr); macaddr 7010 drivers/net/wireless/ath/ath10k/wmi.c const u8 macaddr[ETH_ALEN]) macaddr 7023 drivers/net/wireless/ath/ath10k/wmi.c ether_addr_copy(cmd->vdev_macaddr.addr, macaddr); macaddr 7027 drivers/net/wireless/ath/ath10k/wmi.c vdev_id, type, subtype, macaddr); macaddr 7214 drivers/net/wireless/ath/ath10k/wmi.c if (arg->macaddr) macaddr 7215 drivers/net/wireless/ath/ath10k/wmi.c ether_addr_copy(cmd->peer_macaddr.addr, arg->macaddr); macaddr 5020 drivers/net/wireless/ath/ath10k/wmi.h const u8 *macaddr; macaddr 530 drivers/net/wireless/ath/ath5k/base.c iter_data.hw_macaddr = common->macaddr; macaddr 377 drivers/net/wireless/ath/ath5k/pcu.c memcpy(common->macaddr, mac, ETH_ALEN); macaddr 930 drivers/net/wireless/ath/ath5k/pcu.c low_id = get_unaligned_le32(common->macaddr); macaddr 931 drivers/net/wireless/ath/ath5k/pcu.c high_id = get_unaligned_le16(common->macaddr + 4); macaddr 76 drivers/net/wireless/ath/ath9k/ar9003_wow.c memcpy(sta_mac_addr, common->macaddr, ETH_ALEN); macaddr 92 drivers/net/wireless/ath/ath9k/dynack.c if ((common->macaddr[i] & common->bssidmask[i]) != macaddr 123 drivers/net/wireless/ath/ath9k/htc.h u8 macaddr[ETH_ALEN]; macaddr 780 drivers/net/wireless/ath/ath9k/htc_drv_init.c SET_IEEE80211_PERM_ADDR(hw, common->macaddr); macaddr 165 drivers/net/wireless/ath/ath9k/htc_drv_main.c memcpy(common->macaddr, iter_data.hw_macaddr, ETH_ALEN); macaddr 338 drivers/net/wireless/ath/ath9k/htc_drv_main.c memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); macaddr 374 drivers/net/wireless/ath/ath9k/htc_drv_main.c memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); macaddr 404 drivers/net/wireless/ath/ath9k/htc_drv_main.c memcpy(&tsta.macaddr, common->macaddr, ETH_ALEN); macaddr 489 drivers/net/wireless/ath/ath9k/htc_drv_main.c memcpy(&tsta.macaddr, sta->addr, ETH_ALEN); macaddr 497 drivers/net/wireless/ath/ath9k/htc_drv_main.c memcpy(&tsta.macaddr, vif->addr, ETH_ALEN); macaddr 495 drivers/net/wireless/ath/ath9k/hw.c if (is_valid_ether_addr(common->macaddr)) macaddr 500 drivers/net/wireless/ath/ath9k/hw.c common->macaddr[2 * i] = eeval >> 8; macaddr 501 drivers/net/wireless/ath/ath9k/hw.c common->macaddr[2 * i + 1] = eeval & 0xff; macaddr 504 drivers/net/wireless/ath/ath9k/hw.c if (is_valid_ether_addr(common->macaddr)) macaddr 508 drivers/net/wireless/ath/ath9k/hw.c common->macaddr); macaddr 510 drivers/net/wireless/ath/ath9k/hw.c eth_random_addr(common->macaddr); macaddr 512 drivers/net/wireless/ath/ath9k/hw.c common->macaddr); macaddr 609 drivers/net/wireless/ath/ath9k/init.c if (pdata->macaddr) macaddr 610 drivers/net/wireless/ath/ath9k/init.c ether_addr_copy(common->macaddr, pdata->macaddr); macaddr 646 drivers/net/wireless/ath/ath9k/init.c ether_addr_copy(common->macaddr, mac); macaddr 1011 drivers/net/wireless/ath/ath9k/init.c SET_IEEE80211_PERM_ADDR(hw, common->macaddr); macaddr 1079 drivers/net/wireless/ath/ath9k/main.c memcpy(common->macaddr, vif->addr, ETH_ALEN); macaddr 1119 drivers/net/wireless/ath/ath9k/main.c memcpy(common->macaddr, iter_data.hw_macaddr, ETH_ALEN); macaddr 1190 drivers/net/wireless/ath/ath9k/main.c common->macaddr, common->curbssid, common->bssidmask); macaddr 318 drivers/net/wireless/ath/carl9170/mac.c mac_addr = common->macaddr; macaddr 363 drivers/net/wireless/ath/carl9170/mac.c mac_addr = common->macaddr; macaddr 570 drivers/net/wireless/ath/carl9170/main.c memcpy(common->macaddr, vif->addr, ETH_ALEN); macaddr 123 drivers/net/wireless/ath/hw.c REG_WRITE(ah, AR_STA_ID0, get_unaligned_le32(common->macaddr)); macaddr 125 drivers/net/wireless/ath/hw.c id1 |= get_unaligned_le16(common->macaddr + 4); macaddr 714 drivers/net/wireless/ath/wil6210/cfg80211.c if (is_valid_ether_addr(params->macaddr)) { macaddr 715 drivers/net/wireless/ath/wil6210/cfg80211.c ether_addr_copy(ndev->dev_addr, params->macaddr); macaddr 2187 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c params->macaddr); macaddr 5207 drivers/net/wireless/cisco/airo.c static const unsigned char macaddr[ETH_ALEN] = { 0x01, 0, 0, 0, 0, 0 }; macaddr 5219 drivers/net/wireless/cisco/airo.c memcpy(wkr.mac, macaddr, ETH_ALEN); macaddr 1409 drivers/net/wireless/marvell/libertas/cfg.c memcpy(cmd.macaddr, &priv->assoc_bss, ETH_ALEN); macaddr 517 drivers/net/wireless/marvell/libertas/host.h u8 macaddr[ETH_ALEN]; macaddr 87 drivers/net/wireless/mediatek/mt76/eeprom.c ether_addr_copy(dev->macaddr, mac); macaddr 90 drivers/net/wireless/mediatek/mt76/eeprom.c if (!is_valid_ether_addr(dev->macaddr)) { macaddr 91 drivers/net/wireless/mediatek/mt76/eeprom.c eth_random_addr(dev->macaddr); macaddr 94 drivers/net/wireless/mediatek/mt76/eeprom.c dev->macaddr); macaddr 304 drivers/net/wireless/mediatek/mt76/mac80211.c SET_IEEE80211_PERM_ADDR(hw, dev->macaddr); macaddr 462 drivers/net/wireless/mediatek/mt76/mt76.h u8 macaddr[ETH_ALEN]; macaddr 162 drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c memcpy(dev->mt76.macaddr, dev->mt76.eeprom.data + MT_EE_MAC_ADDR, macaddr 209 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c memcpy(dev->mt76.macaddr, dev->mt76.eeprom.data + MT_EE_MAC_ADDR, macaddr 141 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c memcpy(addr.macaddr, mac, ETH_ALEN); macaddr 670 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ether_addr_copy(dev->mt76.macaddr, addr); macaddr 672 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (!is_valid_ether_addr(dev->mt76.macaddr)) { macaddr 673 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c eth_random_addr(dev->mt76.macaddr); macaddr 676 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c dev->mt76.macaddr); macaddr 679 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->mt76.macaddr)); macaddr 681 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c get_unaligned_le16(dev->mt76.macaddr + 4) | macaddr 685 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c get_unaligned_le32(dev->mt76.macaddr)); macaddr 687 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c get_unaligned_le16(dev->mt76.macaddr + 4) | macaddr 690 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h u8 macaddr[6]; macaddr 313 drivers/net/wireless/mediatek/mt76/mt76x02_util.c (((vif->addr[0] ^ dev->mt76.macaddr[0]) & ~GENMASK(4, 1)) || macaddr 314 drivers/net/wireless/mediatek/mt76/mt76x02_util.c memcmp(vif->addr + 1, dev->mt76.macaddr + 1, ETH_ALEN - 1))) macaddr 318 drivers/net/wireless/mediatek/mt76/mt76x02_util.c idx = 1 + (((dev->mt76.macaddr[0] ^ vif->addr[0]) >> 2) & 7); macaddr 682 drivers/net/wireless/mediatek/mt76/mt76x02_util.c memcpy(addr, dev->mt76.macaddr, ETH_ALEN); macaddr 18 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c memcpy(dev->mt76.macaddr, src, ETH_ALEN); macaddr 501 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c dev->mt76.macaddr[0] &= ~BIT(1); macaddr 71 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c const u8 *macaddr = dev->mt76.macaddr; macaddr 111 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76x02_mac_setaddr(dev, macaddr); macaddr 609 drivers/net/wireless/mediatek/mt7601u/init.c SET_IEEE80211_PERM_ADDR(hw, dev->macaddr); macaddr 13 drivers/net/wireless/mediatek/mt7601u/mac.c ether_addr_copy(dev->macaddr, addr); macaddr 15 drivers/net/wireless/mediatek/mt7601u/mac.c if (!is_valid_ether_addr(dev->macaddr)) { macaddr 16 drivers/net/wireless/mediatek/mt7601u/mac.c eth_random_addr(dev->macaddr); macaddr 19 drivers/net/wireless/mediatek/mt7601u/mac.c dev->macaddr); macaddr 22 drivers/net/wireless/mediatek/mt7601u/mac.c mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->macaddr)); macaddr 23 drivers/net/wireless/mediatek/mt7601u/mac.c mt76_wr(dev, MT_MAC_ADDR_DW1, get_unaligned_le16(dev->macaddr + 4) | macaddr 59 drivers/net/wireless/mediatek/mt7601u/main.c if (!ether_addr_equal(dev->macaddr, vif->addr)) macaddr 181 drivers/net/wireless/mediatek/mt7601u/mt7601u.h u8 macaddr[ETH_ALEN]; macaddr 126 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c mac_addr = params->macaddr; macaddr 226 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c mac_addr = params->macaddr; macaddr 1135 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ether_addr_copy(wiphy->perm_addr, mac->macaddr); macaddr 1248 drivers/net/wireless/quantenna/qtnfmac/commands.c ether_addr_copy(mac->macaddr, mac_info->dev_mac); macaddr 1252 drivers/net/wireless/quantenna/qtnfmac/commands.c ether_addr_copy(vif->mac_addr, mac->macaddr); macaddr 110 drivers/net/wireless/quantenna/qtnfmac/core.h u8 macaddr[ETH_ALEN]; macaddr 2280 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c u8 *macaddr = p_macaddr; macaddr 2333 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c macaddr = cam_const_addr[key_index]; macaddr 2337 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c macaddr = cam_const_broad; macaddr 2371 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2390 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2074 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c u8 *macaddr = p_macaddr; macaddr 2128 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c macaddr = cam_const_addr[key_index]; macaddr 2132 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c macaddr = cam_const_broad; macaddr 2181 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2201 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 200 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c u8 *macaddr = p_macaddr; macaddr 248 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c macaddr = cam_const_addr[key_index]; macaddr 252 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c macaddr = cam_const_broad; macaddr 297 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 315 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2096 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c u8 *macaddr = p_macaddr; macaddr 2145 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c macaddr = cam_const_addr[key_index]; macaddr 2149 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c macaddr = cam_const_broad; macaddr 2191 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2207 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2422 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c u8 *macaddr = p_macaddr; macaddr 2476 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c macaddr = cam_const_addr[key_index]; macaddr 2480 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c macaddr = cam_const_broad; macaddr 2515 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2532 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2387 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c u8 *macaddr = p_macaddr; macaddr 2442 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c macaddr = cam_const_addr[key_index]; macaddr 2446 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c macaddr = cam_const_broad; macaddr 2479 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2496 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 48 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.h u32 key_index, u8 *macaddr, bool is_group, macaddr 2154 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c u8 *macaddr = p_macaddr; macaddr 2208 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c macaddr = cam_const_addr[key_index]; macaddr 2212 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c macaddr = cam_const_broad; macaddr 2245 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2264 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2543 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 *macaddr = p_macaddr; macaddr 2597 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c macaddr = cam_const_addr[key_index]; macaddr 2601 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c macaddr = cam_const_broad; macaddr 2634 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2653 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 3825 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 *macaddr = p_macaddr; macaddr 3878 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c macaddr = cam_const_addr[key_index]; macaddr 3882 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c macaddr = cam_const_broad; macaddr 3914 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 3933 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_cam_add_one_entry(hw, macaddr, key_index, macaddr 2292 drivers/net/wireless/realtek/rtlwifi/wifi.h u8 *macaddr, bool is_group, u8 enc_algo, macaddr 294 drivers/net/wireless/st/cw1200/cw1200.h int ref_clk, const u8 *macaddr, macaddr 308 drivers/net/wireless/st/cw1200/cw1200_sdio.c self->pdata->macaddr, macaddr 417 drivers/net/wireless/st/cw1200/cw1200_spi.c self->pdata->macaddr, macaddr 46 drivers/net/wireless/st/cw1200/main.c module_param_array_named(macaddr, cw1200_mac_template, byte, NULL, 0444); macaddr 47 drivers/net/wireless/st/cw1200/main.c MODULE_PARM_DESC(macaddr, "Override platform_data MAC address"); macaddr 252 drivers/net/wireless/st/cw1200/main.c static struct ieee80211_hw *cw1200_init_common(const u8 *macaddr, macaddr 330 drivers/net/wireless/st/cw1200/main.c if (macaddr) macaddr 331 drivers/net/wireless/st/cw1200/main.c SET_IEEE80211_PERM_ADDR(hw, (u8 *)macaddr); macaddr 517 drivers/net/wireless/st/cw1200/main.c int ref_clk, const u8 *macaddr, macaddr 528 drivers/net/wireless/st/cw1200/main.c dev = cw1200_init_common(macaddr, have_5ghz); macaddr 1785 drivers/s390/net/qeth_l3_main.c ether_addr_copy(cmd_entry->macaddr, entry->macaddr); macaddr 688 drivers/scsi/be2iscsi/be_cmds.h struct macaddr mac[32]; macaddr 1138 drivers/staging/rtl8188eu/core/rtw_mlme.c if (!rtw_access_ctrl(adapter, pstassoc->macaddr)) macaddr 1143 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); macaddr 1152 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); macaddr 1160 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); macaddr 1205 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstadel->macaddr); macaddr 1211 drivers/staging/rtl8188eu/core/rtw_mlme.c DBG_88E("%s(mac_id=%d)=%pM\n", __func__, mac_id, pstadel->macaddr); macaddr 4348 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy((unsigned char *)(&pdel_sta_evt->macaddr), MacAddr); macaddr 4401 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy((unsigned char *)(&padd_sta_evt->macaddr), MacAddr); macaddr 55 drivers/staging/rtl8188eu/include/rtw_event.h unsigned char macaddr[6]; macaddr 61 drivers/staging/rtl8188eu/include/rtw_event.h unsigned char macaddr[6]; macaddr 74 drivers/staging/rtl8192e/rtl8192e/rtl_cam.c memcpy(ieee->swcamtable[EntryNo].macaddr, MacAddr, 6); macaddr 1351 drivers/staging/rtl8192e/rtllib.h u8 macaddr[ETH_ALEN]; macaddr 55 drivers/staging/rtl8712/rtl871x_event.h unsigned char macaddr[6]; macaddr 61 drivers/staging/rtl8712/rtl871x_event.h unsigned char macaddr[6]; macaddr 879 drivers/staging/rtl8712/rtl871x_mlme.c if (!r8712_access_ctrl(&adapter->acl_list, pstassoc->macaddr)) macaddr 881 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_get_stainfo(&adapter->stapriv, pstassoc->macaddr); macaddr 890 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); macaddr 931 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_get_stainfo(&adapter->stapriv, pstadel->macaddr); macaddr 1524 drivers/staging/rtl8723bs/core/rtw_mlme.c if (rtw_access_ctrl(adapter, pstassoc->macaddr) == false) macaddr 1528 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); macaddr 1566 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); macaddr 1575 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); macaddr 1632 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstadel->macaddr); macaddr 1638 drivers/staging/rtl8723bs/core/rtw_mlme.c DBG_871X("%s(mac_id =%d) =" MAC_FMT "\n", __func__, mac_id, MAC_ARG(pstadel->macaddr)); macaddr 5248 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy((unsigned char *)(&(pdel_sta_evt->macaddr)), MacAddr, ETH_ALEN); macaddr 5303 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy((unsigned char *)(&(padd_sta_evt->macaddr)), MacAddr, ETH_ALEN); macaddr 51 drivers/staging/rtl8723bs/include/rtw_event.h unsigned char macaddr[6]; macaddr 58 drivers/staging/rtl8723bs/include/rtw_event.h unsigned char macaddr[6]; macaddr 291 drivers/staging/rtl8723bs/include/rtw_mlme.h u8 macaddr[ETH_ALEN]; macaddr 423 drivers/staging/unisys/include/iochannel.h u8 macaddr[MAX_MACADDR_LEN]; macaddr 448 drivers/staging/unisys/include/iochannel.h struct net_pkt_macaddr macaddr; macaddr 535 drivers/staging/unisys/include/iochannel.h u8 macaddr[6]; macaddr 1803 drivers/staging/unisys/visornic/visornic_main.c channel_offset = offsetof(struct visor_io_channel, vnic.macaddr); macaddr 219 drivers/staging/uwb/beacon.c const struct uwb_mac_addr *macaddr) macaddr 225 drivers/staging/uwb/beacon.c bce = __uwb_beca_find_bymac(rc, macaddr); macaddr 73 drivers/staging/uwb/uwb-debug.c struct uwb_mac_addr macaddr; macaddr 78 drivers/staging/uwb/uwb-debug.c memcpy(&macaddr, cmd->target, sizeof(macaddr)); macaddr 79 drivers/staging/uwb/uwb-debug.c target = uwb_dev_get_by_macaddr(rc, &macaddr); macaddr 295 drivers/staging/uwb/uwb-internal.h const struct uwb_mac_addr *macaddr); macaddr 626 drivers/staging/wlan-ng/p80211netdev.c struct p80211item_pstr6 *macaddr; macaddr 636 drivers/staging/wlan-ng/p80211netdev.c macaddr = (struct p80211item_pstr6 *)&mibattr->data; macaddr 652 drivers/staging/wlan-ng/p80211netdev.c macaddr->did = DIDMIB_DOT11MAC_OPERATIONTABLE_MACADDRESS; macaddr 653 drivers/staging/wlan-ng/p80211netdev.c macaddr->status = P80211ENUM_msgitem_status_data_ok; macaddr 654 drivers/staging/wlan-ng/p80211netdev.c macaddr->len = sizeof(macaddr->data); macaddr 655 drivers/staging/wlan-ng/p80211netdev.c macaddr->data.len = ETH_ALEN; macaddr 656 drivers/staging/wlan-ng/p80211netdev.c memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); macaddr 28 include/linux/ath9k_platform.h u8 *macaddr; macaddr 140 include/linux/fs_enet_pd.h __u8 macaddr[ETH_ALEN]; /* mac address */ macaddr 21 include/linux/ks8842.h u8 macaddr[ETH_ALEN]; macaddr 23 include/linux/platform_data/net-cw1200.h const u8 *macaddr; /* if NULL, use cw1200_mac_template module parameter */ macaddr 40 include/linux/platform_data/net-cw1200.h const u8 *macaddr; /* if NULL, use cw1200_mac_template module parameter */ macaddr 102 include/linux/ssb/ssb_driver_gige.h static inline int ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) macaddr 108 include/linux/ssb/ssb_driver_gige.h memcpy(macaddr, dev->dev->bus->sprom.et0mac, 6); macaddr 184 include/linux/ssb/ssb_driver_gige.h static inline int ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) macaddr 551 include/net/cfg80211.h u8 macaddr[ETH_ALEN]; macaddr 6049 include/net/cfg80211.h const u8 *macaddr, const u8 *ie, u8 ie_len, macaddr 1800 net/mac80211/iface.c if (is_valid_ether_addr(params->macaddr)) macaddr 1801 net/mac80211/iface.c memcpy(ndev->dev_addr, params->macaddr, ETH_ALEN); macaddr 3597 net/wireless/nl80211.c nla_memcpy(params.macaddr, info->attrs[NL80211_ATTR_MAC], macaddr 3599 net/wireless/nl80211.c if (!is_valid_ether_addr(params.macaddr)) macaddr 2577 net/wireless/trace.h TP_PROTO(struct net_device *netdev, const u8 *macaddr), macaddr 2578 net/wireless/trace.h TP_ARGS(netdev, macaddr), macaddr 2581 net/wireless/trace.h MAC_ENTRY(macaddr) macaddr 2585 net/wireless/trace.h MAC_ASSIGN(macaddr, macaddr); macaddr 2588 net/wireless/trace.h NETDEV_PR_ARG, MAC_PR_ARG(macaddr)) macaddr 2592 net/wireless/trace.h TP_PROTO(struct net_device *netdev, const u8 *macaddr), macaddr 2593 net/wireless/trace.h TP_ARGS(netdev, macaddr) macaddr 2798 net/wireless/trace.h TP_PROTO(struct net_device *netdev, const u8 *macaddr), macaddr 2799 net/wireless/trace.h TP_ARGS(netdev, macaddr) macaddr 3057 net/wireless/trace.h TP_PROTO(struct net_device *netdev, const u8 *macaddr), macaddr 3058 net/wireless/trace.h TP_ARGS(netdev, macaddr)