Searched refs:eax (Results 1 - 2 of 2) sorted by relevance

/k10sensor/src/
H A Dk10sensor.h41 #define AMD_XFAMILY_MODEL(eax) (((eax) & 0x0fff0000) >> 16)
42 #define AMD_MODEL_STEPPING(eax) ((eax) & 0x000000ff)
92 * eax and ebx refer to the corresponding values of the so named registers
93 * after a CPUID standard function call with eax=1. */
97 /* BITX eax[27:16] */
99 /* BITX eax[7:0] */
H A Dk10sensor_info.c59 getCPUid(uint32_t *eax, uint32_t *ebx) { argument
70 *eax = regs[0];
85 uint32_t eax, ebx; local
92 if (!getCPUid(&eax, &ebx)) {
97 cv->xfamilyModel = AMD_XFAMILY_MODEL(eax);
98 cv->modelStepping = AMD_MODEL_STEPPING(eax);
133 eax = 0;
145 eax++;
150 return (eax);

Completed in 8 milliseconds