Home
last modified time | relevance | path

Searched refs:mac_driver (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c63 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable()
78 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable()
98 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en()
108 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_free()
119 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_tx_auto_pause_frames()
127 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_tx_auto_pause_frames()
135 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_max_frame_length()
147 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_pad_and_crc()
157 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_an_mode()
166 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_tx_loop_pkt_dis()
[all …]
Dhns_dsaf_xgmac.c91 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()
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()
138 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable()
162 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_disable()
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()
233 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_pad_and_crc()
[all …]
Dhns_dsaf_mac.c69 static u32 hns_mac_link_anti_shake(struct mac_driver *mac_ctrl_drv) in hns_mac_link_anti_shake()
92 struct mac_driver *mac_ctrl_drv; in hns_mac_get_link_status()
123 struct mac_driver *mac_ctrl_drv; in hns_mac_get_port_info()
151 struct mac_driver *mac_ctrl_drv; in hns_mac_need_adjust_link()
153 mac_ctrl_drv = (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_need_adjust_link()
165 struct mac_driver *mac_ctrl_drv; in hns_mac_adjust_link()
167 mac_ctrl_drv = (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_adjust_link()
275 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_change_vf_addr()
481 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_wait_fifo_clean()
491 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_reset()
[all …]
Dhns_dsaf_mac.h341 struct mac_driver { struct
413 static inline struct mac_driver *hns_mac_get_drv( in hns_mac_get_drv() argument
416 return (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_get_drv()
/drivers/net/ethernet/freescale/fman/
Dmac.c498 static struct platform_driver mac_driver = { variable
507 builtin_platform_driver(mac_driver);