Searched refs:mac_drv (Results 1 – 1 of 1) sorted by relevance
537 struct mac_driver *mac_drv = hns_mac_get_drv(mac_cb); in hns_mac_start() local540 if (mac_drv->mac_en_flg == MAC_EN_FLAG_V) { in hns_mac_start()542 mac_drv->virt_dev_num += 1; in hns_mac_start()546 if (mac_drv->mac_enable) { in hns_mac_start()547 mac_drv->mac_enable(mac_cb->priv.mac, MAC_COMM_MODE_RX_AND_TX); in hns_mac_start()548 mac_drv->mac_en_flg = MAC_EN_FLAG_V; in hns_mac_start()