Home
last modified time | relevance | path

Searched refs:cpu_has_feature (Results 1 – 25 of 36) sorted by relevance

12

/arch/powerpc/kernel/
Dsetup_32.c132 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in machine_init()
133 cpu_has_feature(CPU_FTR_CAN_NAP)) in machine_init()
138 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in machine_init()
139 cpu_has_feature(CPU_FTR_CAN_NAP)) in machine_init()
170 if (cpu_has_feature(CPU_FTR_L2CR)) { in ppc_setup_l2cr()
183 if (cpu_has_feature(CPU_FTR_L3CR)) { in ppc_setup_l3cr()
305 if (cpu_has_feature(CPU_FTR_UNIFIED_ID_CACHE)) in setup_arch()
Dsysfs.c78 if (!cpu_has_feature(CPU_FTR_SMT)) in smt_setup()
101 if (!cpu_has_feature(CPU_FTR_SMT)) in setup_smt_snooze_delay()
355 cpu_has_feature(CPU_FTR_SMT)) in register_cpu_online()
397 if (cpu_has_feature(CPU_FTR_MMCRA)) in register_cpu_online()
400 if (cpu_has_feature(CPU_FTR_PURR)) in register_cpu_online()
403 if (cpu_has_feature(CPU_FTR_SPURR)) in register_cpu_online()
406 if (cpu_has_feature(CPU_FTR_DSCR)) in register_cpu_online()
425 cpu_has_feature(CPU_FTR_SMT)) in unregister_cpu_online()
467 if (cpu_has_feature(CPU_FTR_MMCRA)) in unregister_cpu_online()
470 if (cpu_has_feature(CPU_FTR_PURR)) in unregister_cpu_online()
[all …]
Dprocess.c651 if (cpu_has_feature(CPU_FTR_SLB)) { in copy_thread()
655 if (cpu_has_feature(CPU_FTR_1T_SEGMENT)) in copy_thread()
780 if (cpu_has_feature(CPU_FTR_SPE)) { in set_fpexc_mode()
812 if (cpu_has_feature(CPU_FTR_SPE)) in get_fpexc_mode()
828 if ((val == PR_ENDIAN_LITTLE && !cpu_has_feature(CPU_FTR_REAL_LE)) || in set_endian()
829 (val == PR_ENDIAN_PPC_LITTLE && !cpu_has_feature(CPU_FTR_PPC_LE))) in set_endian()
850 if (!cpu_has_feature(CPU_FTR_PPC_LE) && in get_endian()
851 !cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
858 if (cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
1068 if (cpu_has_feature(CPU_FTR_CTRL) && !test_thread_flag(TIF_RUNLATCH)) { in ppc64_runlatch_on()
[all …]
Dsetup-common.c228 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in show_cpuinfo()
442 if (!cpu_has_feature(CPU_FTR_SMT)) { in smp_setup_cpu_maps()
468 if (cpu_has_feature(CPU_FTR_SMT)) in smp_setup_cpu_maps()
Dtime.c213 if (cpu_has_feature(CPU_FTR_PURR)) in read_purr()
227 if (cpu_has_feature(CPU_FTR_PURR) && cpu_has_feature(CPU_FTR_SPURR)) in read_spurr()
321 if (!cpu_has_feature(CPU_FTR_PURR)) in snapshot_timebases()
361 if (!cpu_has_feature(CPU_FTR_PURR)) in snapshot_purr()
Dsetup_64.c225 if (cpu_has_feature(CPU_FTR_SLB)) in early_setup()
248 if (cpu_has_feature(CPU_FTR_SLB)) in early_setup_secondary()
Dalign.c714 if (cpu_has_feature(CPU_FTR_NODSISRALIGN)) { in fix_alignment()
717 if (cpu_has_feature(CPU_FTR_PPC_LE) && (regs->msr & MSR_LE)) in fix_alignment()
722 if (cpu_has_feature(CPU_FTR_REAL_LE) && (regs->msr & MSR_LE)) in fix_alignment()
758 if (cpu_has_feature(CPU_FTR_PPC_LE)) in fix_alignment()
Dtau_6xx.c224 if (!cpu_has_feature(CPU_FTR_TAU)) { in TAU_init()
/arch/powerpc/include/asm/
Ddcr-native.h69 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
80 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
95 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mfdcri()
112 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mtdcri()
129 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __dcri_clrset()
Dmmu_context.h49 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in switch_mm()
57 if (cpu_has_feature(CPU_FTR_SLB)) in switch_mm()
Dmman.h55 if ((prot & PROT_SAO) && !cpu_has_feature(CPU_FTR_SAO)) in arch_validate_prot()
Dcacheflush.h35 if (!cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in flush_icache_range()
Dtopology.h108 #define smt_capable() (cpu_has_feature(CPU_FTR_SMT))
Dtime.h59 #define __USE_RTC() (!cpu_has_feature(CPU_FTR_USE_TB))
/arch/powerpc/xmon/
Dppc-dis.c41 if (cpu_has_feature(CPU_FTRS_POWER5)) in print_insn_powerpc()
44 if (cpu_has_feature(CPU_FTRS_CELL)) in print_insn_powerpc()
47 if (cpu_has_feature(CPU_FTRS_POWER6)) in print_insn_powerpc()
/arch/powerpc/platforms/pseries/
Dsmp.c167 cpu_has_feature(CPU_FTR_SMT) && in smp_pSeries_cpu_bootable()
199 if (cpu_has_feature(CPU_FTR_SMT)) { in smp_init_pseries()
DhvCall_inst.c60 if (cpu_has_feature(CPU_FTR_PURR)) in hc_show()
/arch/powerpc/platforms/cell/
Dsmp.c190 cpu_has_feature(CPU_FTR_SMT) && in smp_cell_cpu_bootable()
214 if (cpu_has_feature(CPU_FTR_SMT)) { in smp_init_cell()
Dpervasive.c117 if (!cpu_has_feature(CPU_FTR_PAUSE_ZERO)) in cbe_pervasive_init()
/arch/powerpc/mm/
Dhash_native_64.c92 unsigned int use_local = local && cpu_has_feature(CPU_FTR_TLBIEL); in tlbie()
93 int lock_tlbie = !cpu_has_feature(CPU_FTR_LOCKLESS_TLBIE); in tlbie()
498 if (cpu_has_feature(CPU_FTR_TLBIEL) && in native_flush_hash_range()
512 int lock_tlbie = !cpu_has_feature(CPU_FTR_LOCKLESS_TLBIE); in native_flush_hash_range()
Dslb.c169 if (!cpu_has_feature(CPU_FTR_1T_SEGMENT)) in esids_match()
196 if (!cpu_has_feature(CPU_FTR_NO_SLBIE_B) && in switch_slb()
Dmem.c393 if (cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in flush_dcache_page()
479 if (!cpu_has_feature(CPU_FTR_COHERENT_ICACHE) && in update_mmu_cache()
480 !cpu_has_feature(CPU_FTR_NOEXECUTE) && in update_mmu_cache()
/arch/powerpc/platforms/powermac/
Dcpufreq_32.c279 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in pmu_set_cpu_speed()
358 cpu_has_feature(CPU_FTR_L3CR)) { in do_set_cpu_speed()
367 cpu_has_feature(CPU_FTR_L3CR)) { in do_set_cpu_speed()
Dsetup.c257 if (cpu_has_feature(CPU_FTR_L2CR)) { in l2cr_init()
705 if (cpu_has_feature(CPU_FTR_CAN_NAP)) in pmac_cpu_die()
/arch/powerpc/oprofile/
Dop_model_rs64.c117 if (cpu_has_feature(CPU_FTR_MMCRA)) in rs64_cpu_setup()

12