Lines Matching refs:query_info
1194 struct ras_query_if *query_info) in amdgpu_ras_query_error_count_helper() argument
1198 if (!query_info) in amdgpu_ras_query_error_count_helper()
1202 ret = amdgpu_ras_query_error_status(adev, query_info); in amdgpu_ras_query_error_count_helper()
1206 *ce_count += query_info->ce_count; in amdgpu_ras_query_error_count_helper()
1207 *ue_count += query_info->ue_count; in amdgpu_ras_query_error_count_helper()
1213 if (amdgpu_ras_reset_error_status(adev, query_info->head.block)) in amdgpu_ras_query_error_count_helper()
1238 struct ras_query_if *query_info) in amdgpu_ras_query_error_count() argument
1255 if (!query_info) { in amdgpu_ras_query_error_count()
1266 ret = amdgpu_ras_query_error_count_helper(adev, &ce, &ue, query_info); in amdgpu_ras_query_error_count()
2748 struct ras_query_if *query_info; in amdgpu_ras_block_late_init() local
2793 query_info = kzalloc(sizeof(*query_info), GFP_KERNEL); in amdgpu_ras_block_late_init()
2794 if (!query_info) in amdgpu_ras_block_late_init()
2796 memcpy(&query_info->head, ras_block, sizeof(struct ras_common_if)); in amdgpu_ras_block_late_init()
2798 if (amdgpu_ras_query_error_count(adev, &ce_count, &ue_count, query_info) == 0) { in amdgpu_ras_block_late_init()
2803 kfree(query_info); in amdgpu_ras_block_late_init()