Searched refs:csr_write (Results 1 – 9 of 9) sorted by relevance
/Zephyr-Core-3.7.0/drivers/cache/ |
D | cache_andes.c | 93 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/ |
D | soc_common_irq.c | 117 csr_write(mie, 0); in soc_interrupt_init() 118 csr_write(mip, 0); in soc_interrupt_init()
|
/Zephyr-Core-3.7.0/soc/neorv32/ |
D | soc.c | 15 csr_write(mie, 0); in soc_interrupt_init()
|
/Zephyr-Core-3.7.0/soc/andestech/ae350/ |
D | pma.c | 80 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/ |
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 | 62 csr_write(mscratch, &_kernel.cpus[cpu_num]); in arch_secondary_cpu_init()
|
/Zephyr-Core-3.7.0/arch/riscv/include/ |
D | kernel_arch_func.h | 33 csr_write(mscratch, &_kernel.cpus[0]); in arch_kernel_init()
|
/Zephyr-Core-3.7.0/include/zephyr/arch/riscv/ |
D | csr.h | 193 #define csr_write(csr, val) \ macro
|
/Zephyr-Core-3.7.0/tests/kernel/mem_protect/userspace/src/ |
D | main.c | 262 csr_write(pmpaddr3, LLONG_MAX); in ZTEST_USER() 263 csr_write(pmpcfg0, (PMP_R|PMP_W|PMP_X|PMP_NAPOT) << 24); in ZTEST_USER()
|