Home
last modified time | relevance | path

Searched refs:ACERHDF_FAN_AUTO (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/x86/
H A Dacerhdf.c53 #define ACERHDF_FAN_AUTO 1 macro
79 static unsigned int fanstate = ACERHDF_FAN_AUTO;
298 *state = ACERHDF_FAN_AUTO; in acerhdf_get_fanstate()
312 if ((state != ACERHDF_FAN_OFF) && (state != ACERHDF_FAN_AUTO)) { in acerhdf_change_fanstate()
315 state = ACERHDF_FAN_AUTO; in acerhdf_change_fanstate()
412 acerhdf_change_fanstate(ACERHDF_FAN_AUTO); in acerhdf_revert_to_bios_mode()
478 *state = (tmp == ACERHDF_FAN_AUTO) ? 1 : 0; in acerhdf_get_cur_state()
504 if (cur_state == ACERHDF_FAN_AUTO) in acerhdf_set_cur_state()
508 acerhdf_change_fanstate(ACERHDF_FAN_AUTO); in acerhdf_set_cur_state()
528 acerhdf_change_fanstate(ACERHDF_FAN_AUTO); in acerhdf_suspend()
[all …]