Lines Matching refs:hw_ops

946 		if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops &&  in amdgpu_ras_get_ecc_info()
947 adev->umc.ras->ras_block.hw_ops->query_ras_error_count) in amdgpu_ras_get_ecc_info()
948 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, err_data); in amdgpu_ras_get_ecc_info()
953 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
954 adev->umc.ras->ras_block.hw_ops->query_ras_error_address) in amdgpu_ras_get_ecc_info()
955 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, err_data); in amdgpu_ras_get_ecc_info()
982 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_query_error_status()
988 if (block_obj->hw_ops->query_ras_error_count) in amdgpu_ras_query_error_status()
989 block_obj->hw_ops->query_ras_error_count(adev, &err_data); in amdgpu_ras_query_error_status()
994 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_query_error_status()
995 block_obj->hw_ops->query_ras_error_status(adev); in amdgpu_ras_query_error_status()
1055 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_reset_error_status()
1061 if (block_obj->hw_ops->reset_ras_error_count) in amdgpu_ras_reset_error_status()
1062 block_obj->hw_ops->reset_ras_error_count(adev); in amdgpu_ras_reset_error_status()
1066 if (block_obj->hw_ops->reset_ras_error_status) in amdgpu_ras_reset_error_status()
1067 block_obj->hw_ops->reset_ras_error_status(adev); in amdgpu_ras_reset_error_status()
1093 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_inject()
1107 if (block_obj->hw_ops->ras_error_inject) in amdgpu_ras_error_inject()
1108 ret = block_obj->hw_ops->ras_error_inject(adev, info); in amdgpu_ras_error_inject()
1111 if (block_obj->hw_ops->ras_error_inject) in amdgpu_ras_error_inject()
1112 ret = block_obj->hw_ops->ras_error_inject(adev, &block_info); in amdgpu_ras_error_inject()
1568 if (!block_obj || !block_obj->hw_ops) in amdgpu_ras_interrupt_poison_consumption_handler()
1575 if (block_obj->hw_ops->query_poison_status) { in amdgpu_ras_interrupt_poison_consumption_handler()
1576 poison_stat = block_obj->hw_ops->query_poison_status(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
1589 if (block_obj->hw_ops->handle_poison_consumption) in amdgpu_ras_interrupt_poison_consumption_handler()
1590 poison_stat = block_obj->hw_ops->handle_poison_consumption(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
1839 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_status_query()
1845 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_error_status_query()
1846 block_obj->hw_ops->query_ras_error_status(adev); in amdgpu_ras_error_status_query()
2589 if (ras_obj->ras_cb || (ras_obj->hw_ops && in amdgpu_ras_block_late_init()
2590 (ras_obj->hw_ops->query_poison_status || in amdgpu_ras_block_late_init()
2591 ras_obj->hw_ops->handle_poison_consumption))) { in amdgpu_ras_block_late_init()