Lines Matching refs:cpu_has_feature
127 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in msr_check_and_set()
145 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
161 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu()
244 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec()
413 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available()
415 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available()
417 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available()
476 if (cpu_has_feature(CPU_FTR_ALTIVEC) && (current->thread.load_vec)) { in should_restore_altivec()
495 if (cpu_has_feature(CPU_FTR_VSX)) in should_restore_vsx()
822 if (cpu_has_feature(CPU_FTR_DABRX)) in __set_dabr()
888 else if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in __set_breakpoint()
901 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in ppc_breakpoint_available()
1035 if (!cpu_has_feature(CPU_FTR_TM)) in tm_recheckpoint_new_task()
1074 if (cpu_has_feature(CPU_FTR_TM)) { in __switch_to_tm()
1124 if (cpu_has_feature(CPU_FTR_ALTIVEC) && msr_diff & MSR_VEC) in restore_tm_state()
1140 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in save_sprs()
1144 if (cpu_has_feature(CPU_FTR_DSCR)) in save_sprs()
1147 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in save_sprs()
1171 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in restore_sprs()
1176 if (cpu_has_feature(CPU_FTR_DSCR)) { in restore_sprs()
1185 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in restore_sprs()
1200 if (cpu_has_feature(CPU_FTR_P9_TIDR) && in restore_sprs()
1295 (cpu_has_feature(CPU_FTR_ARCH_31) || in __switch_to()
1483 if (!trap_is_syscall(regs) && cpu_has_feature(CPU_FTR_CFAR)) in show_regs()
1575 if (!cpu_has_feature(CPU_FTR_P9_TIDR)) in set_thread_tidr()
1741 if (cpu_has_feature(CPU_FTR_DSCR)) { in copy_thread()
1745 if (cpu_has_feature(CPU_FTR_HAS_PPR)) in copy_thread()
1897 if (cpu_has_feature(CPU_FTR_SPE)) { in set_fpexc_mode()
1940 if (cpu_has_feature(CPU_FTR_SPE)) { in get_fpexc_mode()
1969 if ((val == PR_ENDIAN_LITTLE && !cpu_has_feature(CPU_FTR_REAL_LE)) || in set_endian()
1970 (val == PR_ENDIAN_PPC_LITTLE && !cpu_has_feature(CPU_FTR_PPC_LE))) in set_endian()
1991 if (!cpu_has_feature(CPU_FTR_PPC_LE) && in get_endian()
1992 !cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
1999 if (cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2196 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_on()
2225 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_off()