Searched refs:LOONGARCH_CSR_CRMD (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | irqflags.h | 20 : [mask] "r" (CSR_CRMD_IE), [reg] "i" (LOONGARCH_CSR_CRMD) in arch_local_irq_enable() 30 : [mask] "r" (CSR_CRMD_IE), [reg] "i" (LOONGARCH_CSR_CRMD) in arch_local_irq_disable() 40 : [mask] "r" (CSR_CRMD_IE), [reg] "i" (LOONGARCH_CSR_CRMD) in arch_local_irq_save() 50 : [mask] "r" (CSR_CRMD_IE), [reg] "i" (LOONGARCH_CSR_CRMD) in arch_local_irq_restore() 60 : [reg] "i" (LOONGARCH_CSR_CRMD) in arch_local_save_flags()
|
H A D | stacktrace.h | 87 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_CRMD) : "=r" (regs->csr_crmd)); in prepare_frametrace()
|
H A D | stackframe.h | 126 csrrd t0, LOONGARCH_CSR_CRMD 163 csrxchg t0, t0, LOONGARCH_CSR_CRMD
|
H A D | loongarch.h | 182 #define LOONGARCH_CSR_CRMD 0x0 /* Current mode info */ macro
|
/openbmc/linux/arch/loongarch/power/ |
H A D | hibernate.c | 17 saved_crmd = csr_read32(LOONGARCH_CSR_CRMD); in save_processor_state() 29 csr_write32(saved_crmd, LOONGARCH_CSR_CRMD); in restore_processor_state()
|
H A D | suspend_asm.S | 85 csrwr t0, LOONGARCH_CSR_CRMD
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | entry.S | 34 csrrd t2, LOONGARCH_CSR_CRMD 63 csrxchg t1, t1, LOONGARCH_CSR_CRMD
|
H A D | rethook_trampoline.S | 38 csrrd t0, LOONGARCH_CSR_CRMD 75 csrxchg t0, t1, LOONGARCH_CSR_CRMD
|
H A D | head.S | 56 csrwr t0, LOONGARCH_CSR_CRMD 131 csrwr t0, LOONGARCH_CSR_CRMD
|
H A D | genex.S | 24 csrxchg t0, t0, LOONGARCH_CSR_CRMD
|
H A D | kgdb.c | 603 csr_xchg32(0, CSR_CRMD_WE, LOONGARCH_CSR_CRMD); in kgdb_disable_hw_break() 628 csr_xchg32(0, CSR_CRMD_WE, LOONGARCH_CSR_CRMD); in kgdb_remove_all_hw_break() 662 csr_xchg32(activated ? CSR_CRMD_WE : 0, CSR_CRMD_WE, LOONGARCH_CSR_CRMD); in kgdb_correct_hw_break()
|
H A D | hw_breakpoint.c | 234 enable = csr_read64(LOONGARCH_CSR_CRMD); in hw_breakpoint_control() 235 csr_write64(CSR_CRMD_WE | enable, LOONGARCH_CSR_CRMD); in hw_breakpoint_control()
|
H A D | process.c | 160 p->thread.csr_crmd = csr_read32(LOONGARCH_CSR_CRMD); in copy_thread()
|
/openbmc/qemu/target/loongarch/ |
H A D | cpu-csr.h | 16 #define LOONGARCH_CSR_CRMD 0x0 /* Current mode info */ macro
|
/openbmc/qemu/target/loongarch/kvm/ |
H A D | kvm.c | 135 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_CRMD), in kvm_loongarch_get_csr() 305 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_CRMD), in kvm_loongarch_put_csr()
|