Lines Matching +full:5 +full:c

60  * order to identify the Cyrix CPU model after we're out of setup.c
68 "Cx486", "Cx486", "5x86 ", "6x86", "MediaGX ", "6x86MX ",
71 static const char Cx486_name[][5] = {
81 static char Cx86_cb[] = "?.5x Core/Bus Clock";
93 static void check_cx686_slop(struct cpuinfo_x86 *c) in check_cx686_slop() argument
112 c->loops_per_jiffy = loops_per_jiffy; in check_cx686_slop()
172 static void early_init_cyrix(struct cpuinfo_x86 *c) in early_init_cyrix() argument
182 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in early_init_cyrix()
184 case 5: /* 6x86MX/M II */ in early_init_cyrix()
186 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in early_init_cyrix()
191 static void init_cyrix(struct cpuinfo_x86 *c) in init_cyrix() argument
194 char *buf = c->x86_model_id; in init_cyrix()
201 clear_cpu_cap(c, 0*32+31); in init_cyrix()
204 if (test_cpu_cap(c, 1*32+24)) { in init_cyrix()
205 clear_cpu_cap(c, 1*32+24); in init_cyrix()
206 set_cpu_cap(c, X86_FEATURE_CXMMX); in init_cyrix()
211 check_cx686_slop(c); in init_cyrix()
217 c->x86_model = (dir1 >> 4) + 1; in init_cyrix()
218 c->x86_stepping = dir1 & 0xf; in init_cyrix()
234 p = (dir0_lsn & 8) ? Cx486D_name[dir0_lsn & 5] in init_cyrix()
238 case 2: /* 5x86 */ in init_cyrix()
239 Cx86_cb[2] = cyrix_model_mult1[dir0_lsn & 5]; in init_cyrix()
245 Cx86_cb[2] = cyrix_model_mult1[dir0_lsn & 5]; in init_cyrix()
249 (c->x86_model)++; in init_cyrix()
253 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in init_cyrix()
255 set_cpu_bug(c, X86_BUG_COMA); in init_cyrix()
294 c->x86_cache_size = 16; /* Yep 16K integrated cache thats it */ in init_cyrix()
297 if (c->cpuid_level == 2) { in init_cyrix()
314 c->x86_model = (dir1 & 0x20) ? 1 : 2; in init_cyrix()
318 case 5: /* 6x86MX/M II */ in init_cyrix()
325 set_cpu_bug(c, X86_BUG_COMA); in init_cyrix()
331 (c->x86_model)++; in init_cyrix()
333 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in init_cyrix()
363 static void init_nsc(struct cpuinfo_x86 *c) in init_nsc() argument
380 if (c->x86 == 5 && c->x86_model == 5) in init_nsc()
381 cpu_detect_cache_sizes(c); in init_nsc()
383 init_cyrix(c); in init_nsc()
388 * by the fact that they preserve the flags across the division of 5/2.
393 * Perform the Cyrix 5/2 test. A Cyrix won't change
402 "div %b2\n\t" /* divide 5 by 2 */ in test_cyrix_52div()
405 : "0" (5), "q" (2) in test_cyrix_52div()
412 static void cyrix_identify(struct cpuinfo_x86 *c) in cyrix_identify() argument
415 if (c->x86 == 4 && test_cyrix_52div()) { in cyrix_identify()
418 strcpy(c->x86_vendor_id, "CyrixInstead"); in cyrix_identify()
419 c->x86_vendor = X86_VENDOR_CYRIX; in cyrix_identify()
431 if (dir0 == 5 || dir0 == 3) { in cyrix_identify()