Lines Matching defs:mac_drv

111 static void hns_xgmac_lf_rf_insert(struct mac_driver *mac_drv, u32 mode)  in hns_xgmac_lf_rf_insert()
121 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()
248 static void hns_xgmac_pausefrm_cfg(void *mac_drv, u32 rx_en, u32 tx_en) in hns_xgmac_pausefrm_cfg()
258 static void hns_xgmac_set_pausefrm_mac_addr(void *mac_drv, const char *mac_addr) in hns_xgmac_set_pausefrm_mac_addr()
274 static void hns_xgmac_set_tx_auto_pause_frames(void *mac_drv, u16 enable) in hns_xgmac_set_tx_auto_pause_frames()
291 static void hns_xgmac_config_max_frame_length(void *mac_drv, u16 newval) in hns_xgmac_config_max_frame_length()
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()
425 static void hns_xgmac_get_info(void *mac_drv, struct mac_info *mac_info) in hns_xgmac_get_info()
456 static void hns_xgmac_get_pausefrm_cfg(void *mac_drv, u32 *rx_en, u32 *tx_en) in hns_xgmac_get_pausefrm_cfg()
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()
782 struct mac_driver *mac_drv; in hns_xgmac_config() local