Lines Matching refs:cpu_has_feature
129 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in msr_check_and_set()
147 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
163 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu()
246 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec()
415 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available()
417 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available()
419 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available()
478 if (cpu_has_feature(CPU_FTR_ALTIVEC) && (current->thread.load_vec)) { in should_restore_altivec()
497 if (cpu_has_feature(CPU_FTR_VSX)) in should_restore_vsx()
827 if (cpu_has_feature(CPU_FTR_DABRX)) in set_dabr()
877 else if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in __set_breakpoint()
890 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in ppc_breakpoint_available()
1024 if (!cpu_has_feature(CPU_FTR_TM)) in tm_recheckpoint_new_task()
1063 if (cpu_has_feature(CPU_FTR_TM)) { in __switch_to_tm()
1113 if (cpu_has_feature(CPU_FTR_ALTIVEC) && msr_diff & MSR_VEC) in restore_tm_state()
1130 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in save_sprs()
1134 if (cpu_has_feature(CPU_FTR_SPE)) in save_sprs()
1138 if (cpu_has_feature(CPU_FTR_DSCR)) in save_sprs()
1141 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in save_sprs()
1163 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in restore_sprs()
1168 if (cpu_has_feature(CPU_FTR_SPE) && in restore_sprs()
1173 if (cpu_has_feature(CPU_FTR_DSCR)) { in restore_sprs()
1182 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in restore_sprs()
1197 if (cpu_has_feature(CPU_FTR_P9_TIDR) && in restore_sprs()
1236 if (new->mm && (cpu_has_feature(CPU_FTR_ARCH_31) || in __switch_to()
1496 if (!trap_is_syscall(regs) && cpu_has_feature(CPU_FTR_CFAR)) in __show_regs()
1607 if (!cpu_has_feature(CPU_FTR_P9_TIDR)) in set_thread_tidr()
1774 if (cpu_has_feature(CPU_FTR_DSCR)) { in copy_thread()
1778 if (cpu_has_feature(CPU_FTR_HAS_PPR)) in copy_thread()
1925 if (cpu_has_feature(CPU_FTR_SPE)) { in set_fpexc_mode()
1969 if (cpu_has_feature(CPU_FTR_SPE)) { in get_fpexc_mode()
1998 if ((val == PR_ENDIAN_LITTLE && !cpu_has_feature(CPU_FTR_REAL_LE)) || in set_endian()
1999 (val == PR_ENDIAN_PPC_LITTLE && !cpu_has_feature(CPU_FTR_PPC_LE))) in set_endian()
2020 if (!cpu_has_feature(CPU_FTR_PPC_LE) && in get_endian()
2021 !cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2028 if (cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2230 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_on()
2259 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_off()