Searched refs:csr_prmd (Results 1 – 11 of 11) sorted by relevance
80 prmd = regs->csr_prmd & ~(PLV_MASK); in start_thread()82 regs->csr_prmd = prmd; in start_thread()161 p->thread.csr_prmd = csr_read32(LOONGARCH_CSR_PRMD); in copy_thread()173 childregs->csr_prmd = p->thread.csr_prmd; in copy_thread()372 uregs[LOONGARCH_EF_CSR_PRMD] = regs->csr_prmd; in loongarch_dump_regs64()
341 print_prmd(regs->csr_prmd); in __show_regs()532 if (regs->csr_prmd & CSR_PRMD_PIE) in do_ale()559 if (regs->csr_prmd & CSR_PRMD_PIE) in do_ale()596 if (regs->csr_prmd & CSR_PRMD_PIE) in do_bce()662 if (regs->csr_prmd & CSR_PRMD_PIE) in do_bce()684 if (regs->csr_prmd & CSR_PRMD_PIE) in do_bp()750 if (regs->csr_prmd & CSR_PRMD_PIE) in do_bp()994 if (regs->csr_prmd & CSR_PRMD_PIE) in do_lbt()1008 if (regs->csr_prmd & CSR_PRMD_PIE) in do_lbt()
116 kcb->saved_status = regs->csr_prmd; in save_local_irqflag()117 regs->csr_prmd &= ~CSR_PRMD_PIE; in save_local_irqflag()124 regs->csr_prmd = kcb->saved_status; in restore_local_irqflag()
225 regs->csr_prmd |= CSR_PRMD_PWE; in hw_breakpoint_control()241 regs->csr_prmd &= ~CSR_PRMD_PWE; in hw_breakpoint_control()453 regs->csr_prmd |= CSR_PRMD_PWE; in update_bp_registers()465 regs->csr_prmd &= ~CSR_PRMD_PWE; in update_bp_registers()543 regs->csr_prmd |= CSR_PRMD_PWE; in hw_breakpoint_thread_switch()
53 OFFSET(PT_PRMD, pt_regs, csr_prmd); in output_ptreg_defines()115 thread.csr_prmd); in output_thread_defines()
433 regs->csr_prmd |= CSR_PRMD_PWE; in kgdb_arch_handle_exception()438 regs->csr_prmd &= ~CSR_PRMD_PWE; in kgdb_arch_handle_exception()
822 REG_OFFSET_NAME(csr_prmd, csr_prmd),
29 unsigned long csr_prmd; member38 return arch_irqs_disabled_flags(regs->csr_prmd); in regs_irqs_disabled()150 #define user_mode(regs) (((regs)->csr_prmd & PLV_MASK) == PLV_USER)
121 unsigned long csr_prmd; member167 .csr_prmd = 0, \
88 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_PRMD) : "=r" (regs->csr_prmd)); in prepare_frametrace()
262 if (likely(regs->csr_prmd & CSR_PRMD_PIE)) in do_page_fault()