Searched refs:reason (Results 1 – 3 of 3) sorted by relevance
| /arch/riscv/ |
| A D | mp.c | 88 int reason = atomic_swap(&ipi_data[curr_cpu], 0); in riscv_software_exception() local 89 LTRACEF("cpu %u reason %#x\n", curr_cpu, reason); in riscv_software_exception() 92 if (reason & (1u << MP_IPI_RESCHEDULE)) { in riscv_software_exception() 94 reason &= ~(1u << MP_IPI_RESCHEDULE); in riscv_software_exception() 96 if (reason & (1u << MP_IPI_GENERIC)) { in riscv_software_exception() 98 reason &= ~(1u << MP_IPI_GENERIC); in riscv_software_exception() 101 if (unlikely(reason)) { in riscv_software_exception() 102 TRACEF("unhandled ipi cause %#x, cpu %u\n", reason, curr_cpu); in riscv_software_exception()
|
| A D | sbi.c | 119 status_t sbi_system_reset(uint32_t type, uint32_t reason) { in sbi_system_reset() argument 121 ulong error = sbi_call(SBI_EXT_SRST_SIG, 0, type, reason).error; in sbi_system_reset()
|
| /arch/riscv/include/arch/riscv/ |
| A D | sbi.h | 93 status_t sbi_system_reset(uint32_t type, uint32_t reason);
|
Completed in 6 milliseconds