Home
last modified time | relevance | path

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

/Linux-v5.4/arch/riscv/kernel/
Dtraps.c156 csr_write(CSR_SSCRATCH, 0); in trap_init()
158 csr_write(CSR_STVEC, &handle_exception); in trap_init()
160 csr_write(CSR_SIE, -1); in trap_init()
/Linux-v5.4/arch/riscv/mm/
Dcontext.c61 csr_write(CSR_SATP, virt_to_pfn(next->pgd) | SATP_MODE); in switch_mm()
Dinit.c449 csr_write(CSR_SATP, PFN_DOWN(__pa(swapper_pg_dir)) | SATP_MODE); in setup_vm_final()
/Linux-v5.4/arch/riscv/include/asm/
Dcsr.h112 #define csr_write(csr, val) \ macro
/Linux-v5.4/drivers/pci/controller/
Dpcie-mobiveil.c253 static void csr_write(struct mobiveil_pcie *pcie, u32 val, u32 off, size_t size) in csr_write() function
272 csr_write(pcie, val, off, 0x4); in csr_writel()