Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/kernel/
H A Dtime.c51 timer_config = csr_read64(LOONGARCH_CSR_TCFG); in constant_set_state_oneshot()
54 csr_write64(timer_config, LOONGARCH_CSR_TCFG); in constant_set_state_oneshot()
71 csr_write64(timer_config, LOONGARCH_CSR_TCFG); in constant_set_state_periodic()
84 timer_config = csr_read64(LOONGARCH_CSR_TCFG); in constant_set_state_shutdown()
86 csr_write64(timer_config, LOONGARCH_CSR_TCFG); in constant_set_state_shutdown()
99 csr_write64(timer_config, LOONGARCH_CSR_TCFG); in constant_timer_next_event()
/openbmc/qemu/target/loongarch/
H A Dcpu-csr.h138 #define LOONGARCH_CSR_TCFG 0x41 /* Timer config */ macro
/openbmc/qemu/target/loongarch/kvm/
H A Dkvm.c294 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_TCFG), in kvm_loongarch_get_csr()
470 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_TCFG), in kvm_loongarch_put_csr()
/openbmc/linux/arch/loongarch/include/asm/
H A Dloongarch.h458 #define LOONGARCH_CSR_TCFG 0x41 /* Timer config */ macro