Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c428 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector()
434 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector()
452 if (hdev->vector_status[i] == HCLGEVF_INVALID_VPORT) { in hclgevf_get_vector()
457 hdev->vector_status[i] = 0; in hclgevf_get_vector()
1724 hdev->vector_status[HCLGEVF_MISC_VECTOR_NUM] = 0; in hclgevf_get_misc_vector()
2290 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi()
2292 if (!hdev->vector_status) { in hclgevf_init_msi()
2298 hdev->vector_status[i] = HCLGEVF_INVALID_VPORT; in hclgevf_init_msi()
2303 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_init_msi()
2315 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_uninit_msi()
Dhclgevf_main.h251 u16 *vector_status; member
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h899 u16 *vector_status; member
Dhclge_main.c2477 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi()
2479 if (!hdev->vector_status) { in hclge_init_msi()
2485 hdev->vector_status[i] = HCLGE_INVALID_VPORT; in hclge_init_msi()
3653 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector()
3659 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector()
3671 hdev->vector_status[0] = 0; in hclge_get_misc_vector()
4670 hdev->vector_status[idx] = hdev->vport[0].vport_id; in hclge_get_vector_info()
4689 if (hdev->vector_status[i] == HCLGE_INVALID_VPORT) { in hclge_get_vector()