Home
last modified time | relevance | path

Searched refs:mie (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/soc/common/riscv-privileged/
Dsoc_common_irq.c53 uint32_t mie; in arch_irq_enable() local
68 mie = csr_read_set(mie, 1 << irq); in arch_irq_enable()
73 uint32_t mie; in arch_irq_disable() local
88 mie = csr_read_clear(mie, 1 << irq); in arch_irq_disable()
93 uint32_t mie; in arch_irq_is_enabled() local
103 mie = csr_read(mie); in arch_irq_is_enabled()
105 return !!(mie & (1 << irq)); in arch_irq_is_enabled()
126 csr_write(mie, 0); in soc_interrupt_init()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_swerv_pic.c194 uint32_t mie; in arch_irq_enable() local
206 : "=r" (mie) in arch_irq_enable()
212 uint32_t mie; in arch_irq_disable() local
224 : "=r" (mie) in arch_irq_disable()
230 uint32_t mie; in arch_irq_is_enabled() local
236 __asm__ volatile ("csrr %0, mie" : "=r" (mie)); in arch_irq_is_enabled()
238 return !!(mie & (1 << irq)); in arch_irq_is_enabled()
Dintc_ite_it8xxx2_v2.c241 csr_set(mie, MIP_MEIP); in soc_interrupt_init()
Dintc_ite_it8xxx2.c283 csr_set(mie, MIP_MEIP); in soc_interrupt_init()
/Zephyr-latest/soc/neorv32/
Dsoc_irq.S23 csrrc t2, mie, t0
25 csrrs t2, mie, t1
Dsoc.c15 csr_write(mie, 0); in soc_interrupt_init()
Dreset.S21 csrw mie, x0
/Zephyr-latest/soc/ite/ec/common/
Dsoc_common_irq.c37 return ((csr_read(mie) & BIT(IRQ_M_EXT)) && in arch_irq_is_enabled()
Dvector.S60 csrwi mie, 0
/Zephyr-latest/soc/ite/ec/it8xxx2/
Dsoc.c301 csr_clear(mie, MIP_MEIP); in riscv_idle()
344 csr_set(mie, MIP_MEIP); in riscv_idle()