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()
1069 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_enable()
1076 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_disable()
1173 struct mac_driver *drv = hns_mac_get_drv(mac_cb); in hns_mac_config_mac_loopback()
1185 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_update_stats()
1192 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_stats()
1200 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_strings()
1207 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_sset_count()
1214 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_set_promisc()
1224 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_regs_count()
1231 struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_regs()