Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/cache/
Dcache_andes.c94 csr_write(NDS_UCCTLBEGINADDR, align_addr); in nds_cctl_range_operations()
95 csr_write(NDS_UCCTLCOMMAND, cmd); in nds_cctl_range_operations()
100 csr_write(NDS_MCCTLBEGINADDR, align_addr); in nds_cctl_range_operations()
101 csr_write(NDS_MCCTLCOMMAND, cmd); in nds_cctl_range_operations()
130 csr_write(NDS_MCCTLBEGINADDR, i); in nds_l1i_cache_all()
131 csr_write(NDS_MCCTLCOMMAND, CCTL_L1I_IX_INVAL); in nds_l1i_cache_all()
154 csr_write(NDS_MCCTLCOMMAND, CCTL_L1D_WB_ALL); in nds_l1d_cache_all()
157 csr_write(NDS_MCCTLCOMMAND, CCTL_L1D_INVAL_ALL); in nds_l1d_cache_all()
160 csr_write(NDS_MCCTLCOMMAND, CCTL_L1D_WBINVAL_ALL); in nds_l1d_cache_all()
/Zephyr-latest/soc/neorv32/
Dsoc.c15 csr_write(mie, 0); in soc_interrupt_init()
/Zephyr-latest/soc/common/riscv-privileged/
Dsoc_common_irq.c126 csr_write(mie, 0); in soc_interrupt_init()
127 csr_write(mip, 0); in soc_interrupt_init()
/Zephyr-latest/soc/andestech/ae350/
Dpma.c81 csr_write(NDS_PMAADDR##x, value); break; in write_pmaaddr_csr()
114 csr_write(NDS_PMACFG##x, pmacfg); break; in write_pmacfg_entry()
/Zephyr-latest/arch/riscv/core/
Dthread.c168 csr_write(mstatus, status); in arch_user_mode_enter()
169 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-latest/arch/riscv/include/
Dkernel_arch_func.h35 csr_write(mscratch, &_kernel.cpus[0]); in arch_kernel_init()
/Zephyr-latest/include/zephyr/arch/riscv/
Dcsr.h193 #define csr_write(csr, val) \ macro
/Zephyr-latest/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()