Home
last modified time | relevance | path

Searched refs:csr_read32 (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/arch/loongarch/include/asm/
Dloongarch.h209 static __always_inline u32 csr_read32(u32 reg) in csr_read32() function
1182 return csr_read32(LOONGARCH_CSR_CPUID); in get_csr_cpuid()
1199 return (csr_read32(LOONGARCH_CSR_ESTAT) & CSR_ESTAT_EXC) >> CSR_ESTAT_EXC_SHIFT; in read_csr_excode()
1209 return (csr_read32(LOONGARCH_CSR_TLBIDX) & CSR_TLBIDX_SIZEM) >> CSR_TLBIDX_SIZE; in read_csr_pagesize()
1227 #define read_csr_asid() csr_read32(LOONGARCH_CSR_ASID)
1235 #define read_csr_ecfg() csr_read32(LOONGARCH_CSR_ECFG)
1237 #define read_csr_estat() csr_read32(LOONGARCH_CSR_ESTAT)
1239 #define read_csr_tlbidx() csr_read32(LOONGARCH_CSR_TLBIDX)
1241 #define read_csr_euen() csr_read32(LOONGARCH_CSR_EUEN)
1243 #define read_csr_cpuid() csr_read32(LOONGARCH_CSR_CPUID)
[all …]
Dfpu.h40 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_FPEN) ? in is_fp_enabled()
/linux-6.1.9/arch/loongarch/kernel/
Dprocess.c140 p->thread.csr_crmd = csr_read32(LOONGARCH_CSR_CRMD); in copy_thread()
141 p->thread.csr_prmd = csr_read32(LOONGARCH_CSR_PRMD); in copy_thread()
142 p->thread.csr_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in copy_thread()
Dcpu-probe.c145 config = csr_read32(LOONGARCH_CSR_ASID); in cpu_probe_common()
Dtraps.c601 pr_err("csr_merrctl == %08x\n", csr_read32(LOONGARCH_CSR_MERRCTL)); in cache_parity_error()