Lines Matching defs:boot_cpu_has

242 #define boot_cpu_has(bit)	cpu_has(&boot_cpu_data, bit)
255 #define cpu_has_fpu boot_cpu_has(X86_FEATURE_FPU)
256 #define cpu_has_vme boot_cpu_has(X86_FEATURE_VME)
257 #define cpu_has_de boot_cpu_has(X86_FEATURE_DE)
258 #define cpu_has_pse boot_cpu_has(X86_FEATURE_PSE)
259 #define cpu_has_tsc boot_cpu_has(X86_FEATURE_TSC)
260 #define cpu_has_pae boot_cpu_has(X86_FEATURE_PAE)
261 #define cpu_has_pge boot_cpu_has(X86_FEATURE_PGE)
262 #define cpu_has_apic boot_cpu_has(X86_FEATURE_APIC)
263 #define cpu_has_sep boot_cpu_has(X86_FEATURE_SEP)
264 #define cpu_has_mtrr boot_cpu_has(X86_FEATURE_MTRR)
265 #define cpu_has_mmx boot_cpu_has(X86_FEATURE_MMX)
266 #define cpu_has_fxsr boot_cpu_has(X86_FEATURE_FXSR)
267 #define cpu_has_xmm boot_cpu_has(X86_FEATURE_XMM)
268 #define cpu_has_xmm2 boot_cpu_has(X86_FEATURE_XMM2)
269 #define cpu_has_xmm3 boot_cpu_has(X86_FEATURE_XMM3)
270 #define cpu_has_ssse3 boot_cpu_has(X86_FEATURE_SSSE3)
271 #define cpu_has_aes boot_cpu_has(X86_FEATURE_AES)
272 #define cpu_has_avx boot_cpu_has(X86_FEATURE_AVX)
273 #define cpu_has_ht boot_cpu_has(X86_FEATURE_HT)
274 #define cpu_has_mp boot_cpu_has(X86_FEATURE_MP)
275 #define cpu_has_nx boot_cpu_has(X86_FEATURE_NX)
276 #define cpu_has_k6_mtrr boot_cpu_has(X86_FEATURE_K6_MTRR)
277 #define cpu_has_cyrix_arr boot_cpu_has(X86_FEATURE_CYRIX_ARR)
278 #define cpu_has_centaur_mcr boot_cpu_has(X86_FEATURE_CENTAUR_MCR)
279 #define cpu_has_xstore boot_cpu_has(X86_FEATURE_XSTORE)
280 #define cpu_has_xstore_enabled boot_cpu_has(X86_FEATURE_XSTORE_EN)
281 #define cpu_has_xcrypt boot_cpu_has(X86_FEATURE_XCRYPT)
282 #define cpu_has_xcrypt_enabled boot_cpu_has(X86_FEATURE_XCRYPT_EN)
283 #define cpu_has_ace2 boot_cpu_has(X86_FEATURE_ACE2)
284 #define cpu_has_ace2_enabled boot_cpu_has(X86_FEATURE_ACE2_EN)
285 #define cpu_has_phe boot_cpu_has(X86_FEATURE_PHE)
286 #define cpu_has_phe_enabled boot_cpu_has(X86_FEATURE_PHE_EN)
287 #define cpu_has_pmm boot_cpu_has(X86_FEATURE_PMM)
288 #define cpu_has_pmm_enabled boot_cpu_has(X86_FEATURE_PMM_EN)
289 #define cpu_has_ds boot_cpu_has(X86_FEATURE_DS)
290 #define cpu_has_pebs boot_cpu_has(X86_FEATURE_PEBS)
291 #define cpu_has_clflush boot_cpu_has(X86_FEATURE_CLFLSH)
292 #define cpu_has_bts boot_cpu_has(X86_FEATURE_BTS)
293 #define cpu_has_gbpages boot_cpu_has(X86_FEATURE_GBPAGES)
294 #define cpu_has_arch_perfmon boot_cpu_has(X86_FEATURE_ARCH_PERFMON)
295 #define cpu_has_pat boot_cpu_has(X86_FEATURE_PAT)
296 #define cpu_has_xmm4_1 boot_cpu_has(X86_FEATURE_XMM4_1)
297 #define cpu_has_xmm4_2 boot_cpu_has(X86_FEATURE_XMM4_2)
298 #define cpu_has_x2apic boot_cpu_has(X86_FEATURE_X2APIC)
299 #define cpu_has_xsave boot_cpu_has(X86_FEATURE_XSAVE)
300 #define cpu_has_osxsave boot_cpu_has(X86_FEATURE_OSXSAVE)
301 #define cpu_has_hypervisor boot_cpu_has(X86_FEATURE_HYPERVISOR)
302 #define cpu_has_pclmulqdq boot_cpu_has(X86_FEATURE_PCLMULQDQ)
303 #define cpu_has_perfctr_core boot_cpu_has(X86_FEATURE_PERFCTR_CORE)
304 #define cpu_has_cx8 boot_cpu_has(X86_FEATURE_CX8)
305 #define cpu_has_cx16 boot_cpu_has(X86_FEATURE_CX16)
337 * Static testing of CPU features. Used the same as boot_cpu_has().
385 __builtin_constant_p(boot_cpu_has(bit)) ? \
386 boot_cpu_has(bit) : \
389 boot_cpu_has(bit) \
395 #define static_cpu_has(bit) boot_cpu_has(bit)