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/
A Dhclgevf_main.c553 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector()
559 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector()
577 if (hdev->vector_status[i] == HCLGEVF_INVALID_VPORT) { in hclgevf_get_vector()
582 hdev->vector_status[i] = 0; in hclgevf_get_vector()
2225 hdev->vector_status[HCLGEVF_MISC_VECTOR_NUM] = 0; in hclgevf_get_misc_vector()
2826 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi()
2828 if (!hdev->vector_status) { in hclgevf_init_msi()
2834 hdev->vector_status[i] = HCLGEVF_INVALID_VPORT; in hclgevf_init_msi()
2839 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_init_msi()
2851 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_uninit_msi()
A Dhclgevf_main.h313 u16 *vector_status; member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.h910 u16 *vector_status; member
A Dhclge_main.c2628 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi()
2630 if (!hdev->vector_status) { in hclge_init_msi()
2636 hdev->vector_status[i] = HCLGE_INVALID_VPORT; in hclge_init_msi()
3629 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector()
3635 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector()
3647 hdev->vector_status[0] = 0; in hclge_get_misc_vector()
4628 hdev->vector_status[idx] = hdev->vport[0].vport_id; in hclge_get_vector_info()
4647 if (hdev->vector_status[i] == HCLGE_INVALID_VPORT) { in hclge_get_vector()

Completed in 41 milliseconds