Lines Matching refs:hw_ops
1028 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
1029 adev->umc.ras->ras_block.hw_ops->query_ras_error_count) in amdgpu_ras_get_ecc_info()
1030 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, err_data); in amdgpu_ras_get_ecc_info()
1035 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
1036 adev->umc.ras->ras_block.hw_ops->query_ras_error_address) in amdgpu_ras_get_ecc_info()
1037 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, err_data); in amdgpu_ras_get_ecc_info()
1331 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_query_error_status_helper()
1337 if (block_obj->hw_ops->query_ras_error_count) in amdgpu_ras_query_error_status_helper()
1338 block_obj->hw_ops->query_ras_error_count(adev, err_data); in amdgpu_ras_query_error_status_helper()
1343 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_query_error_status_helper()
1344 block_obj->hw_ops->query_ras_error_status(adev); in amdgpu_ras_query_error_status_helper()
1434 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_reset_error_count()
1450 if (block_obj->hw_ops->reset_ras_error_count) in amdgpu_ras_reset_error_count()
1451 block_obj->hw_ops->reset_ras_error_count(adev); in amdgpu_ras_reset_error_count()
1466 if (block_obj->hw_ops->reset_ras_error_status) in amdgpu_ras_reset_error_status()
1467 block_obj->hw_ops->reset_ras_error_status(adev); in amdgpu_ras_reset_error_status()
1497 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_inject()
1511 if (block_obj->hw_ops->ras_error_inject) { in amdgpu_ras_error_inject()
1513 ret = block_obj->hw_ops->ras_error_inject(adev, info, info->instance_mask); in amdgpu_ras_error_inject()
1515 ret = block_obj->hw_ops->ras_error_inject(adev, &block_info, in amdgpu_ras_error_inject()
2137 if (block_obj->hw_ops && block_obj->hw_ops->query_poison_status) { in amdgpu_ras_interrupt_poison_consumption_handler()
2138 poison_stat = block_obj->hw_ops->query_poison_status(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
2150 if (block_obj->hw_ops && block_obj->hw_ops->handle_poison_consumption) in amdgpu_ras_interrupt_poison_consumption_handler()
2151 poison_stat = block_obj->hw_ops->handle_poison_consumption(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
2440 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_status_query()
2446 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_error_status_query()
2447 block_obj->hw_ops->query_ras_error_status(adev); in amdgpu_ras_error_status_query()
3769 if (ras_obj->ras_cb || (ras_obj->hw_ops && in amdgpu_ras_block_late_init()
3770 (ras_obj->hw_ops->query_poison_status || in amdgpu_ras_block_late_init()
3771 ras_obj->hw_ops->handle_poison_consumption))) { in amdgpu_ras_block_late_init()
3777 if (ras_obj->hw_ops && in amdgpu_ras_block_late_init()
3778 (ras_obj->hw_ops->query_ras_error_count || in amdgpu_ras_block_late_init()
3779 ras_obj->hw_ops->query_ras_error_status)) { in amdgpu_ras_block_late_init()