Lines Matching defs:fan
3 * of the aspire one netbook, turns on/off the fan
47 * is still in control of the fan. In this mode the driver allows to read the
48 * temperature of the cpu and a userspace tool may take over control of the fan.
50 * driver is in full control of the fan. If you want the module to be started in
69 * No matter what value the user puts into the fanon variable, turn on the fan
100 MODULE_PARM_DESC(kernelmode, "Kernel mode fan control on / off");
104 MODULE_PARM_DESC(fanon, "Turn the fan on above this temperature");
106 MODULE_PARM_DESC(fanoff, "Turn the fan off below this temperature");
115 * cmd_off: to switch the fan completely off and check if the fan is off
116 * cmd_auto: to set the BIOS in control of the fan. The BIOS regulates then
117 * the fan speed depending on the temperature
230 u8 fan;
232 if (ec_read(bios_cfg->fanreg, &fan))
235 if (fan != bios_cfg->cmd.cmd_off)
248 pr_notice("fan %s\n", (state == ACERHDF_FAN_OFF) ?
252 pr_err("invalid fan state %d requested, setting to auto!\n",
287 * This is the thermal zone callback which does the delayed polling of the fan
343 pr_notice("kernel mode fan control OFF\n");
351 pr_notice("kernel mode fan control ON\n");
358 pr_notice("kernel mode fan control %d\n", kernelmode);
369 * the temperature and the fan.
370 * disabled: the BIOS takes control of the fan.
423 * get maximal fan cooling state
446 /* change current fan state - is overwritten when running in kernel mode */
463 pr_err("error reading fan state, hand off control to BIOS\n");
468 /* turn fan off only if below fanoff temperature */
483 /* bind fan callbacks to fan device */
598 * off the fan
643 cl_dev = thermal_cooling_device_register("acerhdf-fan", NULL,
706 MODULE_DESCRIPTION("Aspire One temperature and fan driver");