Home
last modified time | relevance | path

Searched refs:csr_write (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.7.0/drivers/cache/
Dcache_andes.c93 csr_write(NDS_UCCTLBEGINADDR, align_addr); in nds_cctl_range_operations()
94 csr_write(NDS_UCCTLCOMMAND, cmd); in nds_cctl_range_operations()
99 csr_write(NDS_MCCTLBEGINADDR, align_addr); in nds_cctl_range_operations()
100 csr_write(NDS_MCCTLCOMMAND, cmd); in nds_cctl_range_operations()
129 csr_write(NDS_MCCTLBEGINADDR, i); in nds_l1i_cache_all()
130 csr_write(NDS_MCCTLCOMMAND, CCTL_L1I_IX_INVAL); in nds_l1i_cache_all()
153 csr_write(NDS_MCCTLCOMMAND, CCTL_L1D_WB_ALL); in nds_l1d_cache_all()
156 csr_write(NDS_MCCTLCOMMAND, CCTL_L1D_INVAL_ALL); in nds_l1d_cache_all()
159 csr_write(NDS_MCCTLCOMMAND, CCTL_L1D_WBINVAL_ALL); in nds_l1d_cache_all()
/Zephyr-Core-3.7.0/soc/common/riscv-privileged/
Dsoc_common_irq.c117 csr_write(mie, 0); in soc_interrupt_init()
118 csr_write(mip, 0); in soc_interrupt_init()
/Zephyr-Core-3.7.0/soc/neorv32/
Dsoc.c15 csr_write(mie, 0); in soc_interrupt_init()
/Zephyr-Core-3.7.0/soc/andestech/ae350/
Dpma.c80 csr_write(NDS_PMAADDR##x, value); break; in write_pmaaddr_csr()
113 csr_write(NDS_PMACFG##x, pmacfg); break; in write_pmacfg_entry()
/Zephyr-Core-3.7.0/arch/riscv/core/
Dthread.c161 csr_write(mstatus, status); in arch_user_mode_enter()
162 csr_write(mepc, z_thread_entry); in arch_user_mode_enter()
Dsmp.c62 csr_write(mscratch, &_kernel.cpus[cpu_num]); in arch_secondary_cpu_init()
/Zephyr-Core-3.7.0/arch/riscv/include/
Dkernel_arch_func.h33 csr_write(mscratch, &_kernel.cpus[0]); in arch_kernel_init()
/Zephyr-Core-3.7.0/include/zephyr/arch/riscv/
Dcsr.h193 #define csr_write(csr, val) \ macro
/Zephyr-Core-3.7.0/tests/kernel/mem_protect/userspace/src/
Dmain.c262 csr_write(pmpaddr3, LLONG_MAX); in ZTEST_USER()
263 csr_write(pmpcfg0, (PMP_R|PMP_W|PMP_X|PMP_NAPOT) << 24); in ZTEST_USER()