Searched refs:MSTATUS_IEN (Results 1 – 15 of 15) sorted by relevance
/Zephyr-latest/soc/nordic/common/vpr/ |
D | soc_idle.c | 18 irq_unlock(MSTATUS_IEN); in arch_cpu_idle() 26 irq_unlock(MSTATUS_IEN); in arch_cpu_atomic_idle() 32 : "r" (~key & MSTATUS_IEN) in arch_cpu_atomic_idle()
|
/Zephyr-latest/include/zephyr/arch/riscv/ |
D | arch.h | 160 #define MSTATUS_IEN (1UL << 3) macro 243 : "rK" (MSTATUS_IEN) in arch_irq_lock() 261 : "r" (key & MSTATUS_IEN) in arch_irq_unlock() 271 return (key & MSTATUS_IEN) != 0; in arch_irq_unlocked()
|
/Zephyr-latest/arch/riscv/core/ |
D | fpu.c | 67 __ASSERT((status & MSTATUS_IEN) == 0, "must be called with IRQs disabled"); in z_riscv_fpu_disable() 79 __ASSERT((csr_read(mstatus) & MSTATUS_IEN) == 0, in z_riscv_fpu_load() 103 __ASSERT((csr_read(mstatus) & MSTATUS_IEN) == 0, in arch_flush_local_fpu() 135 __ASSERT((csr_read(mstatus) & MSTATUS_IEN) == 0, in flush_owned_fpu() 256 __ASSERT((csr_read(mstatus) & MSTATUS_IEN) == 0, in fpu_access_allowed()
|
D | cpu_idle.c | 15 irq_unlock(MSTATUS_IEN); in arch_cpu_idle()
|
D | ipi_clint.c | 61 csr_clear(mstatus, MSTATUS_IEN); in sched_ipi_handler()
|
D | thread.c | 234 irq_unlock(MSTATUS_IEN); in z_riscv_switch_to_main_no_multithreading()
|
D | isr.S | 523 csrs mstatus, MSTATUS_IEN 577 csrc mstatus, MSTATUS_IEN
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_nuclei_eclic.S | 42 csrrci a0, 0x345, MSTATUS_IEN 73 csrrci a0, 0x345, MSTATUS_IEN
|
D | intc_vexriscv_litex.c | 44 :: "r"(MSTATUS_IEN)); in vexriscv_litex_irq_setie() 47 :: "r"(MSTATUS_IEN)); in vexriscv_litex_irq_setie()
|
/Zephyr-latest/tests/arch/riscv/fpu_sharing/src/ |
D | main.c | 273 csr_set(mstatus, MSTATUS_IEN); in exception_context() 285 zassert_true((csr_read(mstatus) & MSTATUS_IEN) == 0, "IRQs should be disabled"); in exception_context() 297 zassert_true((csr_read(mstatus) & MSTATUS_IEN) != 0, "IRQs should be enabled"); in ZTEST() 301 zassert_true((csr_read(mstatus) & MSTATUS_IEN) != 0, "IRQs should be enabled"); in ZTEST() 314 zassert_true((csr_read(mstatus) & MSTATUS_IEN) != 0, "IRQs should be enabled"); in ZTEST() 325 zassert_true((csr_read(mstatus) & MSTATUS_IEN) != 0, "IRQs should be enabled"); in ZTEST()
|
/Zephyr-latest/soc/ite/ec/common/ |
D | power.c | 15 riscv_idle(CHIP_PLL_DEEP_DOZE, MSTATUS_IEN); in ite_power_soc_deep_doze()
|
/Zephyr-latest/soc/espressif/esp32c3/ |
D | power.c | 36 irq_unlock(MSTATUS_IEN); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/espressif/esp32c6/ |
D | power.c | 36 irq_unlock(MSTATUS_IEN); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/openisa/rv32m1/ |
D | wdog.S | 42 csrrc t0, mstatus, MSTATUS_IEN
|
/Zephyr-latest/soc/ite/ec/it8xxx2/ |
D | soc.c | 359 irq_unlock(MSTATUS_IEN); in arch_cpu_idle() 363 riscv_idle(CHIP_PLL_DOZE, MSTATUS_IEN); in arch_cpu_idle()
|