Home
last modified time | relevance | path

Searched refs:MSTATUS_IEN (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/soc/nordic/common/vpr/
Dsoc_idle.c18 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/
Darch.h160 #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/
Dfpu.c67 __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()
Dcpu_idle.c15 irq_unlock(MSTATUS_IEN); in arch_cpu_idle()
Dipi_clint.c61 csr_clear(mstatus, MSTATUS_IEN); in sched_ipi_handler()
Dthread.c234 irq_unlock(MSTATUS_IEN); in z_riscv_switch_to_main_no_multithreading()
Disr.S523 csrs mstatus, MSTATUS_IEN
577 csrc mstatus, MSTATUS_IEN
/Zephyr-latest/drivers/interrupt_controller/
Dintc_nuclei_eclic.S42 csrrci a0, 0x345, MSTATUS_IEN
73 csrrci a0, 0x345, MSTATUS_IEN
Dintc_vexriscv_litex.c44 :: "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/
Dmain.c273 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/
Dpower.c15 riscv_idle(CHIP_PLL_DEEP_DOZE, MSTATUS_IEN); in ite_power_soc_deep_doze()
/Zephyr-latest/soc/espressif/esp32c3/
Dpower.c36 irq_unlock(MSTATUS_IEN); in pm_state_exit_post_ops()
/Zephyr-latest/soc/espressif/esp32c6/
Dpower.c36 irq_unlock(MSTATUS_IEN); in pm_state_exit_post_ops()
/Zephyr-latest/soc/openisa/rv32m1/
Dwdog.S42 csrrc t0, mstatus, MSTATUS_IEN
/Zephyr-latest/soc/ite/ec/it8xxx2/
Dsoc.c359 irq_unlock(MSTATUS_IEN); in arch_cpu_idle()
363 riscv_idle(CHIP_PLL_DOZE, MSTATUS_IEN); in arch_cpu_idle()