Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
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()
2096 hdev->vector_status[HCLGEVF_MISC_VECTOR_NUM] = 0; in hclgevf_get_misc_vector()
2674 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi()
2676 if (!hdev->vector_status) { in hclgevf_init_msi()
2682 hdev->vector_status[i] = HCLGEVF_INVALID_VPORT; in hclgevf_init_msi()
2687 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_init_msi()
2699 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_uninit_msi()
Dhclgevf_main.h303 u16 *vector_status; member
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h772 u16 *vector_status; member
Dhclge_main.c2454 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi()
2456 if (!hdev->vector_status) { in hclge_init_msi()
2462 hdev->vector_status[i] = HCLGE_INVALID_VPORT; in hclge_init_msi()
3211 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector()
3217 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector()
3229 hdev->vector_status[0] = 0; in hclge_get_misc_vector()
4139 if (hdev->vector_status[i] == HCLGE_INVALID_VPORT) { in hclge_get_vector()
4146 hdev->vector_status[i] = vport->vport_id; in hclge_get_vector()