Searched refs:vector_status (Results 1 – 4 of 4) sorted by relevance
493 if (hdev->vector_status[vector_id] == HCLGEVF_INVALID_VPORT) { in hclgevf_free_vector()499 hdev->vector_status[vector_id] = HCLGEVF_INVALID_VPORT; in hclgevf_free_vector()517 if (hdev->vector_status[i] == HCLGEVF_INVALID_VPORT) { in hclgevf_get_vector()522 hdev->vector_status[i] = 0; in hclgevf_get_vector()1696 hdev->vector_status[HCLGEVF_MISC_VECTOR_NUM] = 0; in hclgevf_get_misc_vector()2284 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi()2286 if (!hdev->vector_status) { in hclgevf_init_msi()2292 hdev->vector_status[i] = HCLGEVF_INVALID_VPORT; in hclgevf_init_msi()2297 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_init_msi()2309 devm_kfree(&pdev->dev, hdev->vector_status); in hclgevf_uninit_msi()
278 u16 *vector_status; member
764 u16 *vector_status; member
2325 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi()2327 if (!hdev->vector_status) { in hclge_init_msi()2333 hdev->vector_status[i] = HCLGE_INVALID_VPORT; in hclge_init_msi()3025 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector()3031 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector()3043 hdev->vector_status[0] = 0; in hclge_get_misc_vector()3945 if (hdev->vector_status[i] == HCLGE_INVALID_VPORT) { in hclge_get_vector()3952 hdev->vector_status[i] = vport->vport_id; in hclge_get_vector()