Lines Matching refs:cpu_has_feature
148 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in msr_check_and_set()
167 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
185 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu()
281 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec()
340 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in restore_altivec()
422 if (cpu_has_feature(CPU_FTR_VSX)) { in restore_vsx()
479 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available()
483 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available()
487 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available()
750 if (cpu_has_feature(CPU_FTR_DABRX)) in __set_dabr()
828 if (cpu_has_feature(CPU_FTR_DAWR)) in __set_breakpoint()
831 else if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in __set_breakpoint()
842 if (cpu_has_feature(CPU_FTR_DAWR)) in ppc_breakpoint_available()
844 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in ppc_breakpoint_available()
990 if (!cpu_has_feature(CPU_FTR_TM)) in tm_recheckpoint_new_task()
1029 if (cpu_has_feature(CPU_FTR_TM)) { in __switch_to_tm()
1079 if (cpu_has_feature(CPU_FTR_ALTIVEC) && msr_diff & MSR_VEC) in restore_tm_state()
1095 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in save_sprs()
1099 if (cpu_has_feature(CPU_FTR_DSCR)) in save_sprs()
1102 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in save_sprs()
1126 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in restore_sprs()
1131 if (cpu_has_feature(CPU_FTR_DSCR)) { in restore_sprs()
1140 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in restore_sprs()
1155 if (cpu_has_feature(CPU_FTR_P9_TIDR) && in restore_sprs()
1449 if ((TRAP(regs) != 0xc00) && cpu_has_feature(CPU_FTR_CFAR)) in show_regs()
1498 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in set_thread_uses_vas()
1552 if (!cpu_has_feature(CPU_FTR_P9_TIDR)) in set_thread_tidr()
1710 if (cpu_has_feature(CPU_FTR_DSCR)) { in copy_thread()
1714 if (cpu_has_feature(CPU_FTR_HAS_PPR)) in copy_thread()
1861 if (cpu_has_feature(CPU_FTR_SPE)) { in set_fpexc_mode()
1906 if (cpu_has_feature(CPU_FTR_SPE)) { in get_fpexc_mode()
1935 if ((val == PR_ENDIAN_LITTLE && !cpu_has_feature(CPU_FTR_REAL_LE)) || in set_endian()
1936 (val == PR_ENDIAN_PPC_LITTLE && !cpu_has_feature(CPU_FTR_PPC_LE))) in set_endian()
1957 if (!cpu_has_feature(CPU_FTR_PPC_LE) && in get_endian()
1958 !cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
1965 if (cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2121 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_on()
2150 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_off()