Lines Matching refs:query_info
1605 struct ras_query_if *query_info) in amdgpu_ras_query_error_count_helper() argument
1609 if (!query_info) in amdgpu_ras_query_error_count_helper()
1613 ret = amdgpu_ras_query_error_status(adev, query_info); in amdgpu_ras_query_error_count_helper()
1617 *ce_count += query_info->ce_count; in amdgpu_ras_query_error_count_helper()
1618 *ue_count += query_info->ue_count; in amdgpu_ras_query_error_count_helper()
1624 if (amdgpu_ras_reset_error_status(adev, query_info->head.block)) in amdgpu_ras_query_error_count_helper()
1649 struct ras_query_if *query_info) in amdgpu_ras_query_error_count() argument
1666 if (!query_info) { in amdgpu_ras_query_error_count()
1677 ret = amdgpu_ras_query_error_count_helper(adev, &ce, &ue, query_info); in amdgpu_ras_query_error_count()
4145 struct ras_query_if *query_info; in amdgpu_ras_block_late_init() local
4190 query_info = kzalloc(sizeof(*query_info), GFP_KERNEL); in amdgpu_ras_block_late_init()
4191 if (!query_info) in amdgpu_ras_block_late_init()
4193 memcpy(&query_info->head, ras_block, sizeof(struct ras_common_if)); in amdgpu_ras_block_late_init()
4195 if (amdgpu_ras_query_error_count(adev, &ce_count, &ue_count, query_info) == 0) { in amdgpu_ras_block_late_init()
4200 kfree(query_info); in amdgpu_ras_block_late_init()