/Linux-v4.19/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 164 struct zd_mac *mac = zd_hw_mac(hw); in zd_check_signal() local 182 struct zd_mac *mac = zd_hw_mac(hw); in zd_mac_preinit_hw() local 196 struct zd_mac *mac = zd_hw_mac(hw); in zd_mac_init_hw() local 234 void zd_mac_clear(struct zd_mac *mac) in zd_mac_clear() 242 static int set_rx_filter(struct zd_mac *mac) in set_rx_filter() 255 static int set_mac_and_bssid(struct zd_mac *mac) in set_mac_and_bssid() 275 static int set_mc_hash(struct zd_mac *mac) in set_mc_hash() 284 struct zd_mac *mac = zd_hw_mac(hw); in zd_op_start() local 344 struct zd_mac *mac = zd_hw_mac(hw); in zd_op_stop() local 370 int zd_restore_settings(struct zd_mac *mac) in zd_restore_settings() [all …]
|
/Linux-v4.19/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 94 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg) in read_mac_reg() 99 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg, in write_mac_reg() 115 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac) in rx_ring() 120 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac) in tx_ring() 135 static int mac_to_intf(struct pasemi_mac *mac) in mac_to_intf() 163 static void pasemi_mac_intf_disable(struct pasemi_mac *mac) in pasemi_mac_intf_disable() 172 static void pasemi_mac_intf_enable(struct pasemi_mac *mac) in pasemi_mac_intf_enable() 181 static int pasemi_get_mac_addr(struct pasemi_mac *mac) in pasemi_get_mac_addr() 228 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_set_mac_addr() local 253 static int pasemi_mac_unmap_tx_skb(struct pasemi_mac *mac, in pasemi_mac_unmap_tx_skb() [all …]
|
D | pasemi_mac_ethtool.c | 68 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_get_msglevel() local 76 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_set_msglevel() local 85 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_get_ringparam() local 106 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_get_ethtool_stats() local
|
/Linux-v4.19/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-v4.19/drivers/staging/mt7621-eth/ |
D | ethtool.c | 48 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_link_ksettings() local 67 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_link_ksettings() local 93 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_drvinfo() local 105 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_msglevel() local 112 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_msglevel() local 119 struct mtk_mac *mac = netdev_priv(dev); in mtk_nway_reset() local 129 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_link() local 150 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_ringparam() local 169 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_ringparam() local 205 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_ethtool_stats() local [all …]
|
D | mdio.c | 63 int mtk_connect_phy_node(struct mtk_eth *eth, struct mtk_mac *mac, in mtk_connect_phy_node() 106 static void phy_init(struct mtk_eth *eth, struct mtk_mac *mac, in phy_init() 121 static int mtk_phy_connect(struct mtk_mac *mac) in mtk_phy_connect() 149 static void mtk_phy_disconnect(struct mtk_mac *mac) in mtk_phy_disconnect() 173 static void mtk_phy_start(struct mtk_mac *mac) in mtk_phy_start() 192 static void mtk_phy_stop(struct mtk_mac *mac) in mtk_phy_stop()
|
D | mtk_eth_soc.c | 212 static inline void mtk_hw_set_macaddr(struct mtk_mac *mac, in mtk_hw_set_macaddr() 228 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_mac_address() local 431 void mtk_stats_update_mac(struct mtk_mac *mac) in mtk_stats_update_mac() 483 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_stats64() local 523 struct mtk_mac *mac = netdev_priv(dev); in mtk_vlan_rx_add_vid() local 559 struct mtk_mac *mac = netdev_priv(dev); in mtk_vlan_rx_kill_vid() local 615 struct mtk_mac *mac = netdev_priv(dev); in mtk_pdma_tx_map() local 833 struct mtk_mac *mac = netdev_priv(dev); in mtk_qdma_tx_map() local 977 struct mtk_mac *mac = netdev_priv(dev); in mtk_start_xmit() local 1056 int mac = 0; in mtk_poll_rx() local [all …]
|
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 41 struct qtnf_wmac *mac = NULL; in qtnf_core_get_mac() local 83 struct qtnf_wmac *mac; in qtnf_netdev_hard_start_xmit() local 161 struct qtnf_wmac *mac; in qtnf_netdev_tx_timeout() local 217 struct qtnf_wmac *mac, in qtnf_mac_init_single_band() 240 static int qtnf_mac_init_bands(struct qtnf_wmac *mac) in qtnf_mac_init_bands() 264 struct qtnf_vif *qtnf_mac_get_free_vif(struct qtnf_wmac *mac) in qtnf_mac_get_free_vif() 278 struct qtnf_vif *qtnf_mac_get_base_vif(struct qtnf_wmac *mac) in qtnf_mac_get_base_vif() 290 void qtnf_mac_iface_comb_free(struct qtnf_wmac *mac) in qtnf_mac_iface_comb_free() 328 static void qtnf_mac_init_primary_intf(struct qtnf_wmac *mac) in qtnf_mac_init_primary_intf() 339 static void qtnf_mac_scan_finish(struct qtnf_wmac *mac, bool aborted) in qtnf_mac_scan_finish() [all …]
|
D | cfg80211.c | 88 struct qtnf_wmac *mac; in qtnf_validate_iface_combinations() local 190 struct qtnf_wmac *mac; in qtnf_add_virtual_intf() local 350 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_set_wiphy_params() local 465 const u8 *mac, struct station_info *sinfo) in qtnf_get_station() 475 int idx, u8 *mac, struct station_info *sinfo) in qtnf_dump_station() 563 const u8 *mac, struct station_parameters *params) in qtnf_change_station() 599 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_scan() local 650 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_disconnect() local 688 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_dump_survey() local 865 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_suspend() local [all …]
|
D | event.c | 31 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() 123 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() 348 qtnf_event_handle_scan_complete(struct qtnf_wmac *mac, in qtnf_event_handle_scan_complete() 363 qtnf_event_handle_freq_change(struct qtnf_wmac *mac, in qtnf_event_handle_freq_change() 477 static int qtnf_event_parse(struct qtnf_wmac *mac, in qtnf_event_parse() 547 struct qtnf_wmac *mac; in qtnf_event_process_skb() local
|
D | util.c | 29 const u8 *mac) in qtnf_sta_list_lookup() 61 const u8 *mac) in qtnf_sta_list_add() 87 bool qtnf_sta_list_del(struct qtnf_vif *vif, const u8 *mac) in qtnf_sta_list_del()
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 211 struct mtk_mac *mac = netdev_priv(dev); in mtk_phy_link_adjust() local 274 static int mtk_phy_connect_node(struct mtk_eth *eth, struct mtk_mac *mac, in mtk_phy_connect_node() 303 struct mtk_mac *mac = netdev_priv(dev); in mtk_phy_connect() local 471 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_mac_address() local 491 void mtk_stats_update_mac(struct mtk_mac *mac) in mtk_stats_update_mac() 540 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_stats64() local 684 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_map() local 868 struct mtk_mac *mac = netdev_priv(dev); in mtk_start_xmit() local 979 int mac = 0; in mtk_poll_rx() local 1094 int mac = 0; in mtk_poll_tx() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | mpfs.h | 52 #define l2addr_hash_find(hash, mac, type) ({ \ argument 67 #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()
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 16 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() local 398 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-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | hwif.c | 28 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk() local 43 struct mac_device_info *mac = priv->hw; in stmmac_dwmac1_quirks() local 80 const void *mac; member 216 struct mac_device_info *mac; in stmmac_hwif_init() local
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 170 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local 233 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local 342 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_remove_interface() local 440 struct rtl_mac *mac = &rtlpriv->mac80211; in _rtl_add_wowlan_patterns() local 576 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_resume() local 601 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_config() local 820 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_configure_filter() local 912 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_sta_add() local 1003 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_conf_tx() local 1042 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_bss_info_changed() local [all …]
|
D | ps.c | 215 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_ips_nic_off_wq_callback() local 328 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_get_fwlps_doze() local 354 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_lps_set_psmode() local 420 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_lps_enter_core() local 491 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_swlps_beacon() local 573 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_swlps_rf_awake() local 603 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_swlps_rf_sleep() local 992 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_p2p_info() local
|
/Linux-v4.19/drivers/staging/rtlwifi/ |
D | core.c | 116 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local 180 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local 289 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_remove_interface() local 389 struct rtl_mac *mac = &rtlpriv->mac80211; in _rtl_add_wowlan_patterns() local 525 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_resume() local 548 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_config() local 768 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_configure_filter() local 862 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_sta_add() local 986 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 | 197 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_ips_nic_off_wq_callback() local 310 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_get_fwlps_doze() local 336 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_lps_set_psmode() local 402 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_lps_enter_core() local 472 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_swlps_beacon() local 555 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_swlps_rf_awake() local 585 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_swlps_rf_sleep() local 971 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_p2p_info() local
|
/Linux-v4.19/drivers/staging/rtlwifi/halmac/ |
D | rtl_halmac.c | 752 struct halmac_adapter *mac; in rtl_halmac_self_verify() local 775 struct halmac_adapter *mac; in rtl_halmac_dlfw() local 928 struct halmac_adapter *mac; in rtl_halmac_c2h_handle() local 944 struct halmac_adapter *mac; in rtl_halmac_get_physical_efuse_size() local 963 struct halmac_adapter *mac; in rtl_halmac_read_physical_efuse_map() local 993 struct halmac_adapter *mac; in rtl_halmac_read_physical_efuse() local 1015 struct halmac_adapter *mac; in rtl_halmac_write_physical_efuse() local 1034 struct halmac_adapter *mac; in rtl_halmac_get_logical_efuse_size() local 1053 struct halmac_adapter *mac; in rtl_halmac_read_logical_efuse_map() local 1083 struct halmac_adapter *mac; in rtl_halmac_write_logical_efuse_map() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/ti/ |
D | cpsw.h | 20 #define mac_hi(mac) (((mac)[0] << 0) | ((mac)[1] << 8) | \ argument 22 #define mac_lo(mac) (((mac)[4] << 0) | ((mac)[5] << 8)) argument
|
/Linux-v4.19/drivers/staging/netlogic/ |
D | platform_net.c | 96 int mac; in gmac_controller2_init() local 135 int mac; in xls_gmac_init() local 199 int mac; in xlr_gmac_init() local
|
/Linux-v4.19/samples/bpf/ |
D | xdp_router_ipv4_user.c | 60 __be64 mac = 0; in getmac() local 119 __be64 mac; in read_route() member 122 __be64 mac; in read_route() member 129 __be64 mac; in read_route() member 364 char dsts[24], mac[24]; in read_arp() local 369 __be64 mac; in read_arp() member 375 __be64 mac; in read_arp() member
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | dm.c | 292 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_initial_gain_multi_sta() local 432 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_ctrl_initgain_by_twoport() local 470 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_dynamic_txpower() local 570 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_check_edca_turbo() local 756 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_dynamic_bb_powersaving() local
|