Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/platform/x86/
Dacerhdf.c51 #define ACERHDF_FAN_AUTO 1 macro
77 static unsigned int fanstate = ACERHDF_FAN_AUTO;
290 *state = ACERHDF_FAN_AUTO; in acerhdf_get_fanstate()
304 if ((state != ACERHDF_FAN_OFF) && (state != ACERHDF_FAN_AUTO)) { in acerhdf_change_fanstate()
307 state = ACERHDF_FAN_AUTO; in acerhdf_change_fanstate()
398 acerhdf_change_fanstate(ACERHDF_FAN_AUTO); in acerhdf_revert_to_bios_mode()
505 *state = (tmp == ACERHDF_FAN_AUTO) ? 1 : 0; in acerhdf_get_cur_state()
531 if (cur_state == ACERHDF_FAN_AUTO) in acerhdf_set_cur_state()
535 acerhdf_change_fanstate(ACERHDF_FAN_AUTO); in acerhdf_set_cur_state()
555 acerhdf_change_fanstate(ACERHDF_FAN_AUTO); in acerhdf_suspend()
[all …]