Home
last modified time | relevance | path

Searched refs:read_cpucfg (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/arch/loongarch/include/asm/
Dtime.h23 res = read_cpucfg(LOONGARCH_CPUCFG2); in calc_const_freq()
27 base_freq = read_cpucfg(LOONGARCH_CPUCFG4); in calc_const_freq()
28 res = read_cpucfg(LOONGARCH_CPUCFG5); in calc_const_freq()
Dloongarch.h59 static inline u32 read_cpucfg(u32 reg) in read_cpucfg() function
/linux-5.19.10/arch/loongarch/kernel/
Dcpu-probe.c68 c->pabits = (read_cpucfg(LOONGARCH_CPUCFG1) & CPUCFG1_PABITS) >> 4; in cpu_probe_addrbits()
69 c->vabits = (read_cpucfg(LOONGARCH_CPUCFG1) & CPUCFG1_VABITS) >> 12; in cpu_probe_addrbits()
99 config = read_cpucfg(LOONGARCH_CPUCFG1); in cpu_probe_common()
105 config = read_cpucfg(LOONGARCH_CPUCFG2); in cpu_probe_common()
127 config = read_cpucfg(LOONGARCH_CPUCFG6); in cpu_probe_common()
265 c->processor_id = read_cpucfg(LOONGARCH_CPUCFG0); in cpu_probe()
266 c->fpu_vers = (read_cpucfg(LOONGARCH_CPUCFG2) & CPUCFG2_FPVERS) >> 3; in cpu_probe()
Dptrace.c231 cfg_val = read_cpucfg(i++); in cfg_get()
Dtraps.c201 printk("PrId : %08x (%s)\n", read_cpucfg(LOONGARCH_CPUCFG0), in __show_regs()
/linux-5.19.10/arch/loongarch/mm/
Dcache.c60 config = read_cpucfg(LOONGARCH_CPUCFG17); in probe_pcache()
71 config = read_cpucfg(LOONGARCH_CPUCFG18); in probe_pcache()
97 config = read_cpucfg(LOONGARCH_CPUCFG19); in probe_vcache()
118 config = read_cpucfg(LOONGARCH_CPUCFG20); in probe_scache()
/linux-5.19.10/arch/mips/include/asm/mach-loongson64/
Dloongson_regs.h19 static inline u32 read_cpucfg(u32 reg) in read_cpucfg() function
137 return (read_cpucfg(LOONGSON_CFG2) & LOONGSON_CFG2_LCSRP); in cpu_has_csr()
/linux-5.19.10/arch/mips/kernel/
Dcpu-probe.c1690 u32 cfg1 = read_cpucfg(LOONGSON_CFG1); in decode_cpucfg()
1691 u32 cfg2 = read_cpucfg(LOONGSON_CFG2); in decode_cpucfg()
1692 u32 cfg3 = read_cpucfg(LOONGSON_CFG3); in decode_cpucfg()
/linux-5.19.10/arch/mips/kvm/
Dvz.c1166 hostcfg = read_cpucfg(vcpu->arch.gprs[rs]); in kvm_vz_gpsi_lwc2()