Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.h252 u16 *vector_status; member
H A Dhclgevf_main.c466 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector()
472 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector()
490 if (hdev->vector_status[i] == HCLGEVF_INVALID_VPORT) { in hclgevf_get_vector()
495 hdev->vector_status[i] = 0; in hclgevf_get_vector()
1769 hdev->vector_status[HCLGEVF_MISC_VECTOR_NUM] = 0; in hclgevf_get_misc_vector()
2345 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi()
2347 if (!hdev->vector_status) { in hclgevf_init_msi()
2353 hdev->vector_status[i] = HCLGEVF_INVALID_VPORT; in hclgevf_init_msi()
2358 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_init_msi()
2370 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_uninit_msi()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h920 u16 *vector_status; member
H A Dhclge_main.c2539 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi()
2541 if (!hdev->vector_status) { in hclge_init_msi()
2547 hdev->vector_status[i] = HCLGE_INVALID_VPORT; in hclge_init_msi()
3738 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector()
3744 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector()
3756 hdev->vector_status[0] = 0; in hclge_get_misc_vector()
4756 hdev->vector_status[idx] = hdev->vport[0].vport_id; in hclge_get_vector_info()
4775 if (hdev->vector_status[i] == HCLGE_INVALID_VPORT) { in hclge_get_vector()