Searched refs:LOONGARCH_CSR_PRMD (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/arch/loongarch/kernel/ |
D | switch.S | 19 csrrd t1, LOONGARCH_CSR_PRMD 39 csrwr t1, LOONGARCH_CSR_PRMD
|
D | head.S | 54 csrwr t0, LOONGARCH_CSR_PRMD 136 csrwr t0, LOONGARCH_CSR_PRMD
|
D | entry.S | 34 csrrd t2, LOONGARCH_CSR_PRMD
|
D | process.c | 161 p->thread.csr_prmd = csr_read32(LOONGARCH_CSR_PRMD); in copy_thread()
|
/linux-6.12.1/arch/loongarch/power/ |
D | hibernate.c | 18 saved_prmd = csr_read32(LOONGARCH_CSR_PRMD); in save_processor_state() 30 csr_write32(saved_prmd, LOONGARCH_CSR_PRMD); in restore_processor_state()
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | stackframe.h | 122 csrrd t1, LOONGARCH_CSR_PRMD 136 csrrd t0, LOONGARCH_CSR_PRMD 164 csrrd t0, LOONGARCH_CSR_PRMD 219 csrwr a0, LOONGARCH_CSR_PRMD
|
D | stacktrace.h | 88 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_PRMD) : "=r" (regs->csr_prmd)); in prepare_frametrace()
|
D | kvm_csr.h | 50 #define read_gcsr_prmd() gcsr_read(LOONGARCH_CSR_PRMD) 51 #define write_gcsr_prmd(val) gcsr_write(val, LOONGARCH_CSR_PRMD)
|
D | loongarch.h | 212 #define LOONGARCH_CSR_PRMD 0x1 /* Prev-exception mode info */ macro
|
/linux-6.12.1/arch/loongarch/kvm/ |
D | interrupt.c | 145 kvm_write_hw_gcsr(LOONGARCH_CSR_PRMD, val); in _kvm_deliver_exception()
|
D | switch.S | 88 csrxchg t0, t0, LOONGARCH_CSR_PRMD
|
D | main.c | 49 set_gcsr_hw_flag(LOONGARCH_CSR_PRMD); in kvm_init_gcsr_flag()
|
D | vcpu.c | 1562 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PRMD); in _kvm_vcpu_load() 1648 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PRMD); in _kvm_vcpu_put()
|