Home
last modified time | relevance | path

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

/arch/riscv/include/asm/
Dtimex.h53 return csr_read(CSR_TIME); in get_cycles()
59 return csr_read(CSR_TIMEH); in get_cycles_hi()
Dirqflags.h16 return csr_read(CSR_STATUS); in arch_local_save_flags()
Dcsr.h166 #define csr_read(csr) \ macro
/arch/riscv/include/asm/vdso/
Dgettimeofday.h71 return csr_read(CSR_TIME); in __arch_get_hw_counter()
/arch/riscv/kernel/
Dperf_event.c188 val = csr_read(CSR_CYCLE); in read_counter()
191 val = csr_read(CSR_INSTRET); in read_counter()
Dtraps_misaligned.c245 unsigned long addr = csr_read(mtval); in handle_misaligned_load()
328 unsigned long addr = csr_read(mtval); in handle_misaligned_store()
/arch/riscv/mm/
Dfault.c104 pfn = csr_read(CSR_SATP) & SATP_PPN; in vmalloc_fault()