Lines Matching refs:event_mgr
1750 struct ras_event_manager *event_mgr = con->event_mgr; in amdgpu_ras_sysfs_event_state_show() local
1754 if (!event_mgr) in amdgpu_ras_sysfs_event_state_show()
1757 size += sysfs_emit_at(buf, size, "current seqno: %llu\n", atomic64_read(&event_mgr->seqno)); in amdgpu_ras_sysfs_event_state_show()
1759 event_state = &event_mgr->event_state[dump_event[i].type]; in amdgpu_ras_sysfs_event_state_show()
3535 ras->event_mgr = hive ? &hive->event_mgr : &ras->__event_mgr; in amdgpu_ras_event_mgr_init()
3540 ras_event_mgr_init(ras->event_mgr); in amdgpu_ras_event_mgr_init()
4031 return ras->event_mgr; in __get_ras_event_mgr()
4037 struct ras_event_manager *event_mgr; in amdgpu_ras_mark_ras_event_caller() local
4046 event_mgr = __get_ras_event_mgr(adev); in amdgpu_ras_mark_ras_event_caller()
4047 if (!event_mgr) { in amdgpu_ras_mark_ras_event_caller()
4052 event_state = &event_mgr->event_state[type]; in amdgpu_ras_mark_ras_event_caller()
4053 event_state->last_seqno = atomic64_inc_return(&event_mgr->seqno); in amdgpu_ras_mark_ras_event_caller()
4066 struct ras_event_manager *event_mgr; in amdgpu_ras_acquire_event_id() local
4076 event_mgr = __get_ras_event_mgr(adev); in amdgpu_ras_acquire_event_id()
4077 if (!event_mgr) in amdgpu_ras_acquire_event_id()
4080 id = event_mgr->event_state[type].last_seqno; in amdgpu_ras_acquire_event_id()