Home
last modified time | relevance | path

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

/linux/arch/loongarch/kernel/
H A Dtime.c118 init_offset = drdtime(); in save_counter()
176 return drdtime(); in read_const_counter()
181 return drdtime(); in sched_clock_read()
214 init_offset = -(drdtime() - csr_read64(LOONGARCH_CSR_CNTC)); in time_init()
/linux/arch/loongarch/include/asm/
H A Dtimex.h21 return drdtime(); in get_cycles()
H A Dloongarch.h1126 static __always_inline u64 drdtime(void) in drdtime() function
/linux/arch/mips/include/asm/mach-loongson64/
H A Dloongson_regs.h250 static inline u64 drdtime(void) in drdtime() function
/linux/arch/loongarch/kvm/
H A Dvcpu.c774 *v = drdtime() + vcpu->kvm->arch.time_offset; in kvm_get_one_reg()
869 vcpu->kvm->arch.time_offset = (signed long)(v - drdtime()); in kvm_set_one_reg()