Searched refs:vector_status (Results 1 – 4 of 4) sorted by relevance
251 u16 *vector_status; member
480 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector()486 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector()504 if (hdev->vector_status[i] == HCLGEVF_INVALID_VPORT) { in hclgevf_get_vector()509 hdev->vector_status[i] = 0; in hclgevf_get_vector()1775 hdev->vector_status[HCLGEVF_MISC_VECTOR_NUM] = 0; in hclgevf_get_misc_vector()2341 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi()2343 if (!hdev->vector_status) { in hclgevf_init_msi()2349 hdev->vector_status[i] = HCLGEVF_INVALID_VPORT; in hclgevf_init_msi()2354 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_init_msi()2366 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_uninit_msi()
873 u16 *vector_status; member
2537 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi()2539 if (!hdev->vector_status) { in hclge_init_msi()2545 hdev->vector_status[i] = HCLGE_INVALID_VPORT; in hclge_init_msi()3546 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector()3552 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector()3564 hdev->vector_status[0] = 0; in hclge_get_misc_vector()4548 hdev->vector_status[idx] = hdev->vport[0].vport_id; in hclge_get_vector_info()4567 if (hdev->vector_status[i] == HCLGE_INVALID_VPORT) { in hclge_get_vector()