Lines Matching refs:cp_eax

374 #define	CPI_FAMILY_XTD(cpi)	BITX((cpi)->cpi_std[1].cp_eax, 27, 20)
375 #define CPI_MODEL_XTD(cpi) BITX((cpi)->cpi_std[1].cp_eax, 19, 16)
376 #define CPI_TYPE(cpi) BITX((cpi)->cpi_std[1].cp_eax, 13, 12)
377 #define CPI_FAMILY(cpi) BITX((cpi)->cpi_std[1].cp_eax, 11, 8)
378 #define CPI_STEP(cpi) BITX((cpi)->cpi_std[1].cp_eax, 3, 0)
379 #define CPI_MODEL(cpi) BITX((cpi)->cpi_std[1].cp_eax, 7, 4)
401 #define CPI_NUM_CORES(regs) BITX((regs)->cp_eax, 31, 26)
402 #define CPI_NTHR_SHR_CACHE(regs) BITX((regs)->cp_eax, 25, 14)
403 #define CPI_FULL_ASSOC_CACHE(regs) BITX((regs)->cp_eax, 9, 9)
404 #define CPI_SELF_INIT_CACHE(regs) BITX((regs)->cp_eax, 8, 8)
405 #define CPI_CACHE_LVL(regs) BITX((regs)->cp_eax, 7, 5)
406 #define CPI_CACHE_TYPE(regs) BITX((regs)->cp_eax, 4, 0)
459 #define MWAIT_SIZE_MIN(cpi) BITX((cpi)->cpi_std[5].cp_eax, 15, 0)
528 cp->cp_eax &= 0x03fffffff;
641 cp.cp_eax = 0x1;
644 cp.cp_eax = 0x40000000;
690 cp.cp_eax = base;
697 cp.cp_eax >= (base + 2)) {
861 cp->cp_eax = 0x8000001e;
970 cp->cp_eax = 0;
992 cp->cp_eax = 1;
1075 cp->cp_eax = (0xf0f & cp->cp_eax) | 0xc0;
1241 ecp->cp_eax = 7;
1492 cp->cp_eax = 0x80000000;
1507 cp->cp_eax = 0x80000001;
1609 cp->cp_eax = 4;
1619 cp->cp_eax = 0x80000008;
1627 cpi->cpi_pabits = BITX(cp->cp_eax, 7, 0);
1628 cpi->cpi_vabits = BITX(cp->cp_eax, 15, 8);
1644 BITX((cpi)->cpi_std[4].cp_eax, 31, 26) + 1;
1676 cp->cp_eax = 0x80000007;
1780 cp->cp_eax = n;
1814 BITX(cp->cp_eax, 7, 0);
1828 if (BITX(cp->cp_eax, 31, 31) == 0) {
1829 uint8_t *p = (void *)&cp->cp_eax;
1903 cp->cp_eax = 0xB;
1923 cp->cp_eax = 0xB;
1931 coreid_shift = BITX(cp->cp_eax, 4, 0);
1935 chipid_shift = BITX(cp->cp_eax, 4, 0);
1962 cp->cp_eax = 0xD;
1970 if ((cp->cp_eax & XFEATURE_LEGACY_FP) == 0 ||
1971 (cp->cp_eax & XFEATURE_SSE) == 0) {
1975 cpi->cpi_xsave.xsav_hw_features_low = cp->cp_eax;
1984 cp->cp_eax = 0xD;
1991 cp->cp_eax != CPUID_LEAFD_2_YMM_SIZE) {
1995 cpi->cpi_xsave.ymm_size = cp->cp_eax;
2082 cp->cp_eax = 0x80000000 + n;
2092 *iptr++ = cp->cp_eax;
2109 cp->cp_eax = 0;
2126 cp->cp_eax = cp->cp_ebx = 0;
2215 tmp = (cp->cp_eax >> (8 * i)) & 0xff;
2555 cp->cp_eax = 4;
2591 cp->cp_eax = 4;
2931 cp.cp_eax = 0x80860001;
2970 if (cp->cp_eax <= cpi->cpi_maxeax && cp->cp_eax < NMAX_CPI_STD)
2971 xcp = &cpi->cpi_std[cp->cp_eax];
2972 else if (cp->cp_eax >= 0x80000000 && cp->cp_eax <= cpi->cpi_xmaxeax &&
2973 cp->cp_eax < 0x80000000 + NMAX_CPI_EXTD)
2974 xcp = &cpi->cpi_extd[cp->cp_eax - 0x80000000];
2983 cp->cp_eax = xcp->cp_eax;
2987 return (cp->cp_eax);
3065 cpi->cpi_vendorstr, cpi->cpi_std[1].cp_eax,
3069 cpi->cpi_vendorstr, cpi->cpi_std[1].cp_eax,
3141 return (cpu->cpu_m.mcpu_cpi->cpi_std[1].cp_eax);
3334 if ((cp->cp_eax & 0xffff0000) == 0)
3335 dtlb_nent = cp->cp_eax & 0x0000ffff;
3337 dtlb_nent = BITX(cp->cp_eax, 27, 16);
3360 dtlb_nent = BITX(cp->cp_eax, 23, 16);
3394 eax = cpi->cpi_std[1].cp_eax;
3559 regs.cp_eax = 0x80000007;
4082 BITX(cp->cp_eax, 31, 24), BITX(cp->cp_eax, 23, 16));
4084 BITX(cp->cp_eax, 15, 8), BITX(cp->cp_eax, 7, 0));
4139 if (BITX(cp->cp_eax, 31, 16) == 0)
4141 BITX(cp->cp_eax, 15, 12), BITX(cp->cp_eax, 11, 0));
4144 BITX(cp->cp_eax, 31, 28), BITX(cp->cp_eax, 27, 16));
4146 BITX(cp->cp_eax, 15, 12), BITX(cp->cp_eax, 11, 0));
4153 BITX(cp->cp_eax, 15, 12), BITX(cp->cp_eax, 11, 0));
4156 BITX(cp->cp_eax, 31, 28), BITX(cp->cp_eax, 27, 16));
4158 BITX(cp->cp_eax, 15, 12), BITX(cp->cp_eax, 11, 0));
4323 "generation", BITX((cpi)->cpi_extd[1].cp_eax, 11, 8));
4654 regs.cp_eax = 0x80000007;
4741 regs.cp_eax = 6;
4743 return (regs.cp_eax & CPUID_CSTATE_ARAT);
4775 regs.cp_eax = 0x6;
4801 regs.cp_eax = 1;
4851 cp->cp_eax = 0;
4854 cp->cp_eax = 0xB;
4870 cp->cp_eax = 0xB;
4882 coreid_shift = BITX(cp->cp_eax, 4, 0);
4889 chipid_shift = BITX(cp->cp_eax, 4, 0);