Home
last modified time | relevance | path

Searched refs:cpuinfo_mips (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/include/asm/
Dcpu-info.h52 struct cpuinfo_mips { struct
119 extern struct cpuinfo_mips cpu_data[]; argument
151 static inline unsigned int cpu_cluster(struct cpuinfo_mips *cpuinfo) in cpu_cluster()
161 static inline unsigned int cpu_core(struct cpuinfo_mips *cpuinfo) in cpu_core()
167 static inline unsigned int cpu_vpe_id(struct cpuinfo_mips *cpuinfo) in cpu_vpe_id()
177 extern void cpu_set_cluster(struct cpuinfo_mips *cpuinfo, unsigned int cluster);
178 extern void cpu_set_core(struct cpuinfo_mips *cpuinfo, unsigned int core);
179 extern void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe);
183 struct cpuinfo_mips *infoa = &cpu_data[cpua]; in cpus_are_siblings()
184 struct cpuinfo_mips *infob = &cpu_data[cpub]; in cpus_are_siblings()
[all …]
Dwatch.h18 void mips_probe_watch_registers(struct cpuinfo_mips *c);
Dmips-cm.h454 struct cpuinfo_mips *d = &cpu_data[cpu]; in mips_cm_lock_other_cpu()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson64/
Dcpucfg-emul.h13 void loongson3_cpucfg_synthesize_data(struct cpuinfo_mips *c);
15 static inline bool loongson3_cpucfg_emulation_enabled(struct cpuinfo_mips *c) in loongson3_cpucfg_emulation_enabled()
21 static inline u32 loongson3_cpucfg_read_synthesized(struct cpuinfo_mips *c, in loongson3_cpucfg_read_synthesized()
58 static inline void loongson3_cpucfg_synthesize_data(struct cpuinfo_mips *c) in loongson3_cpucfg_synthesize_data()
62 static inline bool loongson3_cpucfg_emulation_enabled(struct cpuinfo_mips *c) in loongson3_cpucfg_emulation_enabled()
67 static inline u32 loongson3_cpucfg_read_synthesized(struct cpuinfo_mips *c, in loongson3_cpucfg_read_synthesized()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dfpu-probe.h13 void cpu_set_fpu_opts(struct cpuinfo_mips *c);
14 void cpu_set_nofpu_opts(struct cpuinfo_mips *c);
30 static inline void cpu_set_fpu_opts(struct cpuinfo_mips *c) in cpu_set_fpu_opts()
35 static inline void cpu_set_nofpu_opts(struct cpuinfo_mips *c) in cpu_set_nofpu_opts()
Dcpu-probe.c86 static int set_ftlb_enable(struct cpuinfo_mips *c, enum ftlb_flags flags);
143 static inline void cpu_set_mt_per_tc_perf(struct cpuinfo_mips *c) in cpu_set_mt_per_tc_perf()
151 struct cpuinfo_mips *c = &current_cpu_data; in check_errata()
208 static inline void cpu_probe_vmbits(struct cpuinfo_mips *c) in cpu_probe_vmbits()
217 static void set_isa(struct cpuinfo_mips *c, unsigned int isa) in set_isa()
277 static unsigned int calculate_ftlb_probability(struct cpuinfo_mips *c) in calculate_ftlb_probability()
303 static int set_ftlb_enable(struct cpuinfo_mips *c, enum ftlb_flags flags) in set_ftlb_enable()
355 static int mm_config(struct cpuinfo_mips *c) in mm_config()
401 static inline unsigned int decode_config0(struct cpuinfo_mips *c) in decode_config0()
459 static inline unsigned int decode_config1(struct cpuinfo_mips *c) in decode_config1()
[all …]
Dfpu-probe.c49 static inline void cpu_set_fpu_fcsr_mask(struct cpuinfo_mips *c) in cpu_set_fpu_fcsr_mask()
78 static void cpu_set_fpu_2008(struct cpuinfo_mips *c) in cpu_set_fpu_2008()
155 static void cpu_set_nofpu_2008(struct cpuinfo_mips *c) in cpu_set_nofpu_2008()
192 static void cpu_set_nan_2008(struct cpuinfo_mips *c) in cpu_set_nan_2008()
250 static void cpu_set_nofpu_id(struct cpuinfo_mips *c) in cpu_set_nofpu_id()
275 void cpu_set_fpu_opts(struct cpuinfo_mips *c) in cpu_set_fpu_opts()
300 void cpu_set_nofpu_opts(struct cpuinfo_mips *c) in cpu_set_nofpu_opts()
Dcacheinfo.c22 struct cpuinfo_mips *c = &current_cpu_data; in init_cache_level()
74 struct cpuinfo_mips *c = &current_cpu_data; in populate_cache_leaves()
Dcpu-r3k-probe.c70 struct cpuinfo_mips *c = &current_cpu_data; in cpu_probe()
165 struct cpuinfo_mips *c = &current_cpu_data; in cpu_report()
Dsmp-cmp.c32 struct cpuinfo_mips *c __maybe_unused = &current_cpu_data; in cmp_init_secondary()
Didle.c128 struct cpuinfo_mips *c = &current_cpu_data; in check_wait()
Dwatch.c118 void mips_probe_watch_registers(struct cpuinfo_mips *c) in mips_probe_watch_registers()
Delf.c309 struct cpuinfo_mips *c = &boot_cpu_data; in mips_set_personality_nan()
Dsetup.c50 struct cpuinfo_mips cpu_data[NR_CPUS] __read_mostly;
Dpm-cps.c238 const struct cpuinfo_mips *cpu_info, in cps_gen_flush_fsb()
/kernel/linux/linux-5.10/arch/mips/loongson64/
Dcpucfg-emul.c12 static bool is_loongson(struct cpuinfo_mips *c) in is_loongson()
27 static u32 get_loongson_fprev(struct cpuinfo_mips *c) in get_loongson_fprev()
50 static void probe_uca(struct cpuinfo_mips *c) in probe_uca()
56 static void decode_loongson_config6(struct cpuinfo_mips *c) in decode_loongson_config6()
68 static void patch_cpucfg_sel1(struct cpuinfo_mips *c) in patch_cpucfg_sel1()
86 static void patch_cpucfg_sel2(struct cpuinfo_mips *c) in patch_cpucfg_sel2()
107 static void patch_cpucfg_sel3(struct cpuinfo_mips *c) in patch_cpucfg_sel3()
124 void loongson3_cpucfg_synthesize_data(struct cpuinfo_mips *c) in loongson3_cpucfg_synthesize_data()
/kernel/linux/linux-5.10/arch/mips/mm/
Dsc-mips.c120 static inline int mips_sc_is_activated(struct cpuinfo_mips *c) in mips_sc_is_activated()
151 struct cpuinfo_mips *c = &current_cpu_data; in mips_sc_probe_cm3()
185 struct cpuinfo_mips *c = &current_cpu_data; in mips_sc_probe()
Dc-r4k.c1052 static inline int alias_74k_erratum(struct cpuinfo_mips *c) in alias_74k_erratum()
1107 struct cpuinfo_mips *c = &current_cpu_data; in probe_pcache()
1511 struct cpuinfo_mips *c = &current_cpu_data; in probe_vcache()
1545 struct cpuinfo_mips *c = &current_cpu_data; in probe_scache()
1598 struct cpuinfo_mips *c = &current_cpu_data; in loongson2_sc_init()
1614 struct cpuinfo_mips *c = &current_cpu_data; in loongson3_sc_init()
1651 struct cpuinfo_mips *c = &current_cpu_data; in setup_scache()
1865 struct cpuinfo_mips *c = &current_cpu_data; in r4k_cache_init()
Dsc-rm7k.c231 struct cpuinfo_mips *c = &current_cpu_data; in rm7k_sc_init()
Dc-octeon.c172 struct cpuinfo_mips *c = &current_cpu_data; in probe_octeon()
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/
Dplatform.c18 struct cpuinfo_mips *c = &current_cpu_data; in loongson2_cpufreq_init()
/kernel/linux/linux-5.10/arch/mips/bcm47xx/
Dprom.c61 struct cpuinfo_mips *c = &current_cpu_data; in prom_init_mem()
Dsetup.c149 struct cpuinfo_mips *c = &current_cpu_data; in plat_mem_setup()
/kernel/linux/linux-5.10/arch/mips/kvm/
Dentry.c398 uasm_i_addiu(&p, T3, ZERO, sizeof(struct cpuinfo_mips)/sizeof(long)); in kvm_mips_build_enter_guest()