Home
last modified time | relevance | path

Searched refs:exception_code (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/arch/riscv/lib/
H A Dinterrupts.c17 static const char * const exception_code[] = { in _exit_trap() local
36 if (code < ARRAY_SIZE(exception_code)) { in _exit_trap()
38 code, exception_code[code], epc, regs->ra); in _exit_trap()
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h249 panfrost_exception_is_fault(u32 exception_code) in panfrost_exception_is_fault() argument
251 return exception_code > DRM_PANFROST_EXCEPTION_MAX_NON_FAULT; in panfrost_exception_is_fault()
254 const char *panfrost_exception_name(u32 exception_code);
256 u32 exception_code);
H A Dpanfrost_device.c373 const char *panfrost_exception_name(u32 exception_code) in panfrost_exception_name() argument
375 if (WARN_ON(exception_code >= ARRAY_SIZE(panfrost_exception_infos) || in panfrost_exception_name()
376 !panfrost_exception_infos[exception_code].name)) in panfrost_exception_name()
379 return panfrost_exception_infos[exception_code].name; in panfrost_exception_name()
383 u32 exception_code) in panfrost_exception_needs_reset() argument
388 if (exception_code == DRM_PANFROST_EXCEPTION_JOB_BUS_FAULT) in panfrost_exception_needs_reset()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debug.c915 uint32_t exception_code, in kfd_dbg_trap_query_exception_info() argument
933 if (KFD_DBG_EC_TYPE_IS_QUEUE(exception_code)) { in kfd_dbg_trap_query_exception_info()
957 if (!(queue->properties.exception_status & KFD_EC_MASK(exception_code))) { in kfd_dbg_trap_query_exception_info()
962 } else if (KFD_DBG_EC_TYPE_IS_DEVICE(exception_code)) { in kfd_dbg_trap_query_exception_info()
980 if (!(pdd->exception_status & KFD_EC_MASK(exception_code))) { in kfd_dbg_trap_query_exception_info()
985 if (exception_code == EC_DEVICE_MEMORY_VIOLATION) { in kfd_dbg_trap_query_exception_info()
1000 } else if (KFD_DBG_EC_TYPE_IS_PROCESS(exception_code)) { in kfd_dbg_trap_query_exception_info()
1002 if (!(target->exception_status & KFD_EC_MASK(exception_code))) { in kfd_dbg_trap_query_exception_info()
1007 if (exception_code == EC_PROCESS_RUNTIME) { in kfd_dbg_trap_query_exception_info()
1020 pr_debug("Bad exception type [%i]\n", exception_code); in kfd_dbg_trap_query_exception_info()
[all …]
H A Dkfd_debug.h68 uint32_t exception_code,
H A Dkfd_chardev.c3068 args->query_exception_info.exception_code, in kfd_ioctl_set_debug_trap()
/openbmc/linux/include/uapi/linux/
H A Dkfd_ioctl.h1348 __u32 exception_code; member