/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_core.c | 1641 struct mac_device_info *mac = priv->hw; local 1646 mac->pcsr = priv->ioaddr; 1647 mac->multicast_filter_bins = priv->plat->multicast_filter_bins; 1648 mac->unicast_filter_entries = priv->plat->unicast_filter_entries; 1649 mac->mcast_bits_log2 = 0; 1651 if (mac->multicast_filter_bins) 1652 mac->mcast_bits_log2 = ilog2(mac->multicast_filter_bins); 1654 mac->link.caps = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | 1657 mac 1681 struct mac_device_info *mac = priv->hw; local [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/ |
H A D | base.c | 307 /* <1> use mac->bands as mem for hw->wiphy->bands */ 318 /* <4> set mac->sband to wiphy->sband */ 322 /* <1> use mac->bands as mem for hw->wiphy->bands */ 334 /* <4> set mac->sband to wiphy->sband */ 338 /* <1> use mac->bands as mem for hw->wiphy->bands */ 350 /* <4> set mac->sband to wiphy->sband */ 353 /* <1> use mac->bands as mem for hw->wiphy->bands */ 366 /* <4> set mac->sband to wiphy->sband */ 428 /* <6> mac address */ 587 struct rtl_mac *mac local 621 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 780 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 859 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 1316 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 1363 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 1980 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 2037 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 2609 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local [all...] |
H A D | ps.c | 189 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 193 if (mac->opmode != NL80211_IFTYPE_STATION) { 199 if (mac->p2p_in_use) 202 if (mac->link_state > MAC80211_NOLINK) 229 (mac->link_state == MAC80211_NOLINK) && 230 !mac->act_scanning) { 302 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 315 if (mac->link_state != MAC80211_LINKED) 318 if (mac->opmode == NL80211_IFTYPE_ADHOC) 328 struct rtl_mac *mac local 394 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 465 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 547 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 577 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 957 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.c | 64 hw->mac.ops.check_link(hw, &speed, &link_up, false); 145 ret_val = hw->mac.ops.prot_autoc_read(hw, &locked, ®_bp); 221 if (hw->mac.type != ixgbe_mac_X540) { 247 ret_val = hw->mac.ops.prot_autoc_write(hw, reg_bp, locked); 277 hw->phy.media_type = hw->mac.ops.get_media_type(hw); 283 hw->mac.ops.clear_vfta(hw); 286 hw->mac.ops.clear_hw_cntrs(hw); 295 if (hw->mac.ops.setup_fc) { 296 ret_val = hw->mac.ops.setup_fc(hw); 302 switch (hw->mac 764 struct ixgbe_mac_info *mac = &hw->mac; local [all...] |
/linux-master/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_mac.h | 140 u8 mac[ETH_ALEN]; member in struct:tx_status 288 static inline u8 *zd_mac_get_perm_addr(struct zd_mac *mac) argument 290 return mac->hw->wiphy->perm_addr; 293 #define zd_mac_dev(mac) (zd_chip_dev(&(mac)->chip)) 296 void zd_mac_clear(struct zd_mac *mac); 307 int zd_restore_settings(struct zd_mac *mac);
|
/linux-master/drivers/media/common/b2c2/ |
H A D | flexcop-hw-filter.c | 4 * flexcop-hw-filter.c - pid and mac address filtering and control functions 25 void flexcop_set_mac_filter(struct flexcop_device *fc, u8 mac[6]) argument 30 v418.mac_address_418.MAC1 = mac[0]; 31 v418.mac_address_418.MAC2 = mac[1]; 32 v418.mac_address_418.MAC3 = mac[2]; 33 v418.mac_address_418.MAC6 = mac[3]; 34 v41c.mac_address_41c.MAC7 = mac[4]; 35 v41c.mac_address_41c.MAC8 = mac[5];
|
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00config.c | 22 const u8 *mac, const u8 *bssid) 51 memset(conf.mac, 0, sizeof(conf.mac)); 52 if (mac) 53 memcpy(conf.mac, mac, ETH_ALEN); 60 if (mac || (!rt2x00dev->intf_ap_count && !rt2x00dev->intf_sta_count)) 19 rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, struct rt2x00_intf *intf, enum nl80211_iftype type, const u8 *mac, const u8 *bssid) argument
|
/linux-master/crypto/ |
H A D | ccm.c | 21 struct crypto_ahash_spawn mac; member in struct:ccm_instance_ctx 25 struct crypto_ahash *mac; member in struct:crypto_ccm_ctx 93 struct crypto_ahash *mac = ctx->mac; local 103 crypto_ahash_clear_flags(mac, CRYPTO_TFM_REQ_MASK); 104 crypto_ahash_set_flags(mac, crypto_aead_get_flags(aead) & 106 return crypto_ahash_setkey(mac, key, keylen); 190 /* format associated data and compute into mac */ 200 ahash_request_set_tfm(ahreq, ctx->mac); 398 struct crypto_ahash *mac; local 455 struct hash_alg_common *mac; local [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1d.sh | 385 local mac=$1; shift 398 $MZ $h1 -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp -q 417 local mac=$1; shift 423 vxlan_flood_test $mac $dst 10 10 10 436 local mac=$1; shift 440 bridge fdb $add_del dev $dev $mac self static permanent \ 442 bridge fdb $add_del dev $dev $mac master static 2>/dev/null 447 local mac=$1; shift 457 vxlan_flood_test $mac $dst "${expects[@]}" 680 local mac [all...] |
H A D | bridge_port_isolation.sh | 130 local mac=de:ad:be:ef:13:37 134 flood_test_do false $mac $ip $h1 $h2 138 flood_test_do true $mac $ip $h3 $h2
|
/linux-master/drivers/net/phy/ |
H A D | dp83tc811.c | 101 const u8 *mac; local 105 mac = (const u8 *)ndev->dev_addr; 107 if (!is_valid_ether_addr(mac)) 110 /* MAC addresses start with byte 5, but stored in mac[0]. 114 (mac[1] << 8) | mac[0]); 116 (mac[3] << 8) | mac[2]); 118 (mac[5] << 8) | mac[ [all...] |
/linux-master/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.h | 101 static inline unsigned int vnet_hashfn(u8 *mac) argument 103 unsigned int val = mac[4] ^ mac[5];
|
/linux-master/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 103 mac = ("{:02x}:{:02x}:{:02x}".format(i, j, k)) variable 104 src_mac = "e4:11:{:02x}:{}".format(mac_prefix, mac) 105 dst_mac = "e4:12:00:" + mac
|
/linux-master/include/net/ |
H A D | llc.h | 31 unsigned char mac[IFHWADDRLEN]; member in struct:llc_addr 83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0),
|
/linux-master/drivers/net/ethernet/altera/ |
H A D | altera_tse.h | 487 u32 csrrd32(void __iomem *mac, size_t offs) argument 489 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); 494 u16 csrrd16(void __iomem *mac, size_t offs) argument 496 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); 501 u8 csrrd8(void __iomem *mac, size_t offs) argument 503 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); 508 void csrwr32(u32 val, void __iomem *mac, size_t offs) argument 510 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); 516 void csrwr16(u16 val, void __iomem *mac, size_t offs) argument 518 void __iomem *paddr = (void __iomem *)((uintptr_t)mac 524 csrwr8(u8 val, void __iomem *mac, size_t offs) argument [all...] |
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn23xx_pf_device.h | 69 u8 *mac);
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_nvm.c | 143 hw->mac.perm_addr[i] = (u8)(rar_low >> (i * 8)); 146 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); 149 hw->mac.addr[i] = hw->mac.perm_addr[i];
|
/linux-master/arch/mips/sgi-ip22/ |
H A D | ip22-platform.c | 158 eth0_pd.mac[2 * i] = tmp >> 8; 159 eth0_pd.mac[2 * i + 1] = tmp & 0xff; 184 eth1_pd.mac[2 * i] = tmp >> 8; 185 eth1_pd.mac[2 * i + 1] = tmp & 0xff;
|
/linux-master/arch/s390/include/asm/ |
H A D | chsc.h | 28 struct { u8 mac[6]; u16 lnid; } addr_lnid; member in struct:chsc_pnso_naid_l2::__anon30
|
/linux-master/arch/mips/include/asm/mach-rc32434/ |
H A D | rb.h | 51 unsigned char mac[6]; member in struct:korina_device
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | Makefile | 3 iwlmvm-y += fw.o mac80211.o nvm.o ops.o phy-ctxt.o mac-ctxt.o 10 iwlmvm-y += mld-key.o mld-mac.o link.o mld-sta.o mld-mac80211.o
|
/linux-master/include/linux/ |
H A D | hex.h | 33 bool mac_pton(const char *s, u8 *mac);
|
/linux-master/net/llc/ |
H A D | llc_if.c | 73 * @lmac: local mac address 74 * @dmac: destination mac address 93 memcpy(daddr.mac, dmac, sizeof(daddr.mac)); 94 memcpy(laddr.mac, lmac, sizeof(laddr.mac));
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | Makefile | 8 mac.o \
|
/linux-master/drivers/vdpa/pds/ |
H A D | vdpa_dev.h | 42 u8 mac[ETH_ALEN]; /* mac selected when the device was added */ member in struct:pds_vdpa_device
|