Lines Matching +full:7 +full:c

15 #define ACE_ENABLED	(1 << 7)
22 static void init_c3(struct cpuinfo_x86 *c) in init_c3() argument
49 c->x86_capability[CPUID_C000_0001_EDX] = cpuid_edx(0xC0000001); in init_c3()
53 if (c->x86_model >= 6 && c->x86_model <= 13) { in init_c3()
55 lo |= (1<<1 | 1<<7); in init_c3()
57 set_cpu_cap(c, X86_FEATURE_CX8); in init_c3()
61 if (c->x86_model >= 6 && c->x86_model < 9) in init_c3()
62 set_cpu_cap(c, X86_FEATURE_3DNOW); in init_c3()
64 if (c->x86 == 0x6 && c->x86_model >= 0xf) { in init_c3()
65 c->x86_cache_alignment = c->x86_clflush_size * 2; in init_c3()
66 set_cpu_cap(c, X86_FEATURE_REP_GOOD); in init_c3()
69 if (c->x86 >= 7) in init_c3()
70 set_cpu_cap(c, X86_FEATURE_REP_GOOD); in init_c3()
80 DSMC = 1<<7,
94 static void early_init_centaur(struct cpuinfo_x86 *c) in early_init_centaur() argument
98 if (c->x86 == 5) in early_init_centaur()
99 set_cpu_cap(c, X86_FEATURE_CENTAUR_MCR); in early_init_centaur()
101 if ((c->x86 == 6 && c->x86_model >= 0xf) || in early_init_centaur()
102 (c->x86 >= 7)) in early_init_centaur()
103 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in early_init_centaur()
106 set_cpu_cap(c, X86_FEATURE_SYSENTER32); in early_init_centaur()
108 if (c->x86_power & (1 << 8)) { in early_init_centaur()
109 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in early_init_centaur()
110 set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC); in early_init_centaur()
114 static void init_centaur(struct cpuinfo_x86 *c) in init_centaur() argument
127 clear_cpu_cap(c, 0*32+31); in init_centaur()
129 early_init_centaur(c); in init_centaur()
130 init_intel_cacheinfo(c); in init_centaur()
132 if (c->cpuid_level > 9) { in init_centaur()
137 * Version(eax[7:0]) can't be 0; in init_centaur()
141 set_cpu_cap(c, X86_FEATURE_ARCH_PERFMON); in init_centaur()
145 if (c->x86 == 5) { in init_centaur()
146 switch (c->x86_model) { in init_centaur()
152 clear_cpu_cap(c, X86_FEATURE_TSC); in init_centaur()
155 switch (c->x86_stepping) { in init_centaur()
159 case 7 ... 9: in init_centaur()
191 set_cpu_cap(c, X86_FEATURE_CENTAUR_MCR); in init_centaur()
193 set_cpu_cap(c, X86_FEATURE_CX8); in init_centaur()
195 if (c->x86_model >= 8) in init_centaur()
196 set_cpu_cap(c, X86_FEATURE_3DNOW); in init_centaur()
202 c->x86_cache_size = (cc>>24)+(dd>>24); in init_centaur()
204 sprintf(c->x86_model_id, "WinChip %s", name); in init_centaur()
207 if (c->x86 == 6 || c->x86 >= 7) in init_centaur()
208 init_c3(c); in init_centaur()
210 set_cpu_cap(c, X86_FEATURE_LFENCE_RDTSC); in init_centaur()
213 init_ia32_feat_ctl(c); in init_centaur()
218 centaur_size_cache(struct cpuinfo_x86 *c, unsigned int size) in centaur_size_cache() argument
221 if ((c->x86 == 6) && ((c->x86_model == 7) || (c->x86_model == 8))) in centaur_size_cache()
229 if ((c->x86 == 6) && (c->x86_model == 9) && in centaur_size_cache()
230 (c->x86_stepping == 1) && (size == 65)) in centaur_size_cache()