Lines Matching +full:5 +full:c
61 * order to identify the Cyrix CPU model after we're out of setup.c
69 "Cx486", "Cx486", "5x86 ", "6x86", "MediaGX ", "6x86MX ",
72 static const char Cx486_name[][5] = {
82 static char Cx86_cb[] = "?.5x Core/Bus Clock";
94 static void check_cx686_slop(struct cpuinfo_x86 *c) in check_cx686_slop() argument
113 c->loops_per_jiffy = loops_per_jiffy; in check_cx686_slop()
173 static void early_init_cyrix(struct cpuinfo_x86 *c) in early_init_cyrix() argument
183 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in early_init_cyrix()
185 case 5: /* 6x86MX/M II */ in early_init_cyrix()
187 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in early_init_cyrix()
192 static void init_cyrix(struct cpuinfo_x86 *c) in init_cyrix() argument
195 char *buf = c->x86_model_id; in init_cyrix()
202 clear_cpu_cap(c, 0*32+31); in init_cyrix()
205 if (test_cpu_cap(c, 1*32+24)) { in init_cyrix()
206 clear_cpu_cap(c, 1*32+24); in init_cyrix()
207 set_cpu_cap(c, X86_FEATURE_CXMMX); in init_cyrix()
212 check_cx686_slop(c); in init_cyrix()
218 c->x86_model = (dir1 >> 4) + 1; in init_cyrix()
219 c->x86_stepping = dir1 & 0xf; in init_cyrix()
235 p = (dir0_lsn & 8) ? Cx486D_name[dir0_lsn & 5] in init_cyrix()
239 case 2: /* 5x86 */ in init_cyrix()
240 Cx86_cb[2] = cyrix_model_mult1[dir0_lsn & 5]; in init_cyrix()
246 Cx86_cb[2] = cyrix_model_mult1[dir0_lsn & 5]; in init_cyrix()
250 (c->x86_model)++; in init_cyrix()
254 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in init_cyrix()
256 set_cpu_bug(c, X86_BUG_COMA); in init_cyrix()
295 c->x86_cache_size = 16; /* Yep 16K integrated cache that's it */ in init_cyrix()
298 if (c->cpuid_level == 2) { in init_cyrix()
315 c->x86_model = (dir1 & 0x20) ? 1 : 2; in init_cyrix()
319 case 5: /* 6x86MX/M II */ in init_cyrix()
326 set_cpu_bug(c, X86_BUG_COMA); in init_cyrix()
332 (c->x86_model)++; in init_cyrix()
334 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in init_cyrix()
364 static void init_nsc(struct cpuinfo_x86 *c) in init_nsc() argument
381 if (c->x86 == 5 && c->x86_model == 5) in init_nsc()
382 cpu_detect_cache_sizes(c); in init_nsc()
384 init_cyrix(c); in init_nsc()
389 * by the fact that they preserve the flags across the division of 5/2.
394 * Perform the Cyrix 5/2 test. A Cyrix won't change
403 "div %b2\n\t" /* divide 5 by 2 */ in test_cyrix_52div()
406 : "0" (5), "q" (2) in test_cyrix_52div()
413 static void cyrix_identify(struct cpuinfo_x86 *c) in cyrix_identify() argument
416 if (c->x86 == 4 && test_cyrix_52div()) { in cyrix_identify()
419 strcpy(c->x86_vendor_id, "CyrixInstead"); in cyrix_identify()
420 c->x86_vendor = X86_VENDOR_CYRIX; in cyrix_identify()
432 if (dir0 == 5 || dir0 == 3) { in cyrix_identify()