Lines Matching refs:csr_read32
171 #define csr_read32(reg) __csrrd_w(reg) macro
1140 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)
1208 #define read_csr_stlbpgsize() csr_read32(LOONGARCH_CSR_STLBPGSIZE)
1210 #define read_csr_rvacfg() csr_read32(LOONGARCH_CSR_RVACFG)