Lines Matching refs:hw_ops
1108 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
1109 adev->umc.ras->ras_block.hw_ops->query_ras_error_count) in amdgpu_ras_get_ecc_info()
1110 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, err_data); in amdgpu_ras_get_ecc_info()
1115 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
1116 adev->umc.ras->ras_block.hw_ops->query_ras_error_address) in amdgpu_ras_get_ecc_info()
1117 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, err_data); in amdgpu_ras_get_ecc_info()
1461 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_query_error_status_helper()
1467 if (block_obj->hw_ops->query_ras_error_count) in amdgpu_ras_query_error_status_helper()
1468 block_obj->hw_ops->query_ras_error_count(adev, err_data); in amdgpu_ras_query_error_status_helper()
1473 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_query_error_status_helper()
1474 block_obj->hw_ops->query_ras_error_status(adev); in amdgpu_ras_query_error_status_helper()
1614 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_reset_error_count()
1633 if (block_obj->hw_ops->reset_ras_error_count) in amdgpu_ras_reset_error_count()
1634 block_obj->hw_ops->reset_ras_error_count(adev); in amdgpu_ras_reset_error_count()
1649 if (block_obj->hw_ops->reset_ras_error_status) in amdgpu_ras_reset_error_status()
1650 block_obj->hw_ops->reset_ras_error_status(adev); in amdgpu_ras_reset_error_status()
1704 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_inject()
1718 if (block_obj->hw_ops->ras_error_inject) { in amdgpu_ras_error_inject()
1720 ret = block_obj->hw_ops->ras_error_inject(adev, info, info->instance_mask); in amdgpu_ras_error_inject()
1722 ret = block_obj->hw_ops->ras_error_inject(adev, &block_info, in amdgpu_ras_error_inject()
2428 if (block_obj->hw_ops && block_obj->hw_ops->query_poison_status) { in amdgpu_ras_interrupt_poison_consumption_handler()
2429 poison_stat = block_obj->hw_ops->query_poison_status(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
2441 if (block_obj->hw_ops && block_obj->hw_ops->handle_poison_consumption) in amdgpu_ras_interrupt_poison_consumption_handler()
2442 poison_stat = block_obj->hw_ops->handle_poison_consumption(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
2741 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_status_query()
2747 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_error_status_query()
2748 block_obj->hw_ops->query_ras_error_status(adev); in amdgpu_ras_error_status_query()
4485 if (ras_obj->ras_cb || (ras_obj->hw_ops && in amdgpu_ras_block_late_init()
4486 (ras_obj->hw_ops->query_poison_status || in amdgpu_ras_block_late_init()
4487 ras_obj->hw_ops->handle_poison_consumption))) { in amdgpu_ras_block_late_init()
4493 if (ras_obj->hw_ops && in amdgpu_ras_block_late_init()
4494 (ras_obj->hw_ops->query_ras_error_count || in amdgpu_ras_block_late_init()
4495 ras_obj->hw_ops->query_ras_error_status)) { in amdgpu_ras_block_late_init()