Lines Matching refs:cpu_has_feature

126 	if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP))  in msr_check_and_set()
144 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
160 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu()
243 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec()
412 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available()
414 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available()
416 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available()
475 if (cpu_has_feature(CPU_FTR_ALTIVEC) && (current->thread.load_vec)) { in should_restore_altivec()
494 if (cpu_has_feature(CPU_FTR_VSX)) in should_restore_vsx()
824 if (cpu_has_feature(CPU_FTR_DABRX)) in set_dabr()
872 else if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in set_hw_breakpoint()
891 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in ppc_breakpoint_available()
1053 if (!cpu_has_feature(CPU_FTR_TM)) in tm_recheckpoint_new_task()
1092 if (cpu_has_feature(CPU_FTR_TM)) { in __switch_to_tm()
1142 if (cpu_has_feature(CPU_FTR_ALTIVEC) && msr_diff & MSR_VEC) in restore_tm_state()
1159 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in save_sprs()
1163 if (cpu_has_feature(CPU_FTR_SPE)) in save_sprs()
1167 if (cpu_has_feature(CPU_FTR_DSCR)) in save_sprs()
1170 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in save_sprs()
1186 if (cpu_has_feature(CPU_FTR_DEXCR_NPHIE)) in save_sprs()
1229 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in restore_sprs()
1234 if (cpu_has_feature(CPU_FTR_SPE) && in restore_sprs()
1239 if (cpu_has_feature(CPU_FTR_DSCR)) { in restore_sprs()
1248 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in restore_sprs()
1263 if (cpu_has_feature(CPU_FTR_P9_TIDR) && in restore_sprs()
1267 if (cpu_has_feature(CPU_FTR_DEXCR_NPHIE) && in restore_sprs()
1306 if (new->mm && (cpu_has_feature(CPU_FTR_ARCH_31) || in __switch_to()
1564 if (!trap_is_syscall(regs) && cpu_has_feature(CPU_FTR_CFAR)) in __show_regs()
1675 if (!cpu_has_feature(CPU_FTR_P9_TIDR)) in set_thread_tidr()
1871 if (cpu_has_feature(CPU_FTR_DSCR)) { in copy_thread()
1879 if (cpu_has_feature(CPU_FTR_DEXCR_NPHIE)) in copy_thread()
1999 if (cpu_has_feature(CPU_FTR_DEXCR_NPHIE)) { in start_thread()
2019 if (cpu_has_feature(CPU_FTR_SPE)) { in set_fpexc_mode()
2063 if (cpu_has_feature(CPU_FTR_SPE)) { in get_fpexc_mode()
2092 if ((val == PR_ENDIAN_LITTLE && !cpu_has_feature(CPU_FTR_REAL_LE)) || in set_endian()
2093 (val == PR_ENDIAN_PPC_LITTLE && !cpu_has_feature(CPU_FTR_PPC_LE))) in set_endian()
2114 if (!cpu_has_feature(CPU_FTR_PPC_LE) && in get_endian()
2115 !cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2122 if (cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2364 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_on()
2393 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_off()