Lines Matching refs:csr_read64
172 #define csr_read64(reg) __csrrd_d(reg) macro
1177 return (csr_read64(LOONGARCH_CSR_TLBREHI) & CSR_TLBREHI_PS) >> CSR_TLBREHI_PS_SHIFT; in read_csr_tlbrefill_pagesize()
1187 #define read_csr_entryhi() csr_read64(LOONGARCH_CSR_TLBEHI)
1189 #define read_csr_entrylo0() csr_read64(LOONGARCH_CSR_TLBELO0)
1191 #define read_csr_entrylo1() csr_read64(LOONGARCH_CSR_TLBELO1)
1202 #define read_csr_prcfg1() csr_read64(LOONGARCH_CSR_PRCFG1)
1204 #define read_csr_prcfg2() csr_read64(LOONGARCH_CSR_PRCFG2)
1206 #define read_csr_prcfg3() csr_read64(LOONGARCH_CSR_PRCFG3)
1213 #define read_csr_impctl1() csr_read64(LOONGARCH_CSR_IMPCTL1)
1217 #define read_csr_perfctrl0() csr_read64(LOONGARCH_CSR_PERFCTRL0)
1218 #define read_csr_perfcntr0() csr_read64(LOONGARCH_CSR_PERFCNTR0)
1219 #define read_csr_perfctrl1() csr_read64(LOONGARCH_CSR_PERFCTRL1)
1220 #define read_csr_perfcntr1() csr_read64(LOONGARCH_CSR_PERFCNTR1)
1221 #define read_csr_perfctrl2() csr_read64(LOONGARCH_CSR_PERFCTRL2)
1222 #define read_csr_perfcntr2() csr_read64(LOONGARCH_CSR_PERFCNTR2)
1223 #define read_csr_perfctrl3() csr_read64(LOONGARCH_CSR_PERFCTRL3)
1224 #define read_csr_perfcntr3() csr_read64(LOONGARCH_CSR_PERFCNTR3)