Home
last modified time | relevance | path

Searched defs:mac (Results 1 – 25 of 727) sorted by relevance

12345678910>>...30

/linux-6.6.21/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c152 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-6.6.21/drivers/net/ethernet/pasemi/
Dpasemi_mac.c83 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 …]
Dpasemi_mac_ethtool.c57 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-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dxgmac.c41 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-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-mac.c20 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()
155 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_select_pcs() local
163 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_config() local
199 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_link_up() local
233 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_link_down() local
251 static int dpaa2_pcs_create(struct dpaa2_mac *mac, in dpaa2_pcs_create()
289 static void dpaa2_pcs_destroy(struct dpaa2_mac *mac) in dpaa2_pcs_destroy()
299 static void dpaa2_mac_set_supported_interfaces(struct dpaa2_mac *mac) in dpaa2_mac_set_supported_interfaces()
342 void dpaa2_mac_start(struct dpaa2_mac *mac) in dpaa2_mac_start()
[all …]
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c42 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 …]
Dcfg80211.c78 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 …]
Dutil.c17 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()
Devent.c19 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()
676 static int qtnf_event_parse(struct qtnf_wmac *mac, in qtnf_event_parse()
760 struct qtnf_wmac *mac; in qtnf_event_process_skb() local
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c361 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-6.6.21/drivers/net/wireless/purelifi/plfxlc/
Dmac.c88 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-6.6.21/drivers/net/ethernet/sunplus/
Dspl2sw_driver.c27 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
Dspl2sw_mac.c53 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-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_mdb.c16 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-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c513 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_select_pcs() local
532 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_config() local
664 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_finish() local
692 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_down() local
774 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_up() local
935 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_mac_address() local
964 void mtk_stats_update_mac(struct mtk_mac *mac) in mtk_stats_update_mac()
1049 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_stats64() local
1291 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_set_dma_desc_v1() local
1321 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_set_dma_desc_v2() local
[all …]
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dmac_flt.c10 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-6.6.21/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h306 #define ENETC_PM_REOCT(mac) (0x8100 + ENETC_PMAC_OFFSET * (mac)) argument
307 #define ENETC_PM_RALN(mac) (0x8110 + ENETC_PMAC_OFFSET * (mac)) argument
308 #define ENETC_PM_RXPF(mac) (0x8118 + ENETC_PMAC_OFFSET * (mac)) argument
309 #define ENETC_PM_RFRM(mac) (0x8120 + ENETC_PMAC_OFFSET * (mac)) argument
310 #define ENETC_PM_RFCS(mac) (0x8128 + ENETC_PMAC_OFFSET * (mac)) argument
311 #define ENETC_PM_RVLAN(mac) (0x8130 + ENETC_PMAC_OFFSET * (mac)) argument
312 #define ENETC_PM_RERR(mac) (0x8138 + ENETC_PMAC_OFFSET * (mac)) argument
313 #define ENETC_PM_RUCA(mac) (0x8140 + ENETC_PMAC_OFFSET * (mac)) argument
314 #define ENETC_PM_RMCA(mac) (0x8148 + ENETC_PMAC_OFFSET * (mac)) argument
315 #define ENETC_PM_RBCA(mac) (0x8150 + ENETC_PMAC_OFFSET * (mac)) argument
[all …]
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-ingenic.c75 struct ingenic_mac *mac = plat_dat->bsp_priv; in ingenic_mac_init() local
89 struct ingenic_mac *mac = plat_dat->bsp_priv; in jz4775_mac_set_mode() local
131 struct ingenic_mac *mac = plat_dat->bsp_priv; in x1000_mac_set_mode() local
149 struct ingenic_mac *mac = plat_dat->bsp_priv; in x1600_mac_set_mode() local
169 struct ingenic_mac *mac = plat_dat->bsp_priv; in x1830_mac_set_mode() local
190 struct ingenic_mac *mac = plat_dat->bsp_priv; in x2000_mac_set_mode() local
235 struct ingenic_mac *mac; in ingenic_mac_probe() local
Dhwif.c40 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
112 const void *mac; member
276 struct mac_device_info *mac; in stmmac_hwif_init() local
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dmac.c16 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-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Ddm.c20 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-6.6.21/drivers/net/wireless/realtek/rtlwifi/
Dcore.c150 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 …]
Dps.c189 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-6.6.21/drivers/net/ethernet/intel/ice/
Dice_fltr.c227 const u8 *mac, enum ice_sw_fwd_act_type action) in ice_fltr_add_mac_to_list()
306 ice_fltr_prepare_mac(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_prepare_mac()
331 ice_fltr_prepare_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_prepare_mac_and_broadcast()
403 int ice_fltr_add_mac(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_add_mac()
416 ice_fltr_add_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_add_mac_and_broadcast()
429 int ice_fltr_remove_mac(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_remove_mac()
/linux-6.6.21/include/linux/mlx5/
Dmpfs.h14 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()

12345678910>>...30