Home
last modified time | relevance | path

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

/Linux-v5.4/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_set_rx_auto_pause_frames()
143 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_max_frame_length()
155 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_pad_and_crc()
165 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_an_mode()
[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.c71 struct mac_driver *mac_ctrl_drv; in hns_mac_get_link_status()
94 struct mac_driver *mac_ctrl_drv; in hns_mac_get_port_info()
122 struct mac_driver *mac_ctrl_drv; in hns_mac_need_adjust_link()
124 mac_ctrl_drv = (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_need_adjust_link()
136 struct mac_driver *mac_ctrl_drv; in hns_mac_adjust_link()
138 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()
451 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_wait_fifo_clean()
461 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_reset()
485 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_set_mtu()
[all …]
Dhns_dsaf_mac.h341 struct mac_driver { struct
417 static inline struct mac_driver *hns_mac_get_drv( in hns_mac_get_drv() argument
420 return (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_get_drv()
/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dmac.c877 static struct platform_driver mac_driver = { variable
885 builtin_platform_driver(mac_driver);