Home
last modified time | relevance | path

Searched refs:cur_cpu_spec (Results 1 – 25 of 38) sorted by relevance

12

/linux-2.6.39/arch/powerpc/oprofile/
Dop_model_power4.c51 for (i = 0; i < cur_cpu_spec->num_pmcs; ++i) in power4_reg_setup()
135 for (i = 0; i < cur_cpu_spec->num_pmcs; ++i) { in power4_start()
211 if (!cur_cpu_spec->oprofile_mmcra_sihv) in get_pc()
224 (mmcra & cur_cpu_spec->oprofile_mmcra_sihv)) in get_pc()
229 if (mmcra & cur_cpu_spec->oprofile_mmcra_sipr) in get_pc()
255 if (!cur_cpu_spec->oprofile_mmcra_sihv) { in get_kernel()
258 is_kernel = ((mmcra & cur_cpu_spec->oprofile_mmcra_sipr) == 0); in get_kernel()
282 for (i = 0; i < cur_cpu_spec->num_pmcs; ++i) { in power4_handle_interrupt()
306 mmcra &= ~cur_cpu_spec->oprofile_mmcra_clear; in power4_handle_interrupt()
Dcommon.c195 if (!cur_cpu_spec->oprofile_cpu_type) in oprofile_arch_init()
201 switch (cur_cpu_spec->oprofile_type) { in oprofile_arch_init()
236 model->num_counters = cur_cpu_spec->num_pmcs; in oprofile_arch_init()
238 ops->cpu_type = cur_cpu_spec->oprofile_cpu_type; in oprofile_arch_init()
Dop_model_pa6t.c105 for (pmc = 0; pmc < cur_cpu_spec->num_pmcs; pmc++) in pa6t_reg_setup()
132 for (pmc = 0; pmc < cur_cpu_spec->num_pmcs; pmc++) { in pa6t_reg_setup()
170 for (i = 0; i < cur_cpu_spec->num_pmcs; i++) in pa6t_start()
216 for (i = 0; i < cur_cpu_spec->num_pmcs; i++) { in pa6t_handle_interrupt()
/linux-2.6.39/arch/powerpc/kernel/
De500-pmu.c118 if (!cur_cpu_spec->oprofile_cpu_type) in init_e500_pmu()
121 if (!strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/e500mc")) in init_e500_pmu()
123 else if (strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/e500")) in init_e500_pmu()
Dmodule.c70 do_feature_fixups(cur_cpu_spec->cpu_features, in module_finalize()
76 do_feature_fixups(cur_cpu_spec->mmu_features, in module_finalize()
90 do_lwsync_fixups(cur_cpu_spec->cpu_features, in module_finalize()
Dprom.c167 cur_cpu_spec->cpu_features |= fp->cpu_features; in scan_features()
168 cur_cpu_spec->cpu_user_features |= fp->cpu_user_ftrs; in scan_features()
170 cur_cpu_spec->cpu_features &= ~fp->cpu_features; in scan_features()
171 cur_cpu_spec->cpu_user_features &= ~fp->cpu_user_ftrs; in scan_features()
243 pvr = cur_cpu_spec->pvr_value | 0x8; in identical_pvr_fixup()
261 cur_cpu_spec->cpu_features |= fp->cpu_feature; in check_cpu_feature_properties()
262 cur_cpu_spec->cpu_user_features |= fp->cpu_user_ftr; in check_cpu_feature_properties()
359 cur_cpu_spec->cpu_features |= CPU_FTR_SMT; in early_init_dt_scan_cpus()
361 cur_cpu_spec->cpu_features &= ~CPU_FTR_SMT; in early_init_dt_scan_cpus()
Dsetup_64.c280 lsize = cur_cpu_spec->dcache_bsize; in initialize_cache_info()
300 lsize = cur_cpu_spec->icache_bsize; in initialize_cache_info()
335 do_feature_fixups(cur_cpu_spec->cpu_features, in setup_system()
337 do_feature_fixups(cur_cpu_spec->mmu_features, in setup_system()
341 do_lwsync_fixups(cur_cpu_spec->cpu_features, in setup_system()
Dvdso.c587 do_feature_fixups(cur_cpu_spec->cpu_features, in vdso_fixup_features()
592 do_feature_fixups(cur_cpu_spec->mmu_features, in vdso_fixup_features()
602 do_lwsync_fixups(cur_cpu_spec->cpu_features, in vdso_fixup_features()
608 do_feature_fixups(cur_cpu_spec->cpu_features, in vdso_fixup_features()
613 do_feature_fixups(cur_cpu_spec->mmu_features, in vdso_fixup_features()
625 do_lwsync_fixups(cur_cpu_spec->cpu_features, in vdso_fixup_features()
638 int match = (cur_cpu_spec->cpu_features & patch->ftr_mask) in vdso_fixup_alt_funcs()
Dppc970-pmu.c489 if (!cur_cpu_spec->oprofile_cpu_type || in init_ppc970_pmu()
490 (strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/970") in init_ppc970_pmu()
491 && strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/970MP"))) in init_ppc970_pmu()
Dsetup_32.c309 dcache_bsize = cur_cpu_spec->dcache_bsize; in setup_arch()
310 icache_bsize = cur_cpu_spec->icache_bsize; in setup_arch()
Didle_6xx.S71 lis r4,cur_cpu_spec@ha
72 lwz r4,cur_cpu_spec@l(r4)
Dpmc.c32 if (cur_cpu_spec->pmc_type == PPC_PMC_IBM) in dummy_perf()
Dsetup-common.c228 if (cur_cpu_spec->pvr_mask) in show_cpuinfo()
229 seq_printf(m, "%s", cur_cpu_spec->cpu_name); in show_cpuinfo()
241 if (cur_cpu_spec->cpu_features & CPU_FTR_TAU) { in show_cpuinfo()
Dsysfs.c312 switch (cur_cpu_spec->pmc_type) { in register_cpu_online()
345 for (i = 0; i < cur_cpu_spec->num_pmcs; i++) in register_cpu_online()
382 switch (cur_cpu_spec->pmc_type) { in unregister_cpu_online()
415 for (i = 0; i < cur_cpu_spec->num_pmcs; i++) in unregister_cpu_online()
Dmpc7450-pmu.c410 if (!cur_cpu_spec->oprofile_cpu_type || in init_mpc7450_pmu()
411 strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/7450")) in init_mpc7450_pmu()
Dpower7-pmu.c365 if (!cur_cpu_spec->oprofile_cpu_type || in init_power7_pmu()
366 strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power7")) in init_power7_pmu()
Dpower5+-pmu.c677 if (!cur_cpu_spec->oprofile_cpu_type || in init_power5p_pmu()
678 (strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power5+") in init_power5p_pmu()
679 && strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power5++"))) in init_power5p_pmu()
Dpower6-pmu.c540 if (!cur_cpu_spec->oprofile_cpu_type || in init_power6_pmu()
541 strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power6")) in init_power6_pmu()
Dpower4-pmu.c609 if (!cur_cpu_spec->oprofile_cpu_type || in init_power4_pmu()
610 strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power4")) in init_power4_pmu()
/linux-2.6.39/Documentation/powerpc/
Dcpu_features.txt15 value in the list. If a match is found, the cpu_features of cur_cpu_spec is
19 C code may test 'cur_cpu_spec[smp_processor_id()]->cpu_features' for a
49 cur_cpu_spec[0]->cpu_features) or is cleared, respectively. These two macros
/linux-2.6.39/arch/powerpc/include/asm/
Dmmu.h78 return (cur_cpu_spec->mmu_features & feature); in mmu_has_feature()
Delf.h213 # define ELF_HWCAP (cur_cpu_spec->cpu_user_features)
219 #define ELF_PLATFORM (cur_cpu_spec->platform)
/linux-2.6.39/arch/powerpc/platforms/amigaone/
Dsetup.c152 cur_cpu_spec->cpu_features &= ~CPU_FTR_NEED_COHERENT; in amigaone_probe()
/linux-2.6.39/arch/powerpc/kvm/
D44x.c46 if (strncmp(cur_cpu_spec->platform, "ppc440", 6) == 0) in kvmppc_core_check_processor_compat()
De500.c50 if (strcmp(cur_cpu_spec->cpu_name, "e500v2") == 0) in kvmppc_core_check_processor_compat()

12