Home
last modified time | relevance | path

Searched refs:seqno_type (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/ras/rascore/
H A Dras_core.c196 enum ras_seqno_type seqno_type, uint64_t seqno) in ras_core_put_seqno() argument
200 if (seqno_type >= RAS_SEQNO_TYPE_COUNT_MAX) in ras_core_put_seqno()
203 if (seqno_type == RAS_SEQNO_TYPE_DE) in ras_core_put_seqno()
206 else if (seqno_type == RAS_SEQNO_TYPE_POISON_CONSUMPTION) in ras_core_put_seqno()
216 enum ras_seqno_type seqno_type, bool pop) in ras_core_get_seqno() argument
221 if (seqno_type >= RAS_SEQNO_TYPE_COUNT_MAX) in ras_core_get_seqno()
224 if (seqno_type == RAS_SEQNO_TYPE_DE) in ras_core_get_seqno()
227 else if (seqno_type == RAS_SEQNO_TYPE_POISON_CONSUMPTION) in ras_core_get_seqno()
232 seq_no = ras_core_gen_seqno(ras_core, seqno_type); in ras_core_get_seqno()
/linux/drivers/gpu/drm/amd/ras/ras_mgr/
H A Damdgpu_ras_mgr.c487 enum ras_seqno_type seqno_type) in amdgpu_ras_mgr_gen_ras_event_seqno() argument
494 (seqno_type >= RAS_SEQNO_TYPE_COUNT_MAX)) in amdgpu_ras_mgr_gen_ras_event_seqno()
497 seq_no = ras_core_gen_seqno(ras_mgr->ras_core, seqno_type); in amdgpu_ras_mgr_gen_ras_event_seqno()
499 if ((seqno_type == RAS_SEQNO_TYPE_DE) || in amdgpu_ras_mgr_gen_ras_event_seqno()
500 (seqno_type == RAS_SEQNO_TYPE_POISON_CONSUMPTION)) { in amdgpu_ras_mgr_gen_ras_event_seqno()
501 ret = ras_core_put_seqno(ras_mgr->ras_core, seqno_type, seq_no); in amdgpu_ras_mgr_gen_ras_event_seqno()