• Home
  • Raw
  • Download

Lines Matching refs:c

19 static void init_c3(struct cpuinfo_x86 *c)  in init_c3()  argument
46 c->x86_capability[5] = cpuid_edx(0xC0000001); in init_c3()
50 if (c->x86_model >= 6 && c->x86_model <= 13) { in init_c3()
54 set_cpu_cap(c, X86_FEATURE_CX8); in init_c3()
58 if (c->x86_model >= 6 && c->x86_model < 9) in init_c3()
59 set_cpu_cap(c, X86_FEATURE_3DNOW); in init_c3()
61 if (c->x86 == 0x6 && c->x86_model >= 0xf) { in init_c3()
62 c->x86_cache_alignment = c->x86_clflush_size * 2; in init_c3()
63 set_cpu_cap(c, X86_FEATURE_REP_GOOD); in init_c3()
66 cpu_detect_cache_sizes(c); in init_c3()
90 static void early_init_centaur(struct cpuinfo_x86 *c) in early_init_centaur() argument
92 switch (c->x86) { in early_init_centaur()
96 set_cpu_cap(c, X86_FEATURE_CENTAUR_MCR); in early_init_centaur()
100 if (c->x86_model >= 0xf) in early_init_centaur()
101 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in early_init_centaur()
105 set_cpu_cap(c, X86_FEATURE_SYSENTER32); in early_init_centaur()
109 static void init_centaur(struct cpuinfo_x86 *c) in init_centaur() argument
122 clear_cpu_cap(c, 0*32+31); in init_centaur()
124 early_init_centaur(c); in init_centaur()
125 switch (c->x86) { in init_centaur()
128 switch (c->x86_model) { in init_centaur()
134 clear_cpu_cap(c, X86_FEATURE_TSC); in init_centaur()
137 switch (c->x86_mask) { in init_centaur()
173 set_cpu_cap(c, X86_FEATURE_CENTAUR_MCR); in init_centaur()
175 set_cpu_cap(c, X86_FEATURE_CX8); in init_centaur()
177 if (c->x86_model >= 8) in init_centaur()
178 set_cpu_cap(c, X86_FEATURE_3DNOW); in init_centaur()
184 c->x86_cache_size = (cc>>24)+(dd>>24); in init_centaur()
186 sprintf(c->x86_model_id, "WinChip %s", name); in init_centaur()
190 init_c3(c); in init_centaur()
194 set_cpu_cap(c, X86_FEATURE_LFENCE_RDTSC); in init_centaur()
200 centaur_size_cache(struct cpuinfo_x86 *c, unsigned int size) in centaur_size_cache() argument
203 if ((c->x86 == 6) && ((c->x86_model == 7) || (c->x86_model == 8))) in centaur_size_cache()
211 if ((c->x86 == 6) && (c->x86_model == 9) && in centaur_size_cache()
212 (c->x86_mask == 1) && (size == 65)) in centaur_size_cache()