Lines Matching defs:fan

4  *           of the aspire one netbook, turns on/off the fan
32 * is still in control of the fan. In this mode the driver allows to read the
33 * temperature of the cpu and a userspace tool may take over control of the fan.
35 * driver is in full control of the fan. If you want the module to be started in
56 * No matter what value the user puts into the fanon variable, turn on the fan
87 MODULE_PARM_DESC(kernelmode, "Kernel mode fan control on / off");
89 MODULE_PARM_DESC(fanon, "Turn the fan on above this temperature");
91 MODULE_PARM_DESC(fanoff, "Turn the fan off below this temperature");
102 * cmd_off: to switch the fan completely off and check if the fan is off
103 * cmd_auto: to set the BIOS in control of the fan. The BIOS regulates then
104 * the fan speed depending on the temperature
116 /* default register and command to disable fan in manual mode */
292 u8 fan;
294 if (ec_read(ctrl_cfg.fanreg, &fan))
297 if (fan != ctrl_cfg.cmd.cmd_off)
310 pr_notice("fan %s\n", state == ACERHDF_FAN_OFF ? "OFF" : "ON");
313 pr_err("invalid fan state %d requested, setting to auto!\n",
326 pr_notice("turning off fan manually\n");
361 * This is the thermal zone callback which does the delayed polling of the fan
415 pr_notice("kernel mode fan control OFF\n");
421 pr_notice("kernel mode fan control ON\n");
427 * the temperature and the fan.
428 * disabled: the BIOS takes control of the fan.
459 * get maximal fan cooling state
482 /* change current fan state - is overwritten when running in kernel mode */
499 pr_err("error reading fan state, hand off control to BIOS\n");
517 /* bind fan callbacks to fan device */
628 * off the fan
674 cl_dev = thermal_cooling_device_register("acerhdf-fan", NULL,
745 MODULE_DESCRIPTION("Aspire One temperature and fan driver");