Home
last modified time | relevance | path

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

/linux/arch/loongarch/kvm/
H A Dtimer.c93 if (!(cfg & CSR_TCFG_PERIOD) && (ticks > cfg)) { in kvm_restore_timer()
119 else if (cfg & CSR_TCFG_PERIOD) { in kvm_restore_timer()
/linux/arch/loongarch/kernel/
H A Dtime.c56 timer_config &= ~CSR_TCFG_PERIOD; in constant_set_state_oneshot()
73 timer_config |= (CSR_TCFG_PERIOD | CSR_TCFG_EN); in constant_set_state_periodic()
/linux/tools/testing/selftests/kvm/include/loongarch/
H A Darch_timer.h69 val |= CSR_TCFG_PERIOD; in timer_set_next_cmp_ms()
H A Dprocessor.h118 #define CSR_TCFG_PERIOD (0x1UL << CSR_TCFG_PERIOD_SHIFT) macro
/linux/tools/testing/selftests/kvm/loongarch/
H A Darch_timer.c40 if (cfg & CSR_TCFG_PERIOD) { in guest_irq_handler()
/linux/arch/loongarch/include/asm/
H A Dloongarch.h502 #define CSR_TCFG_PERIOD (_ULCAST_(0x1) << CSR_TCFG_PERIOD_SHIFT) macro