Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_mac.c69 static u32 hns_mac_link_anti_shake(struct mac_driver *mac_ctrl_drv) in hns_mac_link_anti_shake() argument
77 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() local
95 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() local
126 mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_port_info()
[all …]