Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c333 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector()
339 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector()
356 if (hdev->vector_status[i] == HCLGEVF_INVALID_VPORT) { in hclgevf_get_vector()
361 hdev->vector_status[i] = 0; in hclgevf_get_vector()
1139 hdev->vector_status[HCLGEVF_MISC_VECTOR_NUM] = 0; in hclgevf_get_misc_vector()
1547 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi()
1549 if (!hdev->vector_status) { in hclgevf_init_msi()
1555 hdev->vector_status[i] = HCLGEVF_INVALID_VPORT; in hclgevf_init_msi()
Dhclgevf_main.h156 u16 *vector_status; member
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h512 u16 *vector_status; member
Dhclge_main.c2049 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi()
2051 if (!hdev->vector_status) { in hclge_init_msi()
2057 hdev->vector_status[i] = HCLGE_INVALID_VPORT; in hclge_init_msi()
2583 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector()
2589 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector()
2601 hdev->vector_status[0] = 0; in hclge_get_misc_vector()
2942 if (hdev->vector_status[i] == HCLGE_INVALID_VPORT) { in hclge_get_vector()
2949 hdev->vector_status[i] = vport->vport_id; in hclge_get_vector()