/linux/arch/mips/include/asm/ |
H A D | cpu-info.h | 52 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 D | watch.h | 18 void mips_probe_watch_registers(struct cpuinfo_mips *c);
|
H A D | mips-cm.h | 471 struct cpuinfo_mips *d = &cpu_data[cpu]; in mips_cm_lock_other_cpu()
|
/linux/arch/mips/include/asm/mach-loongson64/ |
H A D | cpucfg-emul.h | 13 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 D | fpu-probe.h | 13 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 D | cpu-probe.c | 87 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 = ¤t_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 D | fpu-probe.c | 49 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 D | cpu-r3k-probe.c | 70 struct cpuinfo_mips *c = ¤t_cpu_data; in cpu_probe() 145 struct cpuinfo_mips *c = ¤t_cpu_data; in cpu_report()
|
H A D | cacheinfo.c | 22 struct cpuinfo_mips *c = ¤t_cpu_data; in init_cache_level() 79 struct cpuinfo_mips *c = ¤t_cpu_data; in populate_cache_leaves()
|
H A D | idle.c | 121 struct cpuinfo_mips *c = ¤t_cpu_data; in check_wait()
|
H A D | watch.c | 118 void mips_probe_watch_registers(struct cpuinfo_mips *c) in mips_probe_watch_registers()
|
H A D | elf.c | 310 struct cpuinfo_mips *c = &boot_cpu_data; in mips_set_personality_nan()
|
H A D | setup.c | 53 struct cpuinfo_mips cpu_data[NR_CPUS] __read_mostly;
|
H A D | pm-cps.c | 232 const struct cpuinfo_mips *cpu_info, in cps_gen_flush_fsb()
|
/linux/arch/mips/loongson64/ |
H A D | cpucfg-emul.c | 12 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 D | sc-mips.c | 120 static inline int mips_sc_is_activated(struct cpuinfo_mips *c) in mips_sc_is_activated() 151 struct cpuinfo_mips *c = ¤t_cpu_data; in mips_sc_probe_cm3() 185 struct cpuinfo_mips *c = ¤t_cpu_data; in mips_sc_probe()
|
H A D | c-r4k.c | 941 static inline int alias_74k_erratum(struct cpuinfo_mips *c) in alias_74k_erratum() 996 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_pcache() 1356 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_vcache() 1390 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_scache() 1443 struct cpuinfo_mips *c = ¤t_cpu_data; in loongson2_sc_init() 1459 struct cpuinfo_mips *c = ¤t_cpu_data; in loongson3_sc_init() 1490 struct cpuinfo_mips *c = ¤t_cpu_data; in setup_scache() 1703 struct cpuinfo_mips *c = ¤t_cpu_data; in r4k_cache_init()
|
H A D | sc-rm7k.c | 231 struct cpuinfo_mips *c = ¤t_cpu_data; in rm7k_sc_init()
|
H A D | c-octeon.c | 175 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_octeon()
|
/linux/arch/mips/loongson2ef/common/ |
H A D | platform.c | 18 struct cpuinfo_mips *c = ¤t_cpu_data; in loongson2_cpufreq_init()
|
/linux/arch/mips/bcm47xx/ |
H A D | prom.c | 63 struct cpuinfo_mips *c = ¤t_cpu_data; in prom_init_mem()
|
H A D | setup.c | 157 struct cpuinfo_mips *c = ¤t_cpu_data; in plat_mem_setup()
|
/linux/arch/mips/kvm/ |
H A D | entry.c | 323 uasm_i_addiu(&p, GPR_T3, GPR_ZERO, sizeof(struct cpuinfo_mips)/sizeof(long)); in kvm_mips_build_enter_guest()
|