Lines Matching refs:query_info
1542 struct ras_query_if *query_info) in amdgpu_ras_query_error_count_helper() argument
1546 if (!query_info) in amdgpu_ras_query_error_count_helper()
1550 ret = amdgpu_ras_query_error_status(adev, query_info); in amdgpu_ras_query_error_count_helper()
1554 *ce_count += query_info->ce_count; in amdgpu_ras_query_error_count_helper()
1555 *ue_count += query_info->ue_count; in amdgpu_ras_query_error_count_helper()
1561 if (amdgpu_ras_reset_error_status(adev, query_info->head.block)) in amdgpu_ras_query_error_count_helper()
1586 struct ras_query_if *query_info) in amdgpu_ras_query_error_count() argument
1603 if (!query_info) { in amdgpu_ras_query_error_count()
1614 ret = amdgpu_ras_query_error_count_helper(adev, &ce, &ue, query_info); in amdgpu_ras_query_error_count()
3741 struct ras_query_if *query_info; in amdgpu_ras_block_late_init() local
3786 query_info = kzalloc(sizeof(*query_info), GFP_KERNEL); in amdgpu_ras_block_late_init()
3787 if (!query_info) in amdgpu_ras_block_late_init()
3789 memcpy(&query_info->head, ras_block, sizeof(struct ras_common_if)); in amdgpu_ras_block_late_init()
3791 if (amdgpu_ras_query_error_count(adev, &ce_count, &ue_count, query_info) == 0) { in amdgpu_ras_block_late_init()
3796 kfree(query_info); in amdgpu_ras_block_late_init()