Searched defs:mac_drv (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_gmac.c | 61 static void hns_gmac_enable(void *mac_drv, enum mac_commom_mode mode) in hns_gmac_enable() 76 static void hns_gmac_disable(void *mac_drv, enum mac_commom_mode mode) in hns_gmac_disable() 96 static void hns_gmac_get_en(void *mac_drv, u32 *rx, u32 *tx) in hns_gmac_get_en() 106 static void hns_gmac_free(void *mac_drv) in hns_gmac_free() 117 static void hns_gmac_set_tx_auto_pause_frames(void *mac_drv, u16 newval) in hns_gmac_set_tx_auto_pause_frames() 125 static void hns_gmac_get_tx_auto_pause_frames(void *mac_drv, u16 *newval) in hns_gmac_get_tx_auto_pause_frames() 133 static void hns_gmac_config_max_frame_length(void *mac_drv, u16 newval) in hns_gmac_config_max_frame_length() 144 static void hns_gmac_config_pad_and_crc(void *mac_drv, u8 newval) in hns_gmac_config_pad_and_crc() 155 static void hns_gmac_config_an_mode(void *mac_drv, u8 newval) in hns_gmac_config_an_mode() 163 static void hns_gmac_tx_loop_pkt_dis(void *mac_drv) in hns_gmac_tx_loop_pkt_dis() [all …]
|
D | hns_dsaf_xgmac.c | 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() [all …]
|
D | hns_dsaf_mac.c | 537 struct mac_driver *mac_drv = hns_mac_get_drv(mac_cb); in hns_mac_start() local
|