Searched refs:mac_ctrl_drv (Results 1 – 1 of 1) sorted by relevance
69 static u32 hns_mac_link_anti_shake(struct mac_driver *mac_ctrl_drv) in hns_mac_link_anti_shake() argument77 if (!mac_ctrl_drv->get_link_status) in hns_mac_link_anti_shake()82 mac_ctrl_drv->get_link_status(mac_ctrl_drv, &link_status); in hns_mac_link_anti_shake()92 struct mac_driver *mac_ctrl_drv; in hns_mac_get_link_status() local95 mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_link_status()97 if (mac_ctrl_drv->get_link_status) in hns_mac_get_link_status()98 mac_ctrl_drv->get_link_status(mac_ctrl_drv, link_status); in hns_mac_get_link_status()114 *link_status = hns_mac_link_anti_shake(mac_ctrl_drv); in hns_mac_get_link_status()123 struct mac_driver *mac_ctrl_drv; in hns_mac_get_port_info() local126 mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_port_info()[all …]