Home
last modified time | relevance | path

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

12345678910>>...35

/openbmc/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 …]
/openbmc/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
/openbmc/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 …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A 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 …]
/openbmc/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
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 …]
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()
/openbmc/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 …]
/openbmc/qemu/hw/net/
H A De1000x_common.c37 bool e1000x_rx_ready(PCIDevice *d, uint32_t *mac) in e1000x_rx_ready()
61 bool e1000x_rx_vlan_filter(uint32_t *mac, const struct vlan_header *vhdr) in e1000x_rx_vlan_filter()
79 bool e1000x_rx_group_filter(uint32_t *mac, const struct eth_header *ehdr) in e1000x_rx_group_filter()
126 bool e1000x_hw_rx_enabled(uint32_t *mac) in e1000x_hw_rx_enabled()
141 bool e1000x_is_oversized(uint32_t *mac, size_t size) in e1000x_is_oversized()
162 void e1000x_restart_autoneg(uint32_t *mac, uint16_t *phy, QEMUTimer *timer) in e1000x_restart_autoneg()
186 void e1000x_update_regs_on_autoneg_done(uint32_t *mac, uint16_t *phy) in e1000x_update_regs_on_autoneg_done()
245 e1000x_update_rx_total_stats(uint32_t *mac, in e1000x_update_rx_total_stats()
279 e1000x_increase_size_stats(uint32_t *mac, const int *size_regs, int size) in e1000x_increase_size_stats()
316 void e1000x_timestamp(uint32_t *mac, int64_t timadj, size_t lo, size_t hi) in e1000x_timestamp()
[all …]
H A De1000x_common.h29 e1000x_inc_reg_if_not_full(uint32_t *mac, int index) in e1000x_inc_reg_if_not_full()
37 e1000x_grow_8reg_if_not_full(uint32_t *mac, int index, int size) in e1000x_grow_8reg_if_not_full()
51 e1000x_vlan_enabled(uint32_t *mac) in e1000x_vlan_enabled()
63 e1000x_vlan_rx_filter_enabled(uint32_t *mac) in e1000x_vlan_rx_filter_enabled()
69 e1000x_fcs_len(uint32_t *mac) in e1000x_fcs_len()
78 e1000x_update_regs_on_link_down(uint32_t *mac, uint16_t *phy) in e1000x_update_regs_on_link_down()
87 e1000x_update_regs_on_link_up(uint32_t *mac, uint16_t *phy) in e1000x_update_regs_on_link_up()
/openbmc/u-boot/drivers/net/fm/
H A Dtgec.c28 static void tgec_init_mac(struct fsl_enet_mac *mac) in tgec_init_mac()
55 static void tgec_enable_mac(struct fsl_enet_mac *mac) in tgec_enable_mac()
62 static void tgec_disable_mac(struct fsl_enet_mac *mac) in tgec_disable_mac()
69 static void tgec_set_mac_addr(struct fsl_enet_mac *mac, u8 *mac_addr) in tgec_set_mac_addr()
86 static void tgec_set_interface_mode(struct fsl_enet_mac *mac, in tgec_set_interface_mode()
93 void init_tgec(struct fsl_enet_mac *mac, void *base, in init_tgec()
H A Dmemac.c18 static void memac_init_mac(struct fsl_enet_mac *mac) in memac_init_mac()
35 static void memac_enable_mac(struct fsl_enet_mac *mac) in memac_enable_mac()
43 static void memac_disable_mac(struct fsl_enet_mac *mac) in memac_disable_mac()
50 static void memac_set_mac_addr(struct fsl_enet_mac *mac, u8 *mac_addr) in memac_set_mac_addr()
67 static void memac_set_interface_mode(struct fsl_enet_mac *mac, in memac_set_interface_mode()
133 void init_memac(struct fsl_enet_mac *mac, void *base, in init_memac()
H A Ddtsec.c26 static void dtsec_init_mac(struct fsl_enet_mac *mac) in dtsec_init_mac()
64 static void dtsec_enable_mac(struct fsl_enet_mac *mac) in dtsec_enable_mac()
78 static void dtsec_disable_mac(struct fsl_enet_mac *mac) in dtsec_disable_mac()
92 static void dtsec_set_mac_addr(struct fsl_enet_mac *mac, u8 *mac_addr) in dtsec_set_mac_addr()
109 static void dtsec_set_interface_mode(struct fsl_enet_mac *mac, in dtsec_set_interface_mode()
155 void init_dtsec(struct fsl_enet_mac *mac, void *base, in init_dtsec()
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/sunplus/
H A 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
/openbmc/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 …]
/openbmc/linux/drivers/net/ethernet/mediatek/
H A 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
691 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_down() local
773 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_link_up() local
934 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_mac_address() local
963 void mtk_stats_update_mac(struct mtk_mac *mac) in mtk_stats_update_mac()
1048 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_stats64() local
1290 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_set_dma_desc_v1() local
1320 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_set_dma_desc_v2() local
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_dmac_flt.c10 static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_do_add()
79 int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) in otx2_dmacflt_add()
94 static int otx2_dmacflt_do_remove(struct otx2_nic *pfvf, const u8 *mac, in otx2_dmacflt_do_remove()
134 int otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_remove()
182 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) in otx2_dmacflt_update()
/openbmc/u-boot/drivers/net/
H A Dep93xx_eth.c149 struct mac_regs *mac = GET_REGS(dev); in ep93xx_mac_reset() local
168 struct mac_regs *mac = GET_REGS(dev); in ep93xx_eth_open() local
285 struct mac_regs *mac = GET_REGS(dev); in ep93xx_eth_close() local
301 struct mac_regs *mac = GET_REGS(dev); in ep93xx_eth_rcv_packet() local
371 struct mac_regs *mac = GET_REGS(dev); in ep93xx_eth_send_packet() local
558 struct mac_regs *mac = (struct mac_regs *)MAC_BASE; in ep93xx_miiphy_read() local
611 struct mac_regs *mac = (struct mac_regs *)MAC_BASE; in ep93xx_miiphy_write() local
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A 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
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A 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
/openbmc/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
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
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
972 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_p2p_info() local

12345678910>>...35