Home
last modified time | relevance | path

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

/linux/arch/mips/include/asm/
H A 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 …]
H A Dwatch.h18 void mips_probe_watch_registers(struct cpuinfo_mips *c);
H A Dmips-cm.h471 struct cpuinfo_mips *d = &cpu_data[cpu]; in mips_cm_lock_other_cpu()
/linux/arch/mips/include/asm/mach-loongson64/
H A 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()
/linux/arch/mips/kernel/
H A 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()
H A Dcpu-probe.c87 static int set_ftlb_enable(struct cpuinfo_mips *c, enum ftlb_flags flags);
144 static inline void cpu_set_mt_per_tc_perf(struct cpuinfo_mips *c) in cpu_set_mt_per_tc_perf()
152 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 …]
H A 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()
193 static void cpu_set_nan_2008(struct cpuinfo_mips *c) in cpu_set_nan_2008()
257 static void cpu_set_nofpu_id(struct cpuinfo_mips *c) in cpu_set_nofpu_id()
282 void cpu_set_fpu_opts(struct cpuinfo_mips *c) in cpu_set_fpu_opts()
307 void cpu_set_nofpu_opts(struct cpuinfo_mips *c) in cpu_set_nofpu_opts()
H A Dcpu-r3k-probe.c70 struct cpuinfo_mips *c = &current_cpu_data; in cpu_probe()
145 struct cpuinfo_mips *c = &current_cpu_data; in cpu_report()
H A Dcacheinfo.c22 struct cpuinfo_mips *c = &current_cpu_data; in init_cache_level()
79 struct cpuinfo_mips *c = &current_cpu_data; in populate_cache_leaves()
H A Didle.c121 struct cpuinfo_mips *c = &current_cpu_data; in check_wait()
H A Dwatch.c118 void mips_probe_watch_registers(struct cpuinfo_mips *c) in mips_probe_watch_registers()
H A Delf.c310 struct cpuinfo_mips *c = &boot_cpu_data; in mips_set_personality_nan()
H A Dsetup.c53 struct cpuinfo_mips cpu_data[NR_CPUS] __read_mostly;
H A Dpm-cps.c232 const struct cpuinfo_mips *cpu_info, in cps_gen_flush_fsb()
/linux/arch/mips/loongson64/
H A 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()
/linux/arch/mips/mm/
H A 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()
H A Dc-r4k.c941 static inline int alias_74k_erratum(struct cpuinfo_mips *c) in alias_74k_erratum()
996 struct cpuinfo_mips *c = &current_cpu_data; in probe_pcache()
1356 struct cpuinfo_mips *c = &current_cpu_data; in probe_vcache()
1390 struct cpuinfo_mips *c = &current_cpu_data; in probe_scache()
1443 struct cpuinfo_mips *c = &current_cpu_data; in loongson2_sc_init()
1459 struct cpuinfo_mips *c = &current_cpu_data; in loongson3_sc_init()
1490 struct cpuinfo_mips *c = &current_cpu_data; in setup_scache()
1703 struct cpuinfo_mips *c = &current_cpu_data; in r4k_cache_init()
H A Dsc-rm7k.c231 struct cpuinfo_mips *c = &current_cpu_data; in rm7k_sc_init()
H A Dc-octeon.c175 struct cpuinfo_mips *c = &current_cpu_data; in probe_octeon()
/linux/arch/mips/loongson2ef/common/
H A Dplatform.c18 struct cpuinfo_mips *c = &current_cpu_data; in loongson2_cpufreq_init()
/linux/arch/mips/bcm47xx/
H A Dprom.c63 struct cpuinfo_mips *c = &current_cpu_data; in prom_init_mem()
H A Dsetup.c157 struct cpuinfo_mips *c = &current_cpu_data; in plat_mem_setup()
/linux/arch/mips/kvm/
H A Dentry.c323 uasm_i_addiu(&p, GPR_T3, GPR_ZERO, sizeof(struct cpuinfo_mips)/sizeof(long)); in kvm_mips_build_enter_guest()