Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dkvm_csr.h90 #define read_gcsr_prcfg2() gcsr_read(LOONGARCH_CSR_PRCFG2)
91 #define write_gcsr_prcfg2(val) gcsr_write(val, LOONGARCH_CSR_PRCFG2)
H A Dloongarch.h421 #define LOONGARCH_CSR_PRCFG2 0x22 /* Config2 */ macro
1204 #define read_csr_prcfg2() csr_read64(LOONGARCH_CSR_PRCFG2)
1205 #define write_csr_prcfg2(val) csr_write64(val, LOONGARCH_CSR_PRCFG2)
/linux/arch/loongarch/kvm/
H A Dmain.c72 set_gcsr_hw_flag(LOONGARCH_CSR_PRCFG2); in kvm_init_gcsr_flag()
H A Dvcpu.c1669 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PRCFG2); in _kvm_vcpu_put()