Lines Matching refs:mac_driver
69 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()
515 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_set_mtu()
537 struct mac_driver *mac_drv = hns_mac_get_drv(mac_cb); in hns_mac_start()
554 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_stop()
580 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_autoneg()
597 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_pauseparam()
615 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_set_autoneg()
637 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_set_pauseparam()
662 struct mac_driver *drv; in hns_mac_init_ex()
670 drv = (struct mac_driver *)hns_gmac_config(mac_cb, ¶m); in hns_mac_init_ex()
672 drv = (struct mac_driver *)hns_xgmac_config(mac_cb, ¶m); in hns_mac_init_ex()
1068 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_enable()
1075 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_disable()
1172 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_config_mac_loopback()
1184 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_update_stats()
1191 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_stats()
1199 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_strings()
1206 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_sset_count()
1213 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_set_promisc()
1223 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_regs_count()
1230 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_regs()