| /Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/ | 
| D | zd_mac.c | 152 	struct zd_mac *mac = zd_hw_mac(hw);  in zd_check_signal()  local170 	struct zd_mac *mac = zd_hw_mac(hw);  in zd_mac_preinit_hw()  local
 184 	struct zd_mac *mac = zd_hw_mac(hw);  in zd_mac_init_hw()  local
 222 void zd_mac_clear(struct zd_mac *mac)  in zd_mac_clear()
 229 static int set_rx_filter(struct zd_mac *mac)  in set_rx_filter()
 242 static int set_mac_and_bssid(struct zd_mac *mac)  in set_mac_and_bssid()
 262 static int set_mc_hash(struct zd_mac *mac)  in set_mc_hash()
 271 	struct zd_mac *mac = zd_hw_mac(hw);  in zd_op_start()  local
 331 	struct zd_mac *mac = zd_hw_mac(hw);  in zd_op_stop()  local
 357 int zd_restore_settings(struct zd_mac *mac)  in zd_restore_settings()
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/ethernet/pasemi/ | 
| D | pasemi_mac.c | 83 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg)  in read_mac_reg()88 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg,  in write_mac_reg()
 104 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac)  in rx_ring()
 109 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac)  in tx_ring()
 124 static int mac_to_intf(struct pasemi_mac *mac)  in mac_to_intf()
 152 static void pasemi_mac_intf_disable(struct pasemi_mac *mac)  in pasemi_mac_intf_disable()
 161 static void pasemi_mac_intf_enable(struct pasemi_mac *mac)  in pasemi_mac_intf_enable()
 170 static int pasemi_get_mac_addr(struct pasemi_mac *mac)  in pasemi_get_mac_addr()
 217 	struct pasemi_mac *mac = netdev_priv(dev);  in pasemi_mac_set_mac_addr()  local
 242 static int pasemi_mac_unmap_tx_skb(struct pasemi_mac *mac,  in pasemi_mac_unmap_tx_skb()
 [all …]
 
 | 
| D | pasemi_mac_ethtool.c | 57 	struct pasemi_mac *mac = netdev_priv(netdev);  in pasemi_mac_ethtool_get_msglevel()  local65 	struct pasemi_mac *mac = netdev_priv(netdev);  in pasemi_mac_ethtool_set_msglevel()  local
 74 	struct pasemi_mac *mac = netdev_priv(netdev);  in pasemi_mac_ethtool_get_ringparam()  local
 95 	struct pasemi_mac *mac = netdev_priv(netdev);  in pasemi_mac_get_ethtool_stats()  local
 
 | 
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/ | 
| D | xgmac.c | 41 static inline int macidx(const struct cmac *mac)  in macidx()46 static void xaui_serdes_reset(struct cmac *mac)  in xaui_serdes_reset()
 70 void t3b_pcs_reset(struct cmac *mac)  in t3b_pcs_reset()
 79 int t3_mac_reset(struct cmac *mac)  in t3_mac_reset()
 150 static int t3b2_mac_reset(struct cmac *mac)  in t3b2_mac_reset()
 230 static void set_addr_filter(struct cmac *mac, int idx, const u8 * addr)  in set_addr_filter()
 243 int t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6])  in t3_mac_set_address()
 256 int t3_mac_set_num_ucast(struct cmac *mac, int n)  in t3_mac_set_num_ucast()
 264 void t3_mac_disable_exact_filters(struct cmac *mac)  in t3_mac_disable_exact_filters()
 275 void t3_mac_enable_exact_filters(struct cmac *mac)  in t3_mac_enable_exact_filters()
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/ | 
| D | core.c | 34 	struct qtnf_wmac *mac = NULL;  in qtnf_core_get_mac()  local76 	struct qtnf_wmac *mac;  in qtnf_netdev_hard_start_xmit()  local
 154 	struct qtnf_wmac *mac;  in qtnf_netdev_tx_timeout()  local
 211 				     struct qtnf_wmac *mac,  in qtnf_mac_init_single_band()
 234 static int qtnf_mac_init_bands(struct qtnf_wmac *mac)  in qtnf_mac_init_bands()
 258 struct qtnf_vif *qtnf_mac_get_free_vif(struct qtnf_wmac *mac)  in qtnf_mac_get_free_vif()
 272 struct qtnf_vif *qtnf_mac_get_base_vif(struct qtnf_wmac *mac)  in qtnf_mac_get_base_vif()
 284 void qtnf_mac_iface_comb_free(struct qtnf_wmac *mac)  in qtnf_mac_iface_comb_free()
 301 void qtnf_mac_ext_caps_free(struct qtnf_wmac *mac)  in qtnf_mac_ext_caps_free()
 335 static void qtnf_mac_init_primary_intf(struct qtnf_wmac *mac)  in qtnf_mac_init_primary_intf()
 [all …]
 
 | 
| D | cfg80211.c | 77 	struct qtnf_wmac *mac;  in qtnf_validate_iface_combinations()  local186 	struct qtnf_wmac *mac;  in qtnf_add_virtual_intf()  local
 351 	struct qtnf_wmac *mac = wiphy_priv(wiphy);  in qtnf_set_wiphy_params()  local
 460 		 const u8 *mac, struct station_info *sinfo)  in qtnf_get_station()
 470 		  int idx, u8 *mac, struct station_info *sinfo)  in qtnf_dump_station()
 577 		    const u8 *mac, struct station_parameters *params)  in qtnf_change_station()
 614 	struct qtnf_wmac *mac = wiphy_priv(wiphy);  in qtnf_scan()  local
 696 	struct qtnf_wmac *mac = wiphy_priv(wiphy);  in qtnf_disconnect()  local
 730 	struct qtnf_wmac *mac = wiphy_priv(wiphy);  in qtnf_dump_survey()  local
 903 	struct qtnf_wmac *mac = wiphy_priv(wiphy);  in qtnf_suspend()  local
 [all …]
 
 | 
| D | util.c | 17 					   const u8 *mac)  in qtnf_sta_list_lookup()49 					const u8 *mac)  in qtnf_sta_list_add()
 75 bool qtnf_sta_list_del(struct qtnf_vif *vif, const u8 *mac)  in qtnf_sta_list_del()
 
 | 
| D | event.c | 18 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif,  in qtnf_event_handle_sta_assoc()110 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif,  in qtnf_event_handle_sta_deauth()
 448 qtnf_event_handle_scan_complete(struct qtnf_wmac *mac,  in qtnf_event_handle_scan_complete()
 463 qtnf_event_handle_freq_change(struct qtnf_wmac *mac,  in qtnf_event_handle_freq_change()
 620 static int qtnf_event_parse(struct qtnf_wmac *mac,  in qtnf_event_parse()
 694 	struct qtnf_wmac *mac;  in qtnf_event_process_skb()  local
 
 | 
| D | commands.c | 954 qtnf_parse_wowlan_info(struct qtnf_wmac *mac,  in qtnf_parse_wowlan_info()985 qtnf_parse_variable_mac_info(struct qtnf_wmac *mac,  in qtnf_parse_variable_mac_info()
 1234 qtnf_cmd_resp_proc_mac_info(struct qtnf_wmac *mac,  in qtnf_cmd_resp_proc_mac_info()
 1476 static int qtnf_cmd_resp_proc_phy_params(struct qtnf_wmac *mac,  in qtnf_cmd_resp_proc_phy_params()
 1598 int qtnf_cmd_get_mac_info(struct qtnf_wmac *mac)  in qtnf_cmd_get_mac_info()
 1657 int qtnf_cmd_band_info_get(struct qtnf_wmac *mac,  in qtnf_cmd_band_info_get()
 1699 int qtnf_cmd_send_get_phy_params(struct qtnf_wmac *mac)  in qtnf_cmd_send_get_phy_params()
 1728 int qtnf_cmd_send_update_phy_params(struct qtnf_wmac *mac, u32 changed)  in qtnf_cmd_send_update_phy_params()
 1966 int qtnf_cmd_send_change_sta(struct qtnf_vif *vif, const u8 *mac,  in qtnf_cmd_send_change_sta()
 2084 static void qtnf_cmd_scan_set_dwell(struct qtnf_wmac *mac,  in qtnf_cmd_scan_set_dwell()
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/ | 
| D | vsc7326.c | 361 static int mac_intr_handler(struct cmac *mac)  in mac_intr_handler()366 static int mac_intr_enable(struct cmac *mac)  in mac_intr_enable()
 371 static int mac_intr_disable(struct cmac *mac)  in mac_intr_disable()
 376 static int mac_intr_clear(struct cmac *mac)  in mac_intr_clear()
 382 static int mac_set_address(struct cmac* mac, u8 addr[6])  in mac_set_address()
 405 static int mac_get_address(struct cmac *mac, u8 addr[6])  in mac_get_address()
 423 static int mac_reset(struct cmac *mac)  in mac_reset()
 433 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm)  in mac_set_rx_mode()
 450 static int mac_set_mtu(struct cmac *mac, int mtu)  in mac_set_mtu()
 459 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex,  in mac_set_speed_duplex_fc()
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/ethernet/mediatek/ | 
| D | mtk_eth_soc.c | 193 	struct mtk_mac *mac = container_of(config, struct mtk_mac,  in mtk_mac_config()  local367 	struct mtk_mac *mac = container_of(config, struct mtk_mac,  in mtk_mac_link_state()  local
 400 	struct mtk_mac *mac = container_of(config, struct mtk_mac,  in mtk_mac_an_restart()  local
 409 	struct mtk_mac *mac = container_of(config, struct mtk_mac,  in mtk_mac_link_down()  local
 421 	struct mtk_mac *mac = container_of(config, struct mtk_mac,  in mtk_mac_link_up()  local
 433 	struct mtk_mac *mac = container_of(config, struct mtk_mac,  in mtk_validate()  local
 615 	struct mtk_mac *mac = netdev_priv(dev);  in mtk_set_mac_address()  local
 644 void mtk_stats_update_mac(struct mtk_mac *mac)  in mtk_stats_update_mac()
 693 	struct mtk_mac *mac = netdev_priv(dev);  in mtk_get_stats64()  local
 888 	struct mtk_mac *mac = netdev_priv(dev);  in mtk_tx_map()  local
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ | 
| D | mpfs.h | 52 #define l2addr_hash_find(hash, mac, type) ({                \  argument67 #define l2addr_hash_add(hash, mac, type, gfp) ({            \  argument
 92 static inline int  mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; }  in mlx5_mpfs_add_mac()
 93 static inline int  mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; }  in mlx5_mpfs_del_mac()
 
 | 
| D | mpfs.c | 41 static int set_l2table_entry_cmd(struct mlx5_core_dev *dev, u32 index, u8 *mac)  in set_l2table_entry_cmd()134 int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac)  in mlx5_mpfs_add_mac()
 181 int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac)  in mlx5_mpfs_del_mac()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/intel/e1000e/ | 
| D | mac.c | 16 	struct e1000_mac_info *mac = &hw->mac;  in e1000e_get_bus_info_pcie()  local398 	struct e1000_mac_info *mac = &hw->mac;  in e1000e_check_for_copper_link()  local
 461 	struct e1000_mac_info *mac = &hw->mac;  in e1000e_check_for_fiber_link()  local
 526 	struct e1000_mac_info *mac = &hw->mac;  in e1000e_check_for_serdes_link()  local
 723 	struct e1000_mac_info *mac = &hw->mac;  in e1000_commit_fc_settings_generic()  local
 789 	struct e1000_mac_info *mac = &hw->mac;  in e1000_poll_fiber_serdes_link_generic()  local
 1003 	struct e1000_mac_info *mac = &hw->mac;  in e1000e_config_fc_after_link_up()  local
 1468 	struct e1000_mac_info *mac = &hw->mac;  in e1000e_id_led_init_generic()  local
 1729 	struct e1000_mac_info *mac = &hw->mac;  in e1000e_reset_adaptive()  local
 1755 	struct e1000_mac_info *mac = &hw->mac;  in e1000e_update_adaptive()  local
 
 | 
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ | 
| D | dm.c | 132 	struct rtl_mac *mac = rtl_mac(rtlpriv);  in rtl8723e_dm_initial_gain_min_pwdb()  local276 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl8723e_dm_initial_gain_multi_sta()  local
 418 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl8723e_dm_ctrl_initgain_by_twoport()  local
 456 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl8723e_dm_dynamic_txpower()  local
 556 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl8723e_dm_check_edca_turbo()  local
 670 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl8723e_dm_refresh_rate_adaptive_mask()  local
 825 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl8723e_dm_dynamic_bb_powersaving()  local
 
 | 
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/ | 
| D | core.c | 148 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_op_stop()  local212 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_op_add_interface()  local
 321 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_op_remove_interface()  local
 421 	struct rtl_mac *mac = &rtlpriv->mac80211;  in _rtl_add_wowlan_patterns()  local
 557 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_op_resume()  local
 582 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_op_config()  local
 801 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_op_configure_filter()  local
 894 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_op_sta_add()  local
 987 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_op_conf_tx()  local
 1026 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_op_bss_info_changed()  local
 [all …]
 
 | 
| D | ps.c | 193 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_ips_nic_off_wq_callback()  local306 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_get_fwlps_doze()  local
 332 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_lps_set_psmode()  local
 398 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_lps_enter_core()  local
 469 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_swlps_beacon()  local
 551 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_swlps_rf_awake()  local
 581 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_swlps_rf_sleep()  local
 977 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in rtl_p2p_info()  local
 
 | 
| /Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/ | 
| D | hwif.c | 28 	struct mac_device_info *mac = priv->hw;  in stmmac_dwmac_mode_quirk()  local43 	struct mac_device_info *mac = priv->hw;  in stmmac_dwmac1_quirks()  local
 80 	const void *mac;  member
 224 	struct mac_device_info *mac;  in stmmac_hwif_init()  local
 
 | 
| /Linux-v5.4/drivers/staging/netlogic/ | 
| D | platform_net.c | 67 	int mac;  in gmac_controller2_init()  local107 	int mac;  in xls_gmac_init()  local
 173 	int mac;  in xlr_gmac_init()  local
 
 | 
| /Linux-v5.4/drivers/net/ethernet/ti/ | 
| D | cpsw.h | 13 #define mac_hi(mac)	(((mac)[0] << 0) | ((mac)[1] << 8) |	\  argument15 #define mac_lo(mac)	(((mac)[4] << 0) | ((mac)[5] << 8))  argument
 
 | 
| /Linux-v5.4/samples/bpf/ | 
| D | xdp_router_ipv4_user.c | 76 	__be64 mac = 0;  in getmac()  local135 		__be64 mac;  in read_route()  member
 138 		__be64 mac;  in read_route()  member
 145 		__be64 mac;  in read_route()  member
 380 	char dsts[24], mac[24];  in read_arp()  local
 385 		__be64 mac;  in read_arp()  member
 391 		__be64 mac;  in read_arp()  member
 
 | 
| /Linux-v5.4/drivers/net/ethernet/samsung/sxgbe/ | 
| D | sxgbe_platform.c | 29 				 const char **mac)  in sxgbe_probe_config_dt()64 				 const char **mac)  in sxgbe_probe_config_dt()
 85 	const char *mac = NULL;  in sxgbe_platform_probe()  local
 
 | 
| /Linux-v5.4/drivers/net/ethernet/intel/igc/ | 
| D | igc_base.c | 130 	struct igc_mac_info *mac = &hw->mac;  in igc_init_mac_params_base()  local206 	struct igc_mac_info *mac = &hw->mac;  in igc_get_invariants_base()  local
 283 	struct igc_mac_info *mac = &hw->mac;  in igc_init_hw_base()  local
 
 | 
| /Linux-v5.4/drivers/net/wireless/marvell/mwifiex/ | 
| D | tdls.c | 30 					 const u8 *mac, u8 status)  in mwifiex_restore_tdls_packets()85 				      const u8 *mac)  in mwifiex_hold_tdls_packets()
 186 mwifiex_tdls_add_ht_oper(struct mwifiex_private *priv, const u8 *mac,  in mwifiex_tdls_add_ht_oper()
 234 				     const u8 *mac, struct sk_buff *skb)  in mwifiex_tdls_add_vht_oper()
 1171 int mwifiex_get_tdls_link_status(struct mwifiex_private *priv, const u8 *mac)  in mwifiex_get_tdls_link_status()
 1246 	u8 mac[ETH_ALEN];  in mwifiex_tdls_check_tx()  local
 1299 void mwifiex_add_auto_tdls_peer(struct mwifiex_private *priv, const u8 *mac)  in mwifiex_add_auto_tdls_peer()
 1332 					  const u8 *mac, u8 link_status)  in mwifiex_auto_tdls_update_peer_status()
 1356 					  u8 *mac, s8 snr, s8 nflr)  in mwifiex_auto_tdls_update_peer_signal()
 
 | 
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ | 
| D | dm.c | 49 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in _rtl92s_dm_check_edca_turbo()  local205 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in _rtl92s_dm_refresh_rateadaptive_mask()  local
 290 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in _rtl92s_dm_switch_baseband_mrc()  local
 563 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));  in _rtl92s_dm_dynamic_txpower()  local
 
 |