Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_csr.h112 #define read_gcsr_timerid() gcsr_read(LOONGARCH_CSR_TMID)
113 #define write_gcsr_timerid(val) gcsr_write(val, LOONGARCH_CSR_TMID)
Dloongarch.h465 #define LOONGARCH_CSR_TMID 0x40 /* Timer ID */ macro
/linux-6.12.1/arch/loongarch/mm/
Dtlb.c236 csr_write64((long)smp_processor_id(), LOONGARCH_CSR_TMID); in setup_ptwalker()
/linux-6.12.1/arch/loongarch/kvm/
Dmain.c82 set_gcsr_hw_flag(LOONGARCH_CSR_TMID); in kvm_init_gcsr_flag()
Dvcpu.c1489 kvm_write_sw_gcsr(csr, LOONGARCH_CSR_TMID, vcpu->vcpu_id); in kvm_arch_vcpu_create()
1590 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_TMID); in _kvm_vcpu_load()
1679 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_TMID); in _kvm_vcpu_put()