Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c71 struct mac_driver *mac_ctrl_drv; in hns_mac_get_link_status() local
74 mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_link_status()
76 if (mac_ctrl_drv->get_link_status) in hns_mac_get_link_status()
77 mac_ctrl_drv->get_link_status(mac_ctrl_drv, link_status); in hns_mac_get_link_status()
94 struct mac_driver *mac_ctrl_drv; in hns_mac_get_port_info() local
97 mac_ctrl_drv = hns_mac_get_drv(mac_cb); in hns_mac_get_port_info()
99 if (!mac_ctrl_drv->get_info) in hns_mac_get_port_info()
102 mac_ctrl_drv->get_info(mac_ctrl_drv, &info); in hns_mac_get_port_info()
122 struct mac_driver *mac_ctrl_drv; in hns_mac_need_adjust_link() local
124 mac_ctrl_drv = (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_need_adjust_link()
[all …]