Lines Matching defs:eax
127 unsigned int eax;
176 int eax = regs->eax;
189 "+a" (regs->eax),
198 eax, ebx, regs->eax & 0xffff, carry, duration);
203 if (carry || (regs->eax & 0xffff) == 0xffff || regs->eax == eax)
229 .eax = I8K_SMM_GET_FAN,
236 return i8k_smm(®s) ? : regs.eax & 0xff;
245 .eax = I8K_SMM_GET_SPEED,
252 return i8k_smm(®s) ? : (regs.eax & 0xffff) * data->i8k_fan_mult;
261 .eax = I8K_SMM_GET_FAN_TYPE,
268 return i8k_smm(®s) ? : regs.eax & 0xff;
286 .eax = I8K_SMM_GET_NOM_SPEED,
293 return i8k_smm(®s) ? : (regs.eax & 0xffff);
306 regs.eax = enable ? data->auto_fan : data->manual_fan;
315 struct smm_regs regs = { .eax = I8K_SMM_SET_FAN, };
329 .eax = I8K_SMM_GET_TEMP_TYPE,
333 return i8k_smm(®s) ? : regs.eax & 0xff;
342 .eax = I8K_SMM_GET_TEMP,
346 return i8k_smm(®s) ? : regs.eax & 0xff;
380 struct smm_regs regs = { .eax = req_fn, };
387 return regs.eax == 1145651527 && regs.edx == 1145392204 ? 0 : -1;
397 struct smm_regs regs = { .eax = I8K_SMM_FN_STATUS, };
404 switch ((regs.eax >> I8K_FN_SHIFT) & I8K_FN_MASK) {
421 struct smm_regs regs = { .eax = I8K_SMM_POWER_STATUS, };
428 return (regs.eax & 0xff) == I8K_POWER_AC ? I8K_AC : I8K_BATTERY;