Searched refs:csr_write (Results 1 – 9 of 9) sorted by relevance
/Zephyr-Core-3.5.0/soc/riscv/riscv-privileged/common/ |
D | soc_common_irq.c | 120 csr_write(mie, 0); in soc_interrupt_init() 121 csr_write(mip, 0); in soc_interrupt_init()
|
/Zephyr-Core-3.5.0/soc/riscv/riscv-privileged/neorv32/ |
D | soc.c | 15 csr_write(mie, 0); in soc_interrupt_init()
|
/Zephyr-Core-3.5.0/soc/riscv/riscv-privileged/andes_v5/ |
D | pma.c | 78 csr_write(NDS_PMAADDR##x, value); break; in write_pmaaddr_csr() 111 csr_write(NDS_PMACFG##x, pmacfg); break; in write_pmacfg_entry()
|
/Zephyr-Core-3.5.0/arch/riscv/core/ |
D | thread.c | 161 csr_write(mstatus, status); in arch_user_mode_enter() 162 csr_write(mepc, z_thread_entry); in arch_user_mode_enter()
|
D | smp.c | 45 csr_write(mscratch, &_kernel.cpus[cpu_num]); in z_riscv_secondary_cpu_init()
|
/Zephyr-Core-3.5.0/arch/riscv/include/ |
D | kernel_arch_func.h | 33 csr_write(mscratch, &_kernel.cpus[0]); in arch_kernel_init()
|
/Zephyr-Core-3.5.0/drivers/interrupt_controller/ |
D | intc_nuclei_eclic.c | 176 csr_write(mtvec, ((csr_read(mtvec) & 0xFFFFFFC0) | ECLIC_MODE_MTVEC_Msk)); in nuclei_eclic_init()
|
/Zephyr-Core-3.5.0/include/zephyr/arch/riscv/ |
D | csr.h | 193 #define csr_write(csr, val) \ macro
|
/Zephyr-Core-3.5.0/tests/kernel/mem_protect/userspace/src/ |
D | main.c | 246 csr_write(pmpaddr3, LLONG_MAX); in ZTEST_USER() 247 csr_write(pmpcfg0, (PMP_R|PMP_W|PMP_X|PMP_NAPOT) << 24); in ZTEST_USER()
|