Home
last modified time | relevance | path

Searched refs:gcsr_write (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_csr.h25 #define gcsr_write(v, csr) \ macro
49 #define write_gcsr_crmd(val) gcsr_write(val, LOONGARCH_CSR_CRMD)
51 #define write_gcsr_prmd(val) gcsr_write(val, LOONGARCH_CSR_PRMD)
53 #define write_gcsr_euen(val) gcsr_write(val, LOONGARCH_CSR_EUEN)
55 #define write_gcsr_misc(val) gcsr_write(val, LOONGARCH_CSR_MISC)
57 #define write_gcsr_ecfg(val) gcsr_write(val, LOONGARCH_CSR_ECFG)
59 #define write_gcsr_estat(val) gcsr_write(val, LOONGARCH_CSR_ESTAT)
61 #define write_gcsr_era(val) gcsr_write(val, LOONGARCH_CSR_ERA)
63 #define write_gcsr_badv(val) gcsr_write(val, LOONGARCH_CSR_BADV)
65 #define write_gcsr_badi(val) gcsr_write(val, LOONGARCH_CSR_BADI)
[all …]
/linux-6.12.1/arch/loongarch/kvm/
Dtimer.c105 gcsr_write(CSR_TINTCLR_TI, LOONGARCH_CSR_TINTCLR); in kvm_restore_timer()