Lines Matching refs:cpu_has_feature

124 	if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP))  in msr_check_and_set()
142 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
158 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu()
241 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec()
410 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available()
412 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available()
414 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available()
473 if (cpu_has_feature(CPU_FTR_ALTIVEC) && (current->thread.load_vec)) { in should_restore_altivec()
492 if (cpu_has_feature(CPU_FTR_VSX)) in should_restore_vsx()
822 if (cpu_has_feature(CPU_FTR_DABRX)) in set_dabr()
870 else if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in set_hw_breakpoint()
889 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in ppc_breakpoint_available()
1051 if (!cpu_has_feature(CPU_FTR_TM)) in tm_recheckpoint_new_task()
1090 if (cpu_has_feature(CPU_FTR_TM)) { in __switch_to_tm()
1140 if (cpu_has_feature(CPU_FTR_ALTIVEC) && msr_diff & MSR_VEC) in restore_tm_state()
1157 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in save_sprs()
1161 if (cpu_has_feature(CPU_FTR_SPE)) in save_sprs()
1165 if (cpu_has_feature(CPU_FTR_DSCR)) in save_sprs()
1168 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in save_sprs()
1184 if (cpu_has_feature(CPU_FTR_DEXCR_NPHIE)) in save_sprs()
1187 if (cpu_has_feature(CPU_FTR_ARCH_31)) in save_sprs()
1230 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in restore_sprs()
1235 if (cpu_has_feature(CPU_FTR_SPE) && in restore_sprs()
1240 if (cpu_has_feature(CPU_FTR_DSCR)) { in restore_sprs()
1249 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in restore_sprs()
1264 if (cpu_has_feature(CPU_FTR_P9_TIDR) && in restore_sprs()
1268 if (cpu_has_feature(CPU_FTR_DEXCR_NPHIE) && in restore_sprs()
1272 if (cpu_has_feature(CPU_FTR_ARCH_31) && in restore_sprs()
1311 if (new->mm && (cpu_has_feature(CPU_FTR_ARCH_31) || in __switch_to()
1569 if (!trap_is_syscall(regs) && cpu_has_feature(CPU_FTR_CFAR)) in __show_regs()
1644 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in arch_setup_new_exec()
1687 if (!cpu_has_feature(CPU_FTR_P9_TIDR)) in set_thread_tidr()
1883 if (cpu_has_feature(CPU_FTR_DSCR)) { in copy_thread()
1891 if (cpu_has_feature(CPU_FTR_DEXCR_NPHIE)) in copy_thread()
1894 if (cpu_has_feature(CPU_FTR_ARCH_31)) in copy_thread()
2014 if (cpu_has_feature(CPU_FTR_DEXCR_NPHIE)) { in start_thread()
2034 if (cpu_has_feature(CPU_FTR_SPE)) { in set_fpexc_mode()
2078 if (cpu_has_feature(CPU_FTR_SPE)) { in get_fpexc_mode()
2107 if ((val == PR_ENDIAN_LITTLE && !cpu_has_feature(CPU_FTR_REAL_LE)) || in set_endian()
2108 (val == PR_ENDIAN_PPC_LITTLE && !cpu_has_feature(CPU_FTR_PPC_LE))) in set_endian()
2129 if (!cpu_has_feature(CPU_FTR_PPC_LE) && in get_endian()
2130 !cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2137 if (cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2395 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_on()
2424 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_off()