/linux-master/include/linux/ |
H A D | ks8851_mll.h | 18 u8 mac_addr[ETH_ALEN]; member in struct:ks8851_mll_platform_data
|
H A D | sh_eth.h | 14 unsigned char mac_addr[ETH_ALEN]; member in struct:sh_eth_plat_data
|
H A D | davinci_emac.h | 22 char mac_addr[ETH_ALEN]; member in struct:emac_platform_data
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | cpsw-common.c | 15 int slave, u8 *mac_addr) 31 mac_addr[0] = (macid_msb >> 16) & 0xff; 32 mac_addr[1] = (macid_msb >> 8) & 0xff; 33 mac_addr[2] = macid_msb & 0xff; 34 mac_addr[3] = (macid_lsb >> 16) & 0xff; 35 mac_addr[4] = (macid_lsb >> 8) & 0xff; 36 mac_addr[5] = macid_lsb & 0xff; 42 u8 *mac_addr) 58 mac_addr[5] = (macid_lo >> 8) & 0xff; 59 mac_addr[ 14 davinci_emac_3517_get_macid(struct device *dev, u16 offset, int slave, u8 *mac_addr) argument 41 cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, u8 *mac_addr) argument 68 ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr) argument [all...] |
H A D | cpsw.h | 24 int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr);
|
H A D | davinci_emac.c | 311 char mac_addr[6]; member in struct:emac_priv 606 * @mac_addr: mac address to delete from hash table 611 static int emac_hash_add(struct emac_priv *priv, u8 *mac_addr) argument 616 u32 hash_value = hash_get(mac_addr); 648 * @mac_addr: mac address to delete from hash table 653 static int emac_hash_del(struct emac_priv *priv, u8 *mac_addr) argument 658 hash_value = hash_get(mac_addr); 691 * @mac_addr: mac address to set 696 static void emac_add_mcast(struct emac_priv *priv, u32 action, u8 *mac_addr) argument 703 update = emac_hash_add(priv, mac_addr); 1030 emac_set_type0addr(struct emac_priv *priv, u32 ch, char *mac_addr) argument 1057 emac_set_type1addr(struct emac_priv *priv, u32 ch, char *mac_addr) argument 1081 emac_set_type2addr(struct emac_priv *priv, u32 ch, char *mac_addr, int index, int match) argument 1105 emac_setmac(struct emac_priv *priv, u32 ch, char *mac_addr) argument 1786 davinci_emac_try_get_mac(struct platform_device *pdev, int instance, u8 *mac_addr) argument [all...] |
/linux-master/include/linux/platform_data/ |
H A D | wiznet.h | 13 u8 mac_addr[ETH_ALEN]; member in struct:wiznet_platform_data
|
H A D | xilinx-ll-temac.h | 12 u8 mac_addr[ETH_ALEN]; /* MAC address (6 bytes) */ member in struct:ll_temac_platform_data
|
/linux-master/drivers/staging/vt6656/ |
H A D | key.c | 34 static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, argument 46 if (mac_addr) 47 bssid = mac_addr; 100 u8 *mac_addr = NULL; local 104 mac_addr = &sta->addr[0]; 109 vnt_set_keymode(hw, mac_addr, key, VNT_KEY_DEFAULTKEY, 114 return vnt_set_keymode(hw, mac_addr, key, VNT_KEY_DEFAULTKEY, 137 return vnt_set_keymode(hw, mac_addr, key, VNT_KEY_PAIRWISE, 140 return vnt_set_keymode(hw, mac_addr, key,
|
/linux-master/drivers/staging/vt6655/ |
H A D | key.c | 17 static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, argument 29 if (mac_addr) 30 bssid = mac_addr; 93 u8 *mac_addr = NULL; local 99 mac_addr = &sta->addr[0]; 112 vnt_set_keymode(hw, mac_addr, 132 vnt_set_keymode(hw, mac_addr, 135 vnt_set_keymode(hw, mac_addr,
|
/linux-master/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_driver.c | 156 netdev_dbg(ndev, "Old Ethernet (MAC) address = %pM\n", mac->mac_addr); 157 if (is_valid_ether_addr(mac->mac_addr)) { 164 ether_addr_copy(mac->mac_addr, ndev->dev_addr); 206 static void spl2sw_check_mac_vendor_id_and_convert(u8 *mac_addr) argument 212 if (mac_addr[5] == 0xfc && mac_addr[4] == 0x4b && mac_addr[3] == 0xbc && 213 (mac_addr[0] != 0xfc || mac_addr[1] != 0x4b || mac_addr[ 262 spl2sw_init_netdev(struct platform_device *pdev, u8 *mac_addr, struct net_device **r_ndev) argument 329 u8 mac_addr[ETH_ALEN]; local [all...] |
H A D | spl2sw_mac.c | 60 writel((mac->mac_addr[0] << 0) + (mac->mac_addr[1] << 8), 62 writel((mac->mac_addr[2] << 0) + (mac->mac_addr[3] << 8) + 63 (mac->mac_addr[4] << 16) + (mac->mac_addr[5] << 24), 95 writel((mac->mac_addr[0] << 0) + (mac->mac_addr[1] << 8), 97 writel((mac->mac_addr[2] << 0) + (mac->mac_addr[ [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/ |
H A D | cam.h | 17 u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, 20 int rtl_cam_delete_one_entry(struct ieee80211_hw *hw, u8 *mac_addr,
|
H A D | cam.c | 21 u8 *mac_addr, u8 *key_cont_128, u16 us_config) 38 target_content = (u32) (*(mac_addr + 0)) << 16 | 39 (u32) (*(mac_addr + 1)) << 24 | (u32) us_config; 57 target_content = (u32) (*(mac_addr + 5)) << 24 | 58 (u32) (*(mac_addr + 4)) << 16 | 59 (u32) (*(mac_addr + 3)) << 8 | 60 (u32) (*(mac_addr + 2)); 97 u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, argument 107 ul_default_key, mac_addr); 120 rtl_cam_program_entry(hw, ul_entry_idx, mac_addr, 20 rtl_cam_program_entry(struct ieee80211_hw *hw, u32 entry_no, u8 *mac_addr, u8 *key_cont_128, u16 us_config) argument 130 rtl_cam_delete_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, u32 ul_key_id) argument [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | treeboot-akebono.c | 48 static long long unsigned mac_addr; variable 87 if (mac_addr) 89 ((u8 *) &mac_addr) + 2 , 6); 113 mac_addr = strtoull(&userdata[i + 15], &end, 16);
|
/linux-master/include/net/ |
H A D | ax88796.h | 29 u8 *mac_addr; /* MAC addr (only used when member in struct:ax_plat_data
|
H A D | bond_3ad.h | 21 typedef struct mac_addr { struct 105 struct mac_addr actor_system; 114 struct mac_addr partner_system; 142 struct mac_addr requester_system; /* The requester's system id */ 181 struct mac_addr aggregator_mac_address; 186 struct mac_addr partner_system; 199 struct mac_addr system; 211 struct mac_addr actor_system; /* This parameter is added here although it is not specified in the standard, just for simplification */ 251 struct mac_addr sys_mac_addr;
|
/linux-master/drivers/net/fddi/skfp/ |
H A D | smtinit.c | 22 void init_fddi_driver(struct s_smc *smc, const u_char *mac_addr); 60 int init_smt(struct s_smc *smc, const u_char *mac_addr) argument 61 /* u_char *mac_addr; canonical address or NULL */ 89 init_fddi_driver(smc,mac_addr) ; /* HW driver */
|
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 178 memcpy(entry->mac_addr, nentry->mac_addr, 179 ARRAY_SIZE(entry->mac_addr)); 229 u8 *mac_addr = entry->mac_addr; local 233 loffset + i, mac_addr[0], mac_addr[1], mac_addr[2], 234 mac_addr[3], mac_addr[ [all...] |
/linux-master/include/linux/dsa/ |
H A D | lan9303.h | 15 u8 mac_addr[ETH_ALEN]; member in struct:lan9303_alr_cache_entry
|
/linux-master/arch/mips/include/asm/mach-bcm63xx/ |
H A D | bcm63xx_dev_enet.h | 14 char mac_addr[ETH_ALEN]; member in struct:bcm63xx_enet_platform_data 85 char mac_addr[ETH_ALEN]; member in struct:bcm63xx_enetsw_platform_data
|
/linux-master/include/uapi/linux/ |
H A D | atmlec.h | 64 unsigned char mac_addr[ETH_ALEN]; member in struct:atmlec_msg::__anon12595::__anon12596 78 unsigned char mac_addr[ETH_ALEN]; /* dst mac addr */ member in struct:atmlec_msg::__anon12595::__anon12597
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8851b.h | 15 u8 mac_addr[ETH_ALEN]; member in struct:rtw8851bu_efuse 19 u8 mac_addr[ETH_ALEN]; member in struct:rtw8851be_efuse
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdp_redirect_multi.c | 45 static int get_mac_addr(unsigned int ifindex, void *mac_addr) argument 63 memcpy(mac_addr, ifr.ifr_hwaddr.sa_data, 6 * sizeof(char)); 90 unsigned char mac_addr[6]; local 190 ret = get_mac_addr(ifindex, mac_addr); 195 ret = bpf_map_update_elem(mac_map, &ifindex, mac_addr, 0);
|
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_ioc.c | 51 u8 mac_addr[6] = {0}; local 53 err = read_eeprom_bytes(mantis, 0x08, mac_addr, 6); 60 dprintk(MANTIS_ERROR, 0, " MAC Address=[%pM]\n", mac_addr);
|