Searched refs:LOONGARCH_CSR_TCFG (Results 1 – 4 of 4) sorted by relevance
51 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()
138 #define LOONGARCH_CSR_TCFG 0x41 /* Timer config */ macro
294 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()
458 #define LOONGARCH_CSR_TCFG 0x41 /* Timer config */ macro