Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/include/asm/
Dtime.h24 res = read_cpucfg(LOONGARCH_CPUCFG2); in calc_const_freq()
28 base_freq = read_cpucfg(LOONGARCH_CPUCFG4); in calc_const_freq()
29 res = read_cpucfg(LOONGARCH_CPUCFG5); in calc_const_freq()
Dloongarch.h16 #define read_cpucfg(reg) __cpucfg(reg) macro
/linux-6.12.1/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()
98 config = read_cpucfg(LOONGARCH_CPUCFG1); in cpu_probe_common()
127 config = read_cpucfg(LOONGARCH_CPUCFG2); in cpu_probe_common()
183 config = read_cpucfg(LOONGARCH_CPUCFG6); in cpu_probe_common()
327 c->processor_id = read_cpucfg(LOONGARCH_CPUCFG0); in cpu_probe()
328 c->fpu_vers = (read_cpucfg(LOONGARCH_CPUCFG2) & CPUCFG2_FPVERS) >> 3; in cpu_probe()
Dparavirt.c183 config = read_cpucfg(CPUCFG_KVM_SIG); in kvm_para_available()
199 feature = read_cpucfg(CPUCFG_KVM_FEATURE); in kvm_arch_para_features()
Dperf_event.c855 counters = ((read_cpucfg(LOONGARCH_CPUCFG6) & CPUCFG6_PMNUM) >> 4) + 1; in init_hw_perf_events()
Dtraps.c375 printk(" PRID: %08x (%s, %s)\n", read_cpucfg(LOONGARCH_CPUCFG0), in __show_regs()
Dptrace.c238 cfg_val = read_cpucfg(i++); in cfg_get()
/linux-6.12.1/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-6.12.1/arch/loongarch/mm/
Dcache.c98 cfg1 = read_cpucfg(LOONGARCH_CPUCFG17 + leaf); \
118 unsigned int config = read_cpucfg(LOONGARCH_CPUCFG16); in cpu_cache_init()
/linux-6.12.1/arch/mips/kernel/
Dcpu-probe.c1655 u32 cfg1 = read_cpucfg(LOONGSON_CFG1); in decode_cpucfg()
1656 u32 cfg2 = read_cpucfg(LOONGSON_CFG2); in decode_cpucfg()
1657 u32 cfg3 = read_cpucfg(LOONGSON_CFG3); in decode_cpucfg()
/linux-6.12.1/arch/loongarch/kvm/
Dvcpu.c707 u32 host = read_cpucfg(LOONGARCH_CPUCFG6); in kvm_check_cpucfg()
/linux-6.12.1/arch/mips/kvm/
Dvz.c1166 hostcfg = read_cpucfg(vcpu->arch.gprs[rs]); in kvm_vz_gpsi_lwc2()