Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_CNTC (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/loongarch/kernel/
H A Dtime.c123 csr_write64(init_offset, LOONGARCH_CSR_CNTC); in sync_counter()
223 init_offset = -(drdtime() - csr_read64(LOONGARCH_CSR_CNTC)); in time_init()
/openbmc/qemu/target/loongarch/
H A Dcpu-csr.h145 #define LOONGARCH_CSR_CNTC 0x43 /* Timer offset */ macro
/openbmc/qemu/target/loongarch/kvm/
H A Dkvm.c240 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_CNTC), in kvm_loongarch_get_csr()
413 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_CNTC), in kvm_loongarch_put_csr()
/openbmc/linux/arch/loongarch/include/asm/
H A Dloongarch.h468 #define LOONGARCH_CSR_CNTC 0x43 /* Timer offset */ macro