Lines Matching defs:drv
91 static void hns_xgmac_tx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_tx_enable()
101 static void hns_xgmac_rx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_rx_enable()
138 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable() local
162 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_disable() local
182 static void hns_xgmac_pma_fec_enable(struct mac_driver *drv, u32 tx_value, in hns_xgmac_pma_fec_enable()
193 static void hns_xgmac_exc_irq_en(struct mac_driver *drv, u32 en) in hns_xgmac_exc_irq_en()
208 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_init() local
233 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_pad_and_crc() local
250 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_pausefrm_cfg() local
260 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_set_pausefrm_mac_addr() local
276 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_set_tx_auto_pause_frames() local
293 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_max_frame_length() local
300 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_update_stats() local
411 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_free() local
427 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_get_info() local
458 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_get_pausefrm_cfg() local
473 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_get_link_status() local
486 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_get_regs() local
730 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_get_stats() local