Lines Matching refs:hw_ops

1030 		if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops &&  in amdgpu_ras_get_ecc_info()
1031 adev->umc.ras->ras_block.hw_ops->query_ras_error_count) in amdgpu_ras_get_ecc_info()
1032 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, err_data); in amdgpu_ras_get_ecc_info()
1037 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
1038 adev->umc.ras->ras_block.hw_ops->query_ras_error_address) in amdgpu_ras_get_ecc_info()
1039 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, err_data); in amdgpu_ras_get_ecc_info()
1383 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_query_error_status_helper()
1389 if (block_obj->hw_ops->query_ras_error_count) in amdgpu_ras_query_error_status_helper()
1390 block_obj->hw_ops->query_ras_error_count(adev, err_data); in amdgpu_ras_query_error_status_helper()
1395 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_query_error_status_helper()
1396 block_obj->hw_ops->query_ras_error_status(adev); in amdgpu_ras_query_error_status_helper()
1494 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_reset_error_count()
1513 if (block_obj->hw_ops->reset_ras_error_count) in amdgpu_ras_reset_error_count()
1514 block_obj->hw_ops->reset_ras_error_count(adev); in amdgpu_ras_reset_error_count()
1529 if (block_obj->hw_ops->reset_ras_error_status) in amdgpu_ras_reset_error_status()
1530 block_obj->hw_ops->reset_ras_error_status(adev); in amdgpu_ras_reset_error_status()
1560 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_inject()
1574 if (block_obj->hw_ops->ras_error_inject) { in amdgpu_ras_error_inject()
1576 ret = block_obj->hw_ops->ras_error_inject(adev, info, info->instance_mask); in amdgpu_ras_error_inject()
1578 ret = block_obj->hw_ops->ras_error_inject(adev, &block_info, in amdgpu_ras_error_inject()
2214 if (block_obj->hw_ops && block_obj->hw_ops->query_poison_status) { in amdgpu_ras_interrupt_poison_consumption_handler()
2215 poison_stat = block_obj->hw_ops->query_poison_status(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
2227 if (block_obj->hw_ops && block_obj->hw_ops->handle_poison_consumption) in amdgpu_ras_interrupt_poison_consumption_handler()
2228 poison_stat = block_obj->hw_ops->handle_poison_consumption(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
2517 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_status_query()
2523 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_error_status_query()
2524 block_obj->hw_ops->query_ras_error_status(adev); in amdgpu_ras_error_status_query()
4173 if (ras_obj->ras_cb || (ras_obj->hw_ops && in amdgpu_ras_block_late_init()
4174 (ras_obj->hw_ops->query_poison_status || in amdgpu_ras_block_late_init()
4175 ras_obj->hw_ops->handle_poison_consumption))) { in amdgpu_ras_block_late_init()
4181 if (ras_obj->hw_ops && in amdgpu_ras_block_late_init()
4182 (ras_obj->hw_ops->query_ras_error_count || in amdgpu_ras_block_late_init()
4183 ras_obj->hw_ops->query_ras_error_status)) { in amdgpu_ras_block_late_init()