Home
last modified time | relevance | path

Searched defs:mac_drv (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_gmac.c106 static void hns_gmac_free(void *mac_drv) in hns_gmac_free()
163 static void hns_gmac_tx_loop_pkt_dis(void *mac_drv) in hns_gmac_tx_loop_pkt_dis()
174 static void hns_gmac_get_duplex_type(void *mac_drv, in hns_gmac_get_duplex_type()
191 static void hns_gmac_port_mode_get(void *mac_drv, in hns_gmac_port_mode_get()
290 static void hns_gmac_set_uc_match(void *mac_drv, u16 en) in hns_gmac_set_uc_match()
300 static void hns_gmac_set_promisc(void *mac_drv, u8 en) in hns_gmac_set_promisc()
308 static int hns_gmac_wait_fifo_clean(void *mac_drv) in hns_gmac_wait_fifo_clean()
332 static void hns_gmac_init(void *mac_drv) in hns_gmac_init()
362 static void hns_gmac_update_stats(void *mac_drv) in hns_gmac_update_stats()
549 static void hns_gmac_get_regs(void *mac_drv, void *data) in hns_gmac_get_regs()
[all …]
H A Dhns_dsaf_xgmac.c121 static void hns_xgmac_lf_rf_control_init(struct mac_driver *mac_drv) in hns_xgmac_lf_rf_control_init()
136 static void hns_xgmac_enable(void *mac_drv, enum mac_commom_mode mode) in hns_xgmac_enable()
160 static void hns_xgmac_disable(void *mac_drv, enum mac_commom_mode mode) in hns_xgmac_disable()
206 static void hns_xgmac_init(void *mac_drv) in hns_xgmac_init()
231 static void hns_xgmac_config_pad_and_crc(void *mac_drv, u8 newval) in hns_xgmac_config_pad_and_crc()
298 static void hns_xgmac_update_stats(void *mac_drv) in hns_xgmac_update_stats()
409 static void hns_xgmac_free(void *mac_drv) in hns_xgmac_free()
471 static void hns_xgmac_get_link_status(void *mac_drv, u32 *link_stat) in hns_xgmac_get_link_status()
483 static void hns_xgmac_get_regs(void *mac_drv, void *data) in hns_xgmac_get_regs()
726 static void hns_xgmac_get_stats(void *mac_drv, u64 *data) in hns_xgmac_get_stats()
[all …]
H A Dhns_dsaf_mac.c537 struct mac_driver *mac_drv = hns_mac_get_drv(mac_cb); in hns_mac_start() local