Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c67 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()
96 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en()
106 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_free()
117 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_tx_auto_pause_frames()
125 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_tx_auto_pause_frames()
133 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_rx_auto_pause_frames()
141 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_pad_and_crc()
163 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_an_mode()
[all …]
Dhns_dsaf_xgmac.c95 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()
115 static void hns_xgmac_lf_rf_insert(struct mac_driver *mac_drv, u32 mode) in hns_xgmac_lf_rf_insert()
125 static void hns_xgmac_lf_rf_control_init(struct mac_driver *mac_drv) in hns_xgmac_lf_rf_control_init()
142 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable()
166 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_disable()
186 static void hns_xgmac_pma_fec_enable(struct mac_driver *drv, u32 tx_value, in hns_xgmac_pma_fec_enable()
197 static void hns_xgmac_exc_irq_en(struct mac_driver *drv, u32 en) in hns_xgmac_exc_irq_en()
212 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_init()
237 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_pad_and_crc()
[all …]
Dhns_dsaf_mac.c75 struct mac_driver *mac_ctrl_drv; in hns_mac_get_link_status()
98 struct mac_driver *mac_ctrl_drv; in hns_mac_get_port_info()
126 struct mac_driver *mac_ctrl_drv; in hns_mac_need_adjust_link()
128 mac_ctrl_drv = (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_need_adjust_link()
140 struct mac_driver *mac_ctrl_drv; in hns_mac_adjust_link()
142 mac_ctrl_drv = (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_adjust_link()
250 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_change_vf_addr()
455 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_wait_fifo_clean()
465 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_reset()
489 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_set_mtu()
[all …]
Dhns_dsaf_mac.h345 struct mac_driver { struct
421 static inline struct mac_driver *hns_mac_get_drv( in hns_mac_get_drv() argument
424 return (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_get_drv()
/Linux-v4.19/drivers/net/ethernet/freescale/fman/
Dmac.c883 static struct platform_driver mac_driver = { variable
891 builtin_platform_driver(mac_driver);