Searched refs:cpu_has_feature (Results 1 - 25 of 116) sorted by relevance

12345

/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dkexec.h11 if (cpu_has_feature(CPU_FTR_ARCH_206)) {
16 if (cpu_has_feature(CPU_FTR_ARCH_207S)) {
18 if (cpu_has_feature(CPU_FTR_HVMODE))
24 if (cpu_has_feature(CPU_FTR_ARCH_31)) {
/linux-master/arch/powerpc/include/asm/
H A Drunlatch.h20 if (cpu_has_feature(CPU_FTR_CTRL) && \
31 if (cpu_has_feature(CPU_FTR_CTRL) && \
H A Dxor.h14 #include <asm/cpu_has_feature.h>
27 if (cpu_has_feature(CPU_FTR_ALTIVEC)) \
H A Dcputhreads.h7 #include <asm/cpu_has_feature.h>
76 if (cpu_has_feature(CPU_FTR_ARCH_300) && (threads_per_core == 8))
84 if (cpu_has_feature(CPU_FTR_ARCH_300) && (threads_per_core == 8))
92 if (cpu_has_feature(CPU_FTR_ARCH_300) && (threads_per_core == 8))
101 if (cpu_has_feature(CPU_FTR_SMT))
H A Dcpu_has_feature.h23 static __always_inline bool cpu_has_feature(unsigned long feature) function
33 printk("Warning! cpu_has_feature() used prior to jump label init!\n");
49 static __always_inline bool cpu_has_feature(unsigned long feature) function
H A Dmman.h14 #include <asm/cpu_has_feature.h>
33 if (!cpu_has_feature(CPU_FTR_SAO))
H A Ddcr-native.h14 #include <asm/cpu_has_feature.h>
58 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
69 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
84 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) {
101 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) {
118 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) {
H A Dtime.h17 #include <asm/cpu_has_feature.h>
47 if (cpu_has_feature(CPU_FTR_ARCH_207S))
H A Dcacheflush.h9 #include <asm/cpu_has_feature.h>
40 if (cpu_has_feature(CPU_FTR_COHERENT_ICACHE))
H A Dhw_breakpoint.h12 #include <asm/cpu_has_feature.h>
56 return cpu_has_feature(CPU_FTR_DAWR1) ? 2 : 1;
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Ddc_fpu.c95 if (cpu_has_feature(CPU_FTR_VSX_COMP))
97 else if (cpu_has_feature(CPU_FTR_ALTIVEC_COMP))
99 else if (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE))
128 if (cpu_has_feature(CPU_FTR_VSX_COMP))
130 else if (cpu_has_feature(CPU_FTR_ALTIVEC_COMP))
132 else if (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE))
/linux-master/arch/powerpc/perf/
H A Disa207-common.c58 if (cpu_has_feature(CPU_FTR_ARCH_31))
60 else if (cpu_has_feature(CPU_FTR_ARCH_300))
76 if (cpu_has_feature(CPU_FTR_ARCH_31))
100 if (cpu_has_feature(CPU_FTR_ARCH_300)) {
128 if (cpu_has_feature(CPU_FTR_ARCH_31)) {
151 if (cpu_has_feature(CPU_FTR_ARCH_31))
158 if (cpu_has_feature(CPU_FTR_ARCH_300))
166 if (cpu_has_feature(CPU_FTR_ARCH_300))
174 if (cpu_has_feature(CPU_FTR_ARCH_300))
189 if (cpu_has_feature(CPU_FTR_ARCH_3
[all...]
/linux-master/arch/powerpc/kernel/
H A Dsetup_32.c44 #include <asm/cpu_has_feature.h>
105 if (cpu_has_feature(CPU_FTR_L2CR)) {
118 if (cpu_has_feature(CPU_FTR_L3CR)) {
205 if (cpu_has_feature(CPU_FTR_CAN_DOZE) ||
206 cpu_has_feature(CPU_FTR_CAN_NAP))
211 if (cpu_has_feature(CPU_FTR_CAN_DOZE) ||
212 cpu_has_feature(CPU_FTR_CAN_NAP))
H A Didle.c74 if (!cpu_has_feature(CPU_FTR_CAN_NAP))
83 if (cpu_has_feature(CPU_FTR_ALTIVEC))
H A Dprocess.c60 #include <asm/cpu_has_feature.h>
126 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP))
144 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP))
160 if (cpu_has_feature(CPU_FTR_VSX))
243 if (cpu_has_feature(CPU_FTR_VSX))
412 if (cpu_has_feature(CPU_FTR_ALTIVEC))
414 if (cpu_has_feature(CPU_FTR_VSX))
416 if (cpu_has_feature(CPU_FTR_SPE))
475 if (cpu_has_feature(CPU_FTR_ALTIVEC) && (current->thread.load_vec)) {
494 if (cpu_has_feature(CPU_FTR_VS
[all...]
H A Dhw_breakpoint_constraints.c41 if (!cpu_has_feature(CPU_FTR_ARCH_31) && size == 16)
101 if (cpu_has_feature(CPU_FTR_ARCH_31) &&
111 if (cpu_has_feature(CPU_FTR_ARCH_31) &&
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c21 if (!cpu_has_feature(CPU_FTR_TM) || tsk != current)
60 if (!cpu_has_feature(CPU_FTR_TM))
94 if (!cpu_has_feature(CPU_FTR_TM))
141 if (!cpu_has_feature(CPU_FTR_TM))
202 if (!cpu_has_feature(CPU_FTR_TM))
235 if (!cpu_has_feature(CPU_FTR_TM))
280 if (!cpu_has_feature(CPU_FTR_TM))
314 if (!cpu_has_feature(CPU_FTR_TM))
351 if (!cpu_has_feature(CPU_FTR_TM))
401 if (!cpu_has_feature(CPU_FTR_T
[all...]
/linux-master/arch/powerpc/platforms/cell/
H A Dpervasive.c24 #include <asm/cpu_has_feature.h>
110 if (!cpu_has_feature(CPU_FTR_PAUSE_ZERO))
/linux-master/arch/powerpc/xmon/
H A Dppc-dis.c11 #include <asm/cpu_has_feature.h>
128 if (cpu_has_feature(CPU_FTRS_POWER5))
131 if (cpu_has_feature(CPU_FTRS_CELL))
134 if (cpu_has_feature(CPU_FTRS_POWER6))
137 if (cpu_has_feature(CPU_FTRS_POWER7))
141 if (cpu_has_feature(CPU_FTRS_POWER8))
146 if (cpu_has_feature(CPU_FTRS_POWER9))
/linux-master/arch/powerpc/lib/
H A Dpmem.c39 if (cpu_has_feature(CPU_FTR_ARCH_207S))
45 if (cpu_has_feature(CPU_FTR_ARCH_207S))
H A Dtest_emulate_step.c11 #include <asm/cpu_has_feature.h>
113 if (!cpu_has_feature(CPU_FTR_ARCH_31)) {
154 if (!cpu_has_feature(CPU_FTR_ARCH_31)) {
215 if (!cpu_has_feature(CPU_FTR_ARCH_31)) {
339 if (!cpu_has_feature(CPU_FTR_ARCH_31)) {
429 if (!cpu_has_feature(CPU_FTR_ARCH_31)) {
575 if (stepped == 1 && cpu_has_feature(CPU_FTR_VSX)) {
578 if (!cpu_has_feature(CPU_FTR_VSX))
597 cpu_has_feature(CPU_FTR_VSX)) {
600 if (!cpu_has_feature(CPU_FTR_VS
[all...]
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c14 if (cpu_has_feature(CPU_FTR_ARCH_31)) {
25 if (cpu_has_feature(CPU_FTR_ARCH_31)) {
66 if (cpu_has_feature(CPU_FTR_ARCH_31)) {
100 if (cpu_has_feature(CPU_FTR_ARCH_31)) {
154 if (cpu_has_feature(CPU_FTR_ARCH_31)) {
207 if (cpu_has_feature(CPU_FTR_ARCH_31)) {
H A Dbook3s_hv_p9_entry.c17 if (cpu_has_feature(CPU_FTR_ALTIVEC) &&
31 if (cpu_has_feature(CPU_FTR_P9_TIDR) &&
63 if (cpu_has_feature(CPU_FTR_ALTIVEC))
73 if (cpu_has_feature(CPU_FTR_P9_TIDR))
92 if (cpu_has_feature(CPU_FTR_TM) ||
93 cpu_has_feature(CPU_FTR_P9_TM_HV_ASSIST)) {
127 if (cpu_has_feature(CPU_FTR_TM) ||
128 cpu_has_feature(CPU_FTR_P9_TM_HV_ASSIST)) {
168 if (cpu_has_feature(CPU_FTR_P9_TIDR) &&
189 if (cpu_has_feature(CPU_FTR_ALTIVE
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dsmp.c154 if (cpu_has_feature(CPU_FTR_ARCH_300)) {
179 if (cpu_has_feature(CPU_FTR_ARCH_207S))
306 if (cpu_has_feature(CPU_FTR_ARCH_207S))
337 if (cpu_has_feature(CPU_FTR_DBELL)) {
341 if (cpu_has_feature(CPU_FTR_ARCH_300))
/linux-master/arch/powerpc/platforms/pseries/
H A Dsmp.c203 if (!cpu_has_feature(CPU_FTR_DBELL))
207 if (!cpu_has_feature(CPU_FTR_SMT))
270 if (cpu_has_feature(CPU_FTR_SMT)) {

Completed in 546 milliseconds

12345