Lines Matching refs:tmp_adev
812 struct amdgpu_device *tmp_adev; in amdgpu_xgmi_initialize_hive_get_data_partition() local
815 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_initialize_hive_get_data_partition()
816 ret = psp_xgmi_initialize(&tmp_adev->psp, set_extended_data, false); in amdgpu_xgmi_initialize_hive_get_data_partition()
818 dev_err(tmp_adev->dev, in amdgpu_xgmi_initialize_hive_get_data_partition()
856 struct amdgpu_device *tmp_adev = NULL; in amdgpu_xgmi_add_device() local
912 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
914 if (tmp_adev != adev) { in amdgpu_xgmi_add_device()
915 top_info = &tmp_adev->psp.xgmi_context.top_info; in amdgpu_xgmi_add_device()
920 ret = amdgpu_xgmi_update_topology(hive, tmp_adev); in amdgpu_xgmi_add_device()
940 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
941 amdgpu_xgmi_fill_topology_info(adev, tmp_adev); in amdgpu_xgmi_add_device()
945 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
946 ret = psp_xgmi_get_topology_info(&tmp_adev->psp, count, in amdgpu_xgmi_add_device()
947 &tmp_adev->psp.xgmi_context.top_info, false); in amdgpu_xgmi_add_device()
949 dev_err(tmp_adev->dev, in amdgpu_xgmi_add_device()
951 tmp_adev->gmc.xgmi.node_id, in amdgpu_xgmi_add_device()
952 tmp_adev->gmc.xgmi.hive_id, ret); in amdgpu_xgmi_add_device()
968 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
969 ret = psp_xgmi_get_topology_info(&tmp_adev->psp, count, in amdgpu_xgmi_add_device()
970 &tmp_adev->psp.xgmi_context.top_info, true); in amdgpu_xgmi_add_device()
972 dev_err(tmp_adev->dev, in amdgpu_xgmi_add_device()
974 tmp_adev->gmc.xgmi.node_id, in amdgpu_xgmi_add_device()
975 tmp_adev->gmc.xgmi.hive_id, ret); in amdgpu_xgmi_add_device()