Lines Matching refs:cpu_has_feature

129 	if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP))  in msr_check_and_set()
149 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
167 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu()
264 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec()
324 if (cpu_has_feature(CPU_FTR_ALTIVEC) && (tsk->thread.load_vec)) { in restore_altivec()
406 if (cpu_has_feature(CPU_FTR_VSX)) { in restore_vsx()
463 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available()
467 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available()
471 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available()
737 if (cpu_has_feature(CPU_FTR_DABRX)) in __set_dabr()
790 else if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in __set_breakpoint()
803 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in ppc_breakpoint_available()
949 if (!cpu_has_feature(CPU_FTR_TM)) in tm_recheckpoint_new_task()
988 if (cpu_has_feature(CPU_FTR_TM)) { in __switch_to_tm()
1038 if (cpu_has_feature(CPU_FTR_ALTIVEC) && msr_diff & MSR_VEC) in restore_tm_state()
1054 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in save_sprs()
1058 if (cpu_has_feature(CPU_FTR_DSCR)) in save_sprs()
1061 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in save_sprs()
1085 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in restore_sprs()
1090 if (cpu_has_feature(CPU_FTR_DSCR)) { in restore_sprs()
1099 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in restore_sprs()
1114 if (cpu_has_feature(CPU_FTR_P9_TIDR) && in restore_sprs()
1402 if ((TRAP(regs) != 0xc00) && cpu_has_feature(CPU_FTR_CFAR)) in show_regs()
1460 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in set_thread_uses_vas()
1514 if (!cpu_has_feature(CPU_FTR_P9_TIDR)) in set_thread_tidr()
1672 if (cpu_has_feature(CPU_FTR_DSCR)) { in copy_thread_tls()
1676 if (cpu_has_feature(CPU_FTR_HAS_PPR)) in copy_thread_tls()
1831 if (cpu_has_feature(CPU_FTR_SPE)) { in set_fpexc_mode()
1876 if (cpu_has_feature(CPU_FTR_SPE)) { in get_fpexc_mode()
1905 if ((val == PR_ENDIAN_LITTLE && !cpu_has_feature(CPU_FTR_REAL_LE)) || in set_endian()
1906 (val == PR_ENDIAN_PPC_LITTLE && !cpu_has_feature(CPU_FTR_PPC_LE))) in set_endian()
1927 if (!cpu_has_feature(CPU_FTR_PPC_LE) && in get_endian()
1928 !cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
1935 if (cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2104 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_on()
2133 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_off()