Lines Matching refs:query_info
1599 struct ras_query_if *query_info) in amdgpu_ras_query_error_count_helper() argument
1603 if (!query_info) in amdgpu_ras_query_error_count_helper()
1607 ret = amdgpu_ras_query_error_status(adev, query_info); in amdgpu_ras_query_error_count_helper()
1611 *ce_count += query_info->ce_count; in amdgpu_ras_query_error_count_helper()
1612 *ue_count += query_info->ue_count; in amdgpu_ras_query_error_count_helper()
1618 if (amdgpu_ras_reset_error_status(adev, query_info->head.block)) in amdgpu_ras_query_error_count_helper()
1643 struct ras_query_if *query_info) in amdgpu_ras_query_error_count() argument
1660 if (!query_info) { in amdgpu_ras_query_error_count()
1671 ret = amdgpu_ras_query_error_count_helper(adev, &ce, &ue, query_info); in amdgpu_ras_query_error_count()
4085 struct ras_query_if *query_info; in amdgpu_ras_block_late_init() local
4130 query_info = kzalloc(sizeof(*query_info), GFP_KERNEL); in amdgpu_ras_block_late_init()
4131 if (!query_info) in amdgpu_ras_block_late_init()
4133 memcpy(&query_info->head, ras_block, sizeof(struct ras_common_if)); in amdgpu_ras_block_late_init()
4135 if (amdgpu_ras_query_error_count(adev, &ce_count, &ue_count, query_info) == 0) { in amdgpu_ras_block_late_init()
4140 kfree(query_info); in amdgpu_ras_block_late_init()