Searched refs:mac_driver (Results 1 – 4 of 4) sorted by relevance
67 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable()79 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable()97 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en()107 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_free()118 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_tx_auto_pause_frames()126 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_tx_auto_pause_frames()134 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_rx_auto_pause_frames()142 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_max_frame_length()153 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_an_mode()162 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_tx_loop_pkt_dis()[all …]
95 static void hns_xgmac_tx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_tx_enable()105 static void hns_xgmac_rx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_rx_enable()117 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable()145 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_disable()170 static void hns_xgmac_pma_fec_enable(struct mac_driver *drv, u32 tx_value, in hns_xgmac_pma_fec_enable()181 static void hns_xgmac_exc_irq_en(struct mac_driver *drv, u32 en) in hns_xgmac_exc_irq_en()196 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_init()220 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_pad_and_crc()236 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_pausefrm_cfg()246 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_set_pausefrm_mac_addr()[all …]
97 struct mac_driver *mac_ctrl_drv; in hns_mac_get_link_status()117 struct mac_driver *mac_ctrl_drv; in hns_mac_get_port_info()139 struct mac_driver *mac_ctrl_drv; in hns_mac_adjust_link()141 mac_ctrl_drv = (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_adjust_link()246 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_change_vf_addr()442 struct mac_driver *drv; in hns_mac_reset()467 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_set_mtu()491 struct mac_driver *mac_drv = hns_mac_get_drv(mac_cb); in hns_mac_start()508 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_stop()534 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_autoneg()[all …]
338 struct mac_driver { struct412 static inline struct mac_driver *hns_mac_get_drv( in hns_mac_get_drv() argument415 return (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_get_drv()