| /kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/ |
| D | zd_mac.c | 152 struct zd_mac *mac = zd_hw_mac(hw); in zd_check_signal() local 170 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 …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-5.10/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() local 65 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
|
| /kernel/linux/linux-4.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
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-4.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() 307 void qtnf_mac_ext_caps_free(struct qtnf_wmac *mac) in qtnf_mac_ext_caps_free() 341 static void qtnf_mac_init_primary_intf(struct qtnf_wmac *mac) in qtnf_mac_init_primary_intf() [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() 570 const u8 *mac, struct station_parameters *params) in qtnf_change_station() 606 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_scan() local 657 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_disconnect() local 695 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_dump_survey() local 872 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()
|
| /kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
| D | core.c | 42 struct qtnf_wmac *mac = NULL; in qtnf_core_get_mac() local 93 struct qtnf_wmac *mac; in qtnf_netdev_hard_start_xmit() local 156 struct qtnf_wmac *mac; in qtnf_netdev_tx_timeout() local 226 struct qtnf_wmac *mac, in qtnf_mac_init_single_band() 249 static int qtnf_mac_init_bands(struct qtnf_wmac *mac) in qtnf_mac_init_bands() 273 struct qtnf_vif *qtnf_mac_get_free_vif(struct qtnf_wmac *mac) in qtnf_mac_get_free_vif() 287 struct qtnf_vif *qtnf_mac_get_base_vif(struct qtnf_wmac *mac) in qtnf_mac_get_base_vif() 299 void qtnf_mac_iface_comb_free(struct qtnf_wmac *mac) in qtnf_mac_iface_comb_free() 316 void qtnf_mac_ext_caps_free(struct qtnf_wmac *mac) in qtnf_mac_ext_caps_free() 350 static void qtnf_mac_init_primary_intf(struct qtnf_wmac *mac) in qtnf_mac_init_primary_intf() [all …]
|
| D | cfg80211.c | 78 struct qtnf_wmac *mac; in qtnf_validate_iface_combinations() local 202 struct qtnf_wmac *mac; in qtnf_add_virtual_intf() local 374 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_set_wiphy_params() local 485 const u8 *mac, struct station_info *sinfo) in qtnf_get_station() 495 int idx, u8 *mac, struct station_info *sinfo) in qtnf_dump_station() 602 const u8 *mac, struct station_parameters *params) in qtnf_change_station() 639 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_scan() local 719 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_disconnect() local 753 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_dump_survey() local 911 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_set_tx_power() local [all …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpaa2-mac.c | 78 static bool dpaa2_mac_phy_mode_mismatch(struct dpaa2_mac *mac, in dpaa2_mac_phy_mode_mismatch() 100 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_validate() local 149 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_config() local 171 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_link_up() local 213 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_link_down() local 257 static int dpaa2_pcs_create(struct dpaa2_mac *mac, in dpaa2_pcs_create() 291 static void dpaa2_pcs_destroy(struct dpaa2_mac *mac) in dpaa2_pcs_destroy() 303 int dpaa2_mac_connect(struct dpaa2_mac *mac) in dpaa2_mac_connect() 397 void dpaa2_mac_disconnect(struct dpaa2_mac *mac) in dpaa2_mac_disconnect() 458 void dpaa2_mac_get_ethtool_stats(struct dpaa2_mac *mac, u64 *data) in dpaa2_mac_get_ethtool_stats()
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.c | 214 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_config() local 378 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_pcs_get_state() local 409 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_an_restart() local 418 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_down() local 431 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_up() local 468 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_validate() local 650 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_mac_address() local 679 void mtk_stats_update_mac(struct mtk_mac *mac) in mtk_stats_update_mac() 749 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_stats64() local 944 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_map() local [all …]
|
| /kernel/linux/linux-4.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()
|
| /kernel/linux/linux-4.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
|
| /kernel/linux/linux-5.10/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
|