Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h307 u16 *vector_status; member
Dhclgevf_main.c528 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector()
534 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector()
552 if (hdev->vector_status[i] == HCLGEVF_INVALID_VPORT) { in hclgevf_get_vector()
557 hdev->vector_status[i] = 0; in hclgevf_get_vector()
2112 hdev->vector_status[HCLGEVF_MISC_VECTOR_NUM] = 0; in hclgevf_get_misc_vector()
2702 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi()
2704 if (!hdev->vector_status) { in hclgevf_init_msi()
2710 hdev->vector_status[i] = HCLGEVF_INVALID_VPORT; in hclgevf_init_msi()
2715 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_init_msi()
2727 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_uninit_msi()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h774 u16 *vector_status; member
Dhclge_main.c2457 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi()
2459 if (!hdev->vector_status) { in hclge_init_msi()
2465 hdev->vector_status[i] = HCLGE_INVALID_VPORT; in hclge_init_msi()
3214 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector()
3220 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector()
3232 hdev->vector_status[0] = 0; in hclge_get_misc_vector()
4142 if (hdev->vector_status[i] == HCLGE_INVALID_VPORT) { in hclge_get_vector()
4149 hdev->vector_status[i] = vport->vport_id; in hclge_get_vector()