Home
last modified time | relevance | path

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

12345678910>>...27

/linux/drivers/net/wireless/zydas/zd1211rw/
H A 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/drivers/net/ethernet/pasemi/
H A 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 …]
H A 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/drivers/net/ethernet/chelsio/cxgb3/
H A 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/drivers/net/wireless/quantenna/qtnfmac/
H A 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
210 struct qtnf_wmac *mac, in qtnf_mac_init_single_band()
233 static int qtnf_mac_init_bands(struct qtnf_wmac *mac) in qtnf_mac_init_bands()
257 struct qtnf_vif *qtnf_mac_get_free_vif(struct qtnf_wmac *mac) in qtnf_mac_get_free_vif()
271 struct qtnf_vif *qtnf_mac_get_base_vif(struct qtnf_wmac *mac) in qtnf_mac_get_base_vif()
283 void qtnf_mac_iface_comb_free(struct qtnf_wmac *mac) in qtnf_mac_iface_comb_free()
300 void qtnf_mac_ext_caps_free(struct qtnf_wmac *mac) in qtnf_mac_ext_caps_free()
334 static void qtnf_mac_init_primary_intf(struct qtnf_wmac *mac) in qtnf_mac_init_primary_intf()
[all …]
H A 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 …]
H A 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()
H A 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/drivers/net/ethernet/chelsio/cxgb/
H A 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/drivers/net/wireless/purelifi/plfxlc/
H A Dmac.c87 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_mac_init_hw() local
102 void plfxlc_mac_release(struct plfxlc_mac *mac) in plfxlc_mac_release()
116 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_op_stop() local
121 int plfxlc_restore_settings(struct plfxlc_mac *mac) in plfxlc_restore_settings()
180 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_mac_tx_to_dev() local
204 static int plfxlc_fill_ctrlset(struct plfxlc_mac *mac, struct sk_buff *skb) in plfxlc_fill_ctrlset()
290 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_op_tx() local
347 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_filter_ack() local
402 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_mac_rx() local
505 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_op_add_interface() local
[all …]
/linux/drivers/net/ethernet/microchip/lan966x/
H A 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 …]
H A Dlan966x_mac.c21 unsigned char mac[ETH_ALEN] __aligned(2); member
204 const unsigned char *mac, in lan966x_mac_alloc_entry()
222 const unsigned char *mac, in lan966x_mac_find_entry()
262 const char *mac, u16 vid, in lan966x_fdb_call_notifiers()
398 unsigned char *mac, u32 vid, in lan966x_mac_notifiers()
407 u8 *mac, u16 *vid, u32 *dest_idx) in lan966x_mac_process_raw_entry()
424 unsigned char mac[ETH_ALEN] __aligned(2); in lan966x_mac_irq_process() local
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c523 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_select_pcs() local
542 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_config() local
674 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_finish() local
701 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_down() local
783 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_up() local
944 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_mac_address() local
973 void mtk_stats_update_mac(struct mtk_mac *mac) in mtk_stats_update_mac()
1058 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_stats64() local
1309 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_set_dma_desc_v1() local
1339 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_set_dma_desc_v2() local
[all …]
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_hw.h309 #define ENETC_PM_REOCT(mac) (0x8100 + ENETC_PMAC_OFFSET * (mac)) argument
310 #define ENETC_PM_RALN(mac) (0x8110 + ENETC_PMAC_OFFSET * (mac)) argument
311 #define ENETC_PM_RXPF(mac) (0x8118 + ENETC_PMAC_OFFSET * (mac)) argument
312 #define ENETC_PM_RFRM(mac) (0x8120 + ENETC_PMAC_OFFSET * (mac)) argument
313 #define ENETC_PM_RFCS(mac) (0x8128 + ENETC_PMAC_OFFSET * (mac)) argument
314 #define ENETC_PM_RVLAN(mac) (0x8130 + ENETC_PMAC_OFFSET * (mac)) argument
315 #define ENETC_PM_RERR(mac) (0x8138 + ENETC_PMAC_OFFSET * (mac)) argument
316 #define ENETC_PM_RUCA(mac) (0x8140 + ENETC_PMAC_OFFSET * (mac)) argument
317 #define ENETC_PM_RMCA(mac) (0x8148 + ENETC_PMAC_OFFSET * (mac)) argument
318 #define ENETC_PM_RBCA(mac) (0x8150 + ENETC_PMAC_OFFSET * (mac)) argument
[all …]
/linux/drivers/net/ethernet/intel/e1000e/
H A Dmac.c19 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() local
396 struct e1000_mac_info *mac = &hw->mac; in e1000e_check_for_copper_link() local
459 struct e1000_mac_info *mac = &hw->mac; in e1000e_check_for_fiber_link() local
524 struct e1000_mac_info *mac = &hw->mac; in e1000e_check_for_serdes_link() local
721 struct e1000_mac_info *mac = &hw->mac; in e1000_commit_fc_settings_generic() local
787 struct e1000_mac_info *mac = &hw->mac; in e1000_poll_fiber_serdes_link_generic() local
1001 struct e1000_mac_info *mac = &hw->mac; in e1000e_config_fc_after_link_up() local
1466 struct e1000_mac_info *mac = &hw->mac; in e1000e_id_led_init_generic() local
1727 struct e1000_mac_info *mac = &hw->mac; in e1000e_reset_adaptive() local
1753 struct e1000_mac_info *mac = &hw->mac; in e1000e_update_adaptive() local
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A 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/drivers/net/wireless/realtek/rtlwifi/
H A 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
781 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_configure_filter() local
874 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_sta_add() local
968 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 …]
H A 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
957 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_p2p_info() local
/linux/drivers/net/ethernet/sunplus/
H A 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/drivers/net/ethernet/intel/ice/
H A 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/drivers/net/ethernet/stmicro/stmmac/
H A Dhwif.c42 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk() local
57 struct mac_device_info *mac = priv->hw; in stmmac_dwmac1_quirks() local
114 const void *mac; member
305 struct mac_device_info *mac; in stmmac_hwif_init() local
/linux/drivers/net/wireless/realtek/rtw89/
H A Dmac.c43 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_mac_mem_write() local
53 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_mac_mem_read() local
305 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_mac_dump_l0_to_l1() local
814 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_mac_get_err_status() local
1091 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in hfc_upd_mix_info() local
1177 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_mac_hfc_init() local
1447 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_mac_power_switch() local
1704 struct rtw89_mac_info *mac = &rtwdev->mac; in get_dle_mem_cfg() local
2060 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in dle_quota_cfg() local
2069 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_mac_dle_init() local
[all …]
/linux/include/linux/mlx5/
H A 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()
/linux/drivers/net/ethernet/ti/
H A Dcpsw.h13 #define mac_hi(mac) (((mac)[0] << 0) | ((mac)[1] << 8) | \ argument
15 #define mac_lo(mac) (((mac)[4] << 0) | ((mac)[5] << 8)) argument
/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c103 __be64 mac; in read_route() member
106 __be64 mac; in read_route() member
113 __be64 mac; in read_route() member
319 char dsts[24], mac[24]; in read_arp() local
324 __be64 mac; in read_arp() member
330 __be64 mac; in read_arp() member

12345678910>>...27