/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/ |
H A 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() 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 488 struct zd_mac *mac = zd_hw_mac(hw); in zd_mac_tx_failed() local 570 struct zd_mac *mac = zd_hw_mac(hw); in zd_mac_tx_to_dev() local 1361 struct zd_mac *mac; in zd_mac_alloc_hw() local 1426 struct zd_mac *mac = in beacon_watchdog_handler() local [all …]
|
/openbmc/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 124 static int mac_to_intf(struct pasemi_mac *mac) in mac_to_intf() 217 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_set_mac_addr() local 367 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_setup_rx_resources() local 448 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_setup_tx_resources() local 696 struct pasemi_mac *mac = rx->mac; in pasemi_mac_clean_rx() local 817 struct pasemi_mac *mac = txring->mac; in pasemi_mac_clean_tx() local 909 struct pasemi_mac *mac = rxring->mac; in pasemi_mac_rx_intr() local 938 struct pasemi_mac *mac = txring->mac; in pasemi_mac_tx_timer() local 951 struct pasemi_mac *mac = txring->mac; in pasemi_mac_tx_intr() local 1679 struct pasemi_mac *mac; in pasemi_mac_probe() local [all …]
|
H A 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
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A 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() 256 int t3_mac_set_num_ucast(struct cmac *mac, int n) in t3_mac_set_num_ucast() 275 void t3_mac_enable_exact_filters(struct cmac *mac) in t3_mac_enable_exact_filters() 467 int t3_mac_enable(struct cmac *mac, int which) in t3_mac_enable() 506 int t3_mac_disable(struct cmac *mac, int which) in t3_mac_disable() 532 int t3b2_mac_watchdog_task(struct cmac *mac) in t3b2_mac_watchdog_task() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-mac.c | 20 static int dpaa2_mac_cmp_ver(struct dpaa2_mac *mac, in dpaa2_mac_cmp_ver() 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 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() 342 void dpaa2_mac_start(struct dpaa2_mac *mac) in dpaa2_mac_start() 352 void dpaa2_mac_stop(struct dpaa2_mac *mac) in dpaa2_mac_stop() 362 int dpaa2_mac_connect(struct dpaa2_mac *mac) in dpaa2_mac_connect() 454 void dpaa2_mac_disconnect(struct dpaa2_mac *mac) in dpaa2_mac_disconnect() 466 int dpaa2_mac_open(struct dpaa2_mac *mac) in dpaa2_mac_open() [all …]
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A 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() 315 void qtnf_mac_ext_caps_free(struct qtnf_wmac *mac) in qtnf_mac_ext_caps_free() 384 struct qtnf_wmac *mac = in qtnf_mac_scan_timeout() local 412 struct qtnf_wmac *mac; in qtnf_core_mac_alloc() local 506 struct qtnf_wmac *mac; in qtnf_core_mac_detach() local 560 struct qtnf_wmac *mac; in qtnf_core_mac_attach() local 837 struct qtnf_wmac *mac; in qtnf_classify_skb() local [all …]
|
H A 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 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 942 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_suspend() local 974 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_resume() local 994 struct qtnf_wmac *mac = wiphy_priv(wiphy); in qtnf_set_wakeup() local [all …]
|
H A 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()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A 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() 423 static int mac_reset(struct cmac *mac) in mac_reset() 450 static int mac_set_mtu(struct cmac *mac, int mtu) in mac_set_mtu() 528 static int mac_enable(struct cmac *mac, int which) in mac_enable() 545 static int mac_disable(struct cmac *mac, int which) in mac_disable() 586 static void port_stats_update(struct cmac *mac) in port_stats_update() 660 static void mac_destroy(struct cmac *mac) in mac_destroy() [all …]
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | tgec.c | 28 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 D | memac.c | 18 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 D | dtsec.c | 26 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/qemu/hw/net/ |
H A D | e1000x_common.c | 37 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 D | e1000x_common.h | 29 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/linux/drivers/net/wireless/purelifi/plfxlc/ |
H A 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 181 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_mac_tx_to_dev() local 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 530 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_op_remove_interface() local 553 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_op_configure_filter() local [all …]
|
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A 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
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_mdb.c | 16 unsigned char mac[ETH_ALEN]; member 57 const unsigned char *mac, in lan966x_mdb_entry_get() 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 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 457 unsigned char mac[ETH_ALEN]; in lan966x_mdb_ip_cpu_remove() local 469 unsigned char mac[ETH_ALEN]; in lan966x_mdb_l2_cpu_remove() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 934 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_mac_address() local 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 1376 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_set_dma_desc() local 1399 struct mtk_mac *mac = netdev_priv(dev); in mtk_tx_map() local 1582 struct mtk_mac *mac = netdev_priv(dev); in mtk_start_xmit() local 2013 int mac = 0; in mtk_poll_rx() local 4195 struct mtk_mac *mac; in mtk_unreg_dev() local 4485 struct mtk_mac *mac; in mtk_add_mac() local [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A 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()
|
/openbmc/u-boot/drivers/net/ |
H A D | ep93xx_eth.c | 149 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 D | dwmac-ingenic.c | 75 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 D | enetc_hw.h | 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 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 316 #define ENETC_PM_RDRP(mac) (0x8158 + ENETC_PMAC_OFFSET * (mac)) argument 319 #define ENETC_PM_R64(mac) (0x8170 + ENETC_PMAC_OFFSET * (mac)) argument [all …]
|
/openbmc/google-misc/subprojects/ncsid/src/ |
H A D | net_config.cpp | 52 int parse_mac(const std::string& mac_addr, mac_addr_t* mac) in parse_mac() 61 std::string format_mac(const mac_addr_t& mac) in format_mac() 91 int PhosphorConfig::get_mac_addr(mac_addr_t* mac) in get_mac_addr() 134 int PhosphorConfig::set_mac_addr(const mac_addr_t& mac) in set_mac_addr()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A 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
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A 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
|