Searched refs:csr_write (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/arch/riscv/kernel/ |
D | traps.c | 156 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/ |
D | context.c | 61 csr_write(CSR_SATP, virt_to_pfn(next->pgd) | SATP_MODE); in switch_mm()
|
D | init.c | 449 csr_write(CSR_SATP, PFN_DOWN(__pa(swapper_pg_dir)) | SATP_MODE); in setup_vm_final()
|
/Linux-v5.4/arch/riscv/include/asm/ |
D | csr.h | 112 #define csr_write(csr, val) \ macro
|
/Linux-v5.4/drivers/pci/controller/ |
D | pcie-mobiveil.c | 253 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()
|