Lines Matching defs:fan
75 MODULE_PARM_DESC(restricted, "Allow fan control if SYS_ADMIN capability set");
83 MODULE_PARM_DESC(fan_mult, "Factor to multiply fan speed with");
228 * Read the fan status.
230 static int i8k_get_fan_status(int fan)
234 regs.ebx = fan & 0xff;
239 * Read the fan speed in RPM.
241 static int i8k_get_fan_speed(int fan)
245 regs.ebx = fan & 0xff;
250 * Set the fan speed (off, low, high). Returns the new fan status.
252 static int i8k_set_fan(int fan, int speed)
257 regs.ebx = (fan & 0xff) | (speed << 8);
259 return i8k_smm(®s) ? : i8k_get_fan_status(fan);
435 * 5) Left fan status
436 * 6) Right fan status
437 * 7) Left fan speed
438 * 8) Right fan speed