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
54 * No matter what value the user puts into the fanon variable, turn on the fan
86 MODULE_PARM_DESC(kernelmode, "Kernel mode fan control on / off");
90 MODULE_PARM_DESC(fanon, "Turn the fan on above this temperature");
92 MODULE_PARM_DESC(fanoff, "Turn the fan off below this temperature");
103 * cmd_off: to switch the fan completely off and check if the fan is off
104 * cmd_auto: to set the BIOS in control of the fan. The BIOS regulates then
105 * the fan speed depending on the temperature
117 /* default register and command to disable fan in manual mode */
284 u8 fan;
286 if (ec_read(ctrl_cfg.fanreg, &fan))
289 if (fan != ctrl_cfg.cmd.cmd_off)
302 pr_notice("fan %s\n", state == ACERHDF_FAN_OFF ? "OFF" : "ON");
305 pr_err("invalid fan state %d requested, setting to auto!\n",
318 pr_notice("turning off fan manually\n");
345 * This is the thermal zone callback which does the delayed polling of the fan
401 pr_notice("kernel mode fan control OFF\n");
407 pr_notice("kernel mode fan control ON\n");
413 * the temperature and the fan.
414 * disabled: the BIOS takes control of the fan.
486 * get maximal fan cooling state
509 /* change current fan state - is overwritten when running in kernel mode */
526 pr_err("error reading fan state, hand off control to BIOS\n");
544 /* bind fan callbacks to fan device */
676 * off the fan
722 cl_dev = thermal_cooling_device_register("acerhdf-fan", NULL,
800 MODULE_DESCRIPTION("Aspire One temperature and fan driver");