Home
last modified time | relevance | path

Searched refs:csr_read (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/riscv/include/asm/
Dtimex.h15 return csr_read(CSR_TIME); in get_cycles()
27 return csr_read(CSR_TIMEH); in get_cycles_hi()
Dirqflags.h16 return csr_read(CSR_SSTATUS); in arch_local_save_flags()
Dcsr.h103 #define csr_read(csr) \ macro
/Linux-v5.4/arch/riscv/kernel/
Dperf_event.c188 val = csr_read(CSR_CYCLE); in read_counter()
191 val = csr_read(CSR_INSTRET); in read_counter()
/Linux-v5.4/arch/riscv/mm/
Dfault.c235 pgd = (pgd_t *)pfn_to_virt(csr_read(CSR_SATP)) + index; in do_page_fault()
/Linux-v5.4/drivers/pci/controller/
Dpcie-mobiveil.c238 static u32 csr_read(struct mobiveil_pcie *pcie, u32 off, size_t size) in csr_read() function
267 return csr_read(pcie, off, 0x4); in csr_readl()