Searched refs:mac_addr (Results 251 - 275 of 606) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/dsa/
H A Dlan9303-core.c537 lan9303_alr_cache_find_mac(struct lan9303 *chip, const u8 *mac_addr) argument
546 if (ether_addr_equal(entr->mac_addr, mac_addr))
714 ether_addr_copy(entr->mac_addr, mac);
736 eth_zero_addr(entr->mac_addr);
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c2492 u8 mac_addr[6], hdr_type; local
2520 status = rdma_read_gid_l2_fields(sgid_attr, &vlan_id, &mac_addr[0]);
2527 status = ocrdma_resolve_dmac(dev, ah_attr, &mac_addr[0]);
2531 cmd->params.dmac_b0_to_b3 = mac_addr[0] | (mac_addr[1] << 8) |
2532 (mac_addr[2] << 16) | (mac_addr[3] << 24);
2546 cmd->params.vlan_dmac_b4_to_b5 = mac_addr[4] | (mac_addr[5] << 8);
2592 cmd->params.dmac_b0_to_b3 = dev->nic_info.mac_addr[
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c461 * @mac_addr: address to write
465 u16 flags, u8 *mac_addr,
476 cmd_data->mac_sah = cpu_to_le16((u16)mac_addr[0] << 8 | mac_addr[1]);
477 cmd_data->mac_sal = cpu_to_le32(((u32)mac_addr[2] << 24) |
478 ((u32)mac_addr[3] << 16) |
479 ((u32)mac_addr[4] << 8) |
480 mac_addr[5]);
490 * @mac_addr: pointer to MAC address
494 int i40e_get_mac_addr(struct i40e_hw *hw, u8 *mac_addr) argument
464 i40e_aq_mac_address_write(struct i40e_hw *hw, u16 flags, u8 *mac_addr, struct i40e_asq_cmd_details *cmd_details) argument
515 i40e_get_port_mac_addr(struct i40e_hw *hw, u8 *mac_addr) argument
4016 i40e_aq_add_rem_control_packet_filter(struct i40e_hw *hw, u8 *mac_addr, u16 ethtype, u16 flags, u16 vsi_seid, u16 queue, bool is_add, struct i40e_control_filter_stats *stats, struct i40e_asq_cmd_details *cmd_details) argument
[all...]
/linux-master/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-hw.c79 u8 *mac_addr; local
85 mac_addr = (u8 *)&mac_addr_lo;
86 mac_addr[0] = ha->addr[0];
87 mac_addr[1] = ha->addr[1];
88 mac_addr[2] = ha->addr[2];
89 mac_addr[3] = ha->addr[3];
90 mac_addr = (u8 *)&mac_addr_hi;
91 mac_addr[0] = ha->addr[4];
92 mac_addr[1] = ha->addr[5];
H A Ddwc-xlgmac-common.c39 memcpy(pdata->mac_addr, dev_addr, netdev->addr_len);
81 eth_hw_addr_set(netdev, pdata->mac_addr);
/linux-master/drivers/net/wireless/atmel/
H A Dat76c50x-usb.c620 memcpy(priv->mac_addr, hwcfg->i.mac_addr, ETH_ALEN);
626 memcpy(priv->mac_addr, hwcfg->r3.mac_addr, ETH_ALEN);
632 memcpy(priv->mac_addr, hwcfg->r5.mac_addr, ETH_ALEN);
948 at76_dbg(DBG_MIB, "%s: MIB MAC_ADDR: mac_addr %pM res 0x%x 0x%x",
950 m->mac_addr, m->res[0], m->res[1]);
2370 SET_IEEE80211_PERM_ADDR(priv->hw, priv->mac_addr);
2391 dev_name(&interface->dev), priv->mac_addr,
[all...]
/linux-master/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu.h1008 u8 mac_addr[ETH_ALEN]; /* 0xc6 */ member in struct:rtl8723au_efuse
1026 u8 mac_addr[ETH_ALEN]; /* 0x16 */ member in struct:rtl8192cu_efuse
1112 u8 mac_addr[ETH_ALEN]; /* 0x107 */ member in struct:rtl8723bu_efuse
1159 u8 mac_addr[ETH_ALEN]; /* 0xd7 */ member in struct:rtl8192eu_efuse
1200 u8 mac_addr[ETH_ALEN]; /* 0xd7 */ member in struct:rtl8188fu_efuse
1234 u8 mac_addr[ETH_ALEN]; /* 0xd7 */ member in struct:rtl8188eu_efuse
1255 u8 mac_addr[ETH_ALEN]; /* 0x11a */ member in struct:rtl8710bu_efuse
1298 u8 mac_addr[ETH_ALEN]; /* 0x107 */ member in struct:rtl8192fu_efuse
1808 u8 mac_addr[ETH_ALEN]; member in struct:rtl8xxxu_priv
/linux-master/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c438 u8 *addr = adapter->mac_addr;
467 u8 *addr = adapter->mac_addr;
616 memcpy(mac_req->mac_addr, addr, ETH_ALEN);
631 if (ether_addr_equal(addr, cur->mac_addr)) {
641 memcpy(cur->mac_addr, addr, ETH_ALEN);
644 cur->mac_addr, NETXEN_MAC_ADD);
664 nx_p3_nic_add_mac(adapter, adapter->mac_addr, &del_list);
690 cur->mac_addr, NETXEN_MAC_DEL);
723 cur->mac_addr, NETXEN_MAC_DEL);
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dmain.c1408 int mac_addr; local
1411 mac_addr = RGF_OTP_OEM_MAC;
1412 wil_memcpy_fromio_32(mac, wil->csr + HOSTADDR(mac_addr), sizeof(mac));
1418 mac_addr = RGF_OTP_MAC_TALYN_MB;
1420 mac_addr = RGF_OTP_MAC;
1422 wil_memcpy_fromio_32(mac, wil->csr + HOSTADDR(mac_addr),
/linux-master/net/bridge/
H A Dbr_mdb.c169 ether_addr_copy(ip->dst.mac_addr, entry->addr.u.mac_addr);
261 ether_addr_copy(e.addr.u.mac_addr, mp->addr.dst.mac_addr);
298 ether_addr_copy(e.addr.u.mac_addr, mp->addr.dst.mac_addr);
/linux-master/drivers/staging/vt6655/
H A Ddevice_main.c125 static void vt6655_mac_write_bssid_addr(void __iomem *iobase, const u8 *mac_addr);
126 static void vt6655_mac_read_ether_addr(void __iomem *iobase, u8 *mac_addr);
192 static void vt6655_mac_write_bssid_addr(void __iomem *iobase, const u8 *mac_addr) argument
196 iowrite8(mac_addr[i], iobase + MAC_REG_BSSID0 + i);
200 static void vt6655_mac_read_ether_addr(void __iomem *iobase, u8 *mac_addr) argument
204 mac_addr[i] = ioread8(iobase + MAC_REG_PAR0 + i);
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c639 int vf, int index, unsigned char *mac_addr)
682 retval = ixgbe_add_mac_filter(adapter, mac_addr, vf);
689 memcpy(entry->vf_macvlan, mac_addr, ETH_ALEN);
776 int vf, unsigned char *mac_addr)
781 retval = ixgbe_add_mac_filter(adapter, mac_addr, vf);
783 memcpy(adapter->vfinfo[vf].vf_mac_addresses, mac_addr,
638 ixgbe_set_vf_macvlan(struct ixgbe_adapter *adapter, int vf, int index, unsigned char *mac_addr) argument
775 ixgbe_set_vf_mac(struct ixgbe_adapter *adapter, int vf, unsigned char *mac_addr) argument
/linux-master/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Ddev.c1442 u8 mac_addr[ETH_ALEN]; local
1504 (__le16 __force *)mac_addr, 3);
1505 if (!is_valid_ether_addr(mac_addr)) {
1508 eth_random_addr(mac_addr);
1510 SET_IEEE80211_PERM_ADDR(dev, mac_addr);
1639 mac_addr, chip_name, priv->asic_rev, priv->rf->name,
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h536 u8 mac_addr[ETH_ALEN]; member in struct:cgx_mac_addr_set_or_get
545 u8 mac_addr[ETH_ALEN]; member in struct:cgx_mac_addr_add_req
677 u8 mac_addr[ETH_ALEN]; member in struct:cgx_mac_addr_update_req
894 u8 mac_addr[ETH_ALEN]; member in struct:nix_lf_alloc_rsp
1146 u8 mac_addr[ETH_ALEN]; /* MAC address to be set for this pcifunc */ member in struct:nix_set_mac_addr
1151 u8 mac_addr[ETH_ALEN]; member in struct:nix_get_mac_addr_rsp
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dcfg80211.c146 const u8 *mac_addr)
150 const u8 *peer_mac = pairwise ? mac_addr : bc_mac;
461 const u8 *mac_addr, struct key_params *params)
466 const u8 *peer_mac = pairwise ? mac_addr : bc_mac;
510 eth_broadcast_addr(encrypt_key.mac_addr);
1563 ether_addr_copy(mac, node->mac_addr);
2050 memcpy(bss_cfg->mac_addr, priv->curr_addr, ETH_ALEN);
2634 u8 mac_addr[ETH_ALEN]; local
2661 get_random_mask_addr(mac_addr, request->mac_addr,
144 mwifiex_cfg80211_del_key(struct wiphy *wiphy, struct net_device *netdev, int link_id, u8 key_index, bool pairwise, const u8 *mac_addr) argument
459 mwifiex_cfg80211_add_key(struct wiphy *wiphy, struct net_device *netdev, int link_id, u8 key_index, bool pairwise, const u8 *mac_addr, struct key_params *params) argument
[all...]
H A Dutil.c523 if (!memcmp(node->mac_addr, mac, ETH_ALEN))
611 memcpy(node->mac_addr, mac, ETH_ALEN);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c886 ether_addr_copy(p, hdev->hw.mac.mac_addr);
893 u8 *old_mac_addr = (u8 *)hdev->hw.mac.mac_addr;
907 ether_addr_copy(hdev->hw.mac.mac_addr, new_mac_addr);
913 hclgevf_find_mac_node(struct list_head *list, const u8 *mac_addr) argument
918 if (ether_addr_equal(mac_addr, mac_node->mac_addr))
989 ether_addr_copy(mac_node->mac_addr, addr);
1046 ether_addr_copy(send_msg.data, mac_node->mac_addr);
1062 mac_node->mac_addr);
1090 new_node = hclgevf_find_mac_node(mac_list, mac_node->mac_addr);
[all...]
/linux-master/include/net/
H A Dcfg80211.h1395 * entry specified by mac_addr
2236 * @mac_addr: the mac address of the station of interest
2243 int cfg80211_get_station(struct net_device *dev, const u8 *mac_addr,
2247 const u8 *mac_addr,
2663 * @mac_addr: MAC address used with randomisation
2666 * be taken from the @mac_addr
2689 u8 mac_addr[ETH_ALEN] __aligned(2);
2781 * @mac_addr: MAC address used with randomisation
2784 * be taken from the @mac_addr
2823 u8 mac_addr[ETH_ALE
2246 cfg80211_get_station(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo) argument
8339 cfg80211_del_sta(struct net_device *dev, const u8 *mac_addr, gfp_t gfp) argument
[all...]
/linux-master/drivers/net/ethernet/ibm/ehea/
H A Dehea_phyp.c578 u64 mac_addr = mc_mac_addr >> 16; local
582 r7_mc_mac_addr = EHEA_BMASK_SET(H_REGBCMC_MACADDR, mac_addr);
/linux-master/drivers/net/wireless/marvell/libertas_tf/
H A Dcmd.c365 int lbtf_set_mac_address(struct lbtf_private *priv, uint8_t *mac_addr) argument
373 memcpy(cmd.macadd, mac_addr, ETH_ALEN);
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c241 * @mac_addr: pointer to storage for retrieved MAC address
243 static s32 ixgbevf_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) argument
245 ether_addr_copy(mac_addr, hw->mac.perm_addr);
/linux-master/drivers/net/usb/
H A Dasix_common.c776 memcpy(data->mac_addr, addr->sa_data, ETH_ALEN);
778 data->mac_addr);
/linux-master/net/wireless/
H A Dpmsr.c308 err = nl80211_parse_random_mac(info->attrs, req->mac_addr,
313 memcpy(req->mac_addr, wdev_address(wdev), ETH_ALEN);
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dwow.c254 memcpy(pno->mac_addr, nd_config->mac_addr, ETH_ALEN);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h445 u8 mac_addr[ETH_ALEN]; member in struct:hclge_mac_mgr_tbl_entry_cmd
590 u8 mac_addr[ETH_ALEN]; member in struct:hclge_mac_ethertype_idx_rd_cmd

Completed in 700 milliseconds

<<11121314151617181920>>