Searched refs:pdev_num (Results 1 – 1 of 1) sorted by relevance
46 static int8_t pdev_num; variable56 if (pdev_num >= MAX_XCP_PLATFORM_DEVICE) in amdgpu_xcp_drm_dev_alloc()59 snprintf(dev_name, sizeof(dev_name), "amdgpu_xcp_%d", pdev_num); in amdgpu_xcp_drm_dev_alloc()75 xcp_dev[pdev_num] = pxcp_dev; in amdgpu_xcp_drm_dev_alloc()76 xcp_dev[pdev_num]->pdev = pdev; in amdgpu_xcp_drm_dev_alloc()78 pdev_num++; in amdgpu_xcp_drm_dev_alloc()93 for (--pdev_num; pdev_num >= 0; --pdev_num) { in amdgpu_xcp_drv_release()94 struct platform_device *pdev = xcp_dev[pdev_num]->pdev; in amdgpu_xcp_drv_release()98 xcp_dev[pdev_num] = NULL; in amdgpu_xcp_drv_release()100 pdev_num = 0; in amdgpu_xcp_drv_release()