Searched refs:vector_status (Results 1 – 4 of 4) sorted by relevance
333 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()
156 u16 *vector_status; member
512 u16 *vector_status; member
2049 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()