Lines Matching refs:ras_obj
92 struct amdgpu_ras_block_object *ras_obj; member
999 if (!node->ras_obj) { in amdgpu_ras_get_ras_block()
1004 obj = node->ras_obj; in amdgpu_ras_get_ras_block()
2323 struct amdgpu_ras_block_object *ras_obj; in amdgpu_ras_interrupt_add_handler() local
2333 ras_obj = container_of(head, struct amdgpu_ras_block_object, ras_comm); in amdgpu_ras_interrupt_add_handler()
2339 .cb = ras_obj->ras_cb, in amdgpu_ras_interrupt_add_handler()
3739 struct amdgpu_ras_block_object *ras_obj = NULL; in amdgpu_ras_block_late_init() local
3768 ras_obj = container_of(ras_block, struct amdgpu_ras_block_object, ras_comm); in amdgpu_ras_block_late_init()
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()
3802 if (ras_obj->ras_cb) in amdgpu_ras_block_late_init()
3819 struct amdgpu_ras_block_object *ras_obj; in amdgpu_ras_block_late_fini() local
3825 ras_obj = container_of(ras_block, struct amdgpu_ras_block_object, ras_comm); in amdgpu_ras_block_late_fini()
3826 if (ras_obj->ras_cb) in amdgpu_ras_block_late_fini()
3917 obj = node->ras_obj; in amdgpu_ras_late_init()
3966 if (ras_node->ras_obj) { in amdgpu_ras_fini()
3967 obj = ras_node->ras_obj; in amdgpu_ras_fini()
4383 ras_node->ras_obj = ras_block_obj; in amdgpu_ras_register_ras_block()