Lines Matching refs:ras_obj
86 struct amdgpu_ras_block_object *ras_obj; member
917 if (!node->ras_obj) { in amdgpu_ras_get_ras_block()
922 obj = node->ras_obj; in amdgpu_ras_get_ras_block()
1726 struct amdgpu_ras_block_object *ras_obj; in amdgpu_ras_interrupt_add_handler() local
1736 ras_obj = container_of(head, struct amdgpu_ras_block_object, ras_comm); in amdgpu_ras_interrupt_add_handler()
1742 .cb = ras_obj->ras_cb, in amdgpu_ras_interrupt_add_handler()
2560 struct amdgpu_ras_block_object *ras_obj = NULL; in amdgpu_ras_block_late_init() local
2588 ras_obj = container_of(ras_block, struct amdgpu_ras_block_object, ras_comm); in amdgpu_ras_block_late_init()
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()
2611 if (ras_obj->ras_cb) in amdgpu_ras_block_late_init()
2628 struct amdgpu_ras_block_object *ras_obj; in amdgpu_ras_block_late_fini() local
2634 ras_obj = container_of(ras_block, struct amdgpu_ras_block_object, ras_comm); in amdgpu_ras_block_late_fini()
2635 if (ras_obj->ras_cb) in amdgpu_ras_block_late_fini()
2706 if (!node->ras_obj) { in amdgpu_ras_late_init()
2711 obj = node->ras_obj; in amdgpu_ras_late_init()
2752 if (ras_node->ras_obj) { in amdgpu_ras_fini()
2753 obj = ras_node->ras_obj; in amdgpu_ras_fini()
2999 ras_node->ras_obj = ras_block_obj; in amdgpu_ras_register_ras_block()