Home
last modified time | relevance | path

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

/linux/drivers/acpi/riscv/
H A Dcppc.c71 case CSR_TIME: in cppc_ffh_csr_read()
72 data->ret.value = csr_read(CSR_TIME); in cppc_ffh_csr_read()
/linux/arch/riscv/include/asm/
H A Dtimex.h53 return csr_read(CSR_TIME); in get_cycles()
/linux/tools/testing/selftests/kvm/include/riscv/
H A Darch_timer.h27 return csr_read(CSR_TIME); in timer_get_cycles()
/linux/arch/riscv/include/asm/vdso/
H A Dgettimeofday.h75 * The purpose of csr_read(CSR_TIME) is to trap the system into in __arch_get_hw_counter()
76 * M-mode to obtain the value of CSR_TIME. Hence, unlike other in __arch_get_hw_counter()
79 return csr_read(CSR_TIME); in __arch_get_hw_counter()
/linux/tools/lib/perf/
H A Dmmap.c415 #define CSR_TIME 0xc01 macro
472 return csr_read_num(CSR_TIME); in read_timestamp()
/linux/tools/arch/riscv/include/asm/
H A Dcsr.h219 #define CSR_TIME 0xc01 macro