Searched refs:csr_read32 (Results 1 – 7 of 7) sorted by relevance
17 saved_crmd = csr_read32(LOONGARCH_CSR_CRMD); in save_processor_state()18 saved_prmd = csr_read32(LOONGARCH_CSR_PRMD); in save_processor_state()19 saved_euen = csr_read32(LOONGARCH_CSR_EUEN); in save_processor_state()20 saved_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in save_processor_state()
171 #define csr_read32(reg) __csrrd_w(reg) macro1140 return csr_read32(LOONGARCH_CSR_CPUID); in get_csr_cpuid()1157 return (csr_read32(LOONGARCH_CSR_ESTAT) & CSR_ESTAT_EXC) >> CSR_ESTAT_EXC_SHIFT; in read_csr_excode()1167 return (csr_read32(LOONGARCH_CSR_TLBIDX) & CSR_TLBIDX_SIZEM) >> CSR_TLBIDX_SIZE; in read_csr_pagesize()1185 #define read_csr_asid() csr_read32(LOONGARCH_CSR_ASID)1193 #define read_csr_ecfg() csr_read32(LOONGARCH_CSR_ECFG)1195 #define read_csr_estat() csr_read32(LOONGARCH_CSR_ESTAT)1197 #define read_csr_tlbidx() csr_read32(LOONGARCH_CSR_TLBIDX)1199 #define read_csr_euen() csr_read32(LOONGARCH_CSR_EUEN)1201 #define read_csr_cpuid() csr_read32(LOONGARCH_CSR_CPUID)[all …]
24 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_LBTEN) ? in is_lbt_enabled()
160 p->thread.csr_crmd = csr_read32(LOONGARCH_CSR_CRMD); in copy_thread()161 p->thread.csr_prmd = csr_read32(LOONGARCH_CSR_PRMD); in copy_thread()162 p->thread.csr_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in copy_thread()
482 if ((csr_read32(LOONGARCH_CSR_FWPS) & (0x1 << i))) { in breakpoint_handler()502 if ((csr_read32(LOONGARCH_CSR_MWPS) & (0x1 << i))) { in watchpoint_handler()
187 config = csr_read32(LOONGARCH_CSR_ASID); in cpu_probe_common()
798 int llbit = (csr_read32(LOONGARCH_CSR_LLBCTL) & 0x1); in do_watch()1063 pr_err("csr_merrctl == %08x\n", csr_read32(LOONGARCH_CSR_MERRCTL)); in cache_parity_error()