/Linux-v6.1/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 …]
|
/Linux-v6.1/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 76 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_get_ringparam() local 97 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_get_ethtool_stats() local
|
/Linux-v6.1/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, const 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-v6.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 20 static int dpaa2_mac_cmp_ver(struct dpaa2_mac *mac, in dpaa2_mac_cmp_ver() 28 static void dpaa2_mac_detect_features(struct dpaa2_mac *mac) in dpaa2_mac_detect_features() 149 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_select_pcs() local 157 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_config() local 192 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_link_up() local 226 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_link_down() local 245 static int dpaa2_pcs_create(struct dpaa2_mac *mac, in dpaa2_pcs_create() 280 static void dpaa2_pcs_destroy(struct dpaa2_mac *mac) in dpaa2_pcs_destroy() 294 static void dpaa2_mac_set_supported_interfaces(struct dpaa2_mac *mac) in dpaa2_mac_set_supported_interfaces() 337 void dpaa2_mac_start(struct dpaa2_mac *mac) in dpaa2_mac_start() [all …]
|
/Linux-v6.1/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 141 struct qtnf_wmac *mac; in qtnf_netdev_tx_timeout() local 225 struct qtnf_wmac *mac, in qtnf_mac_init_single_band() 248 static int qtnf_mac_init_bands(struct qtnf_wmac *mac) in qtnf_mac_init_bands() 272 struct qtnf_vif *qtnf_mac_get_free_vif(struct qtnf_wmac *mac) in qtnf_mac_get_free_vif() 286 struct qtnf_vif *qtnf_mac_get_base_vif(struct qtnf_wmac *mac) in qtnf_mac_get_base_vif() 298 void qtnf_mac_iface_comb_free(struct qtnf_wmac *mac) in qtnf_mac_iface_comb_free() 315 void qtnf_mac_ext_caps_free(struct qtnf_wmac *mac) in qtnf_mac_ext_caps_free() 349 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 375 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_set_wiphy_params() local 486 const u8 *mac, struct station_info *sinfo) in qtnf_get_station() 496 int idx, u8 *mac, struct station_info *sinfo) in qtnf_dump_station() 605 const u8 *mac, struct station_parameters *params) in qtnf_change_station() 642 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_scan() local 716 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_disconnect() local 747 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_dump_survey() local 905 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_set_tx_power() 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 | 19 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() 102 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() 421 qtnf_event_handle_scan_complete(struct qtnf_wmac *mac, in qtnf_event_handle_scan_complete() 436 qtnf_event_handle_freq_change(struct qtnf_wmac *mac, in qtnf_event_handle_freq_change() 675 static int qtnf_event_parse(struct qtnf_wmac *mac, in qtnf_event_parse() 759 struct qtnf_wmac *mac; in qtnf_event_process_skb() local
|
/Linux-v6.1/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, const 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-v6.1/drivers/net/wireless/purelifi/plfxlc/ |
D | mac.c | 88 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_mac_init_hw() local 103 void plfxlc_mac_release(struct plfxlc_mac *mac) in plfxlc_mac_release() 117 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_op_stop() local 122 int plfxlc_restore_settings(struct plfxlc_mac *mac) in plfxlc_restore_settings() 181 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_mac_tx_to_dev() local 205 static int plfxlc_fill_ctrlset(struct plfxlc_mac *mac, struct sk_buff *skb) in plfxlc_fill_ctrlset() 291 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_op_tx() local 348 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_filter_ack() local 403 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_mac_rx() local 506 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_op_add_interface() local [all …]
|
/Linux-v6.1/drivers/net/ethernet/sunplus/ |
D | spl2sw_driver.c | 27 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_open() local 51 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_stop() local 68 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_start_xmit() local 141 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_set_rx_mode() local 148 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_set_mac_address() local 170 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_tx_timeout() local 226 u8 *mac; in spl2sw_nvmem_get_mac_address() local 266 struct spl2sw_mac *mac; in spl2sw_init_netdev() local 328 struct spl2sw_mac *mac; in spl2sw_probe() local
|
D | spl2sw_mac.c | 53 int spl2sw_mac_addr_add(struct spl2sw_mac *mac) in spl2sw_mac_addr_add() 88 int spl2sw_mac_addr_del(struct spl2sw_mac *mac) in spl2sw_mac_addr_del() 218 void spl2sw_mac_rx_mode_set(struct spl2sw_mac *mac) in spl2sw_mac_rx_mode_set()
|
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_mdb.c | 16 unsigned char mac[ETH_ALEN]; member 57 const unsigned char *mac, in lan966x_mdb_entry_get() 89 static void lan966x_mdb_encode_mac(unsigned char *mac, in lan966x_mdb_encode_mac() 112 unsigned char mac[ETH_ALEN]; in lan966x_mdb_ip_add() local 147 unsigned char mac[ETH_ALEN]; in lan966x_mdb_ip_del() local 256 unsigned char mac[ETH_ALEN]; in lan966x_mdb_l2_add() local 305 unsigned char mac[ETH_ALEN]; in lan966x_mdb_l2_del() local 355 lan966x_mdb_classify(const unsigned char *mac) in lan966x_mdb_classify() 402 unsigned char mac[ETH_ALEN]; in lan966x_mdb_ip_cpu_copy() local 414 unsigned char mac[ETH_ALEN]; in lan966x_mdb_l2_cpu_copy() local [all …]
|
/Linux-v6.1/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 382 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_select_pcs() local 401 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_config() local 549 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_finish() local 576 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_pcs_get_state() local 608 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_down() local 621 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_up() local 757 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_mac_address() local 786 void mtk_stats_update_mac(struct mtk_mac *mac) in mtk_stats_update_mac() 856 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_stats64() local 1095 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_set_dma_desc_v1() local [all …]
|
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc_hw.h | 282 #define ENETC_PM_REOCT(mac) (0x8100 + 0x1000 * (mac)) argument 283 #define ENETC_PM_RALN(mac) (0x8110 + 0x1000 * (mac)) argument 284 #define ENETC_PM_RXPF(mac) (0x8118 + 0x1000 * (mac)) argument 285 #define ENETC_PM_RFRM(mac) (0x8120 + 0x1000 * (mac)) argument 286 #define ENETC_PM_RFCS(mac) (0x8128 + 0x1000 * (mac)) argument 287 #define ENETC_PM_RVLAN(mac) (0x8130 + 0x1000 * (mac)) argument 288 #define ENETC_PM_RERR(mac) (0x8138 + 0x1000 * (mac)) argument 289 #define ENETC_PM_RUCA(mac) (0x8140 + 0x1000 * (mac)) argument 290 #define ENETC_PM_RMCA(mac) (0x8148 + 0x1000 * (mac)) argument 291 #define ENETC_PM_RBCA(mac) (0x8150 + 0x1000 * (mac)) argument [all …]
|
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_dmac_flt.c | 10 static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_do_add() 74 int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) in otx2_dmacflt_add() 89 static int otx2_dmacflt_do_remove(struct otx2_nic *pfvf, const u8 *mac, in otx2_dmacflt_do_remove() 129 int otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_remove() 177 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) in otx2_dmacflt_update()
|
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-ingenic.c | 76 struct ingenic_mac *mac = plat_dat->bsp_priv; in ingenic_mac_init() local 90 struct ingenic_mac *mac = plat_dat->bsp_priv; in jz4775_mac_set_mode() local 132 struct ingenic_mac *mac = plat_dat->bsp_priv; in x1000_mac_set_mode() local 150 struct ingenic_mac *mac = plat_dat->bsp_priv; in x1600_mac_set_mode() local 170 struct ingenic_mac *mac = plat_dat->bsp_priv; in x1830_mac_set_mode() local 191 struct ingenic_mac *mac = plat_dat->bsp_priv; in x2000_mac_set_mode() local 236 struct ingenic_mac *mac; in ingenic_mac_probe() local
|
D | hwif.c | 40 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk() local 55 struct mac_device_info *mac = priv->hw; in stmmac_dwmac1_quirks() local 99 const void *mac; member 263 struct mac_device_info *mac; in stmmac_hwif_init() local
|
/Linux-v6.1/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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | dm.c | 20 struct rtl_mac *mac = rtl_mac(rtlpriv); in rtl8723e_dm_initial_gain_min_pwdb() local 164 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_initial_gain_multi_sta() local 306 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_ctrl_initgain_by_twoport() local 344 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_dynamic_txpower() local 444 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_check_edca_turbo() local 558 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_refresh_rate_adaptive_mask() local 713 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_dm_dynamic_bb_powersaving() local
|
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 150 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local 214 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local 323 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_remove_interface() local 423 struct rtl_mac *mac = &rtlpriv->mac80211; in _rtl_add_wowlan_patterns() local 559 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_resume() local 584 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_config() local 803 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_configure_filter() local 896 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_sta_add() local 990 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_conf_tx() local 1048 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_bss_info_changed() local [all …]
|
D | ps.c | 189 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_ips_nic_off_wq_callback() local 302 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_get_fwlps_doze() local 328 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_lps_set_psmode() local 394 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_lps_enter_core() local 465 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_swlps_beacon() local 547 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_swlps_rf_awake() local 577 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_swlps_rf_sleep() local 972 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_p2p_info() local
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_fltr.c | 222 const u8 *mac, enum ice_sw_fwd_act_type action) in ice_fltr_add_mac_to_list() 301 ice_fltr_prepare_mac(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_prepare_mac() 326 ice_fltr_prepare_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_prepare_mac_and_broadcast() 398 int ice_fltr_add_mac(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_add_mac() 411 ice_fltr_add_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_add_mac_and_broadcast() 424 int ice_fltr_remove_mac(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_remove_mac()
|
/Linux-v6.1/include/linux/mlx5/ |
D | mpfs.h | 14 static inline int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_add_mac() 15 static inline int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_del_mac()
|