Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/acpi/
Dfan_core.c67 if (fan->fif.fine_grain_ctrl) in fan_get_max_state()
68 *state = 100 / fan->fif.step_size; in fan_get_max_state()
119 if (fan->fif.fine_grain_ctrl) { in fan_get_state_acpi4()
126 *state = (int) fst.control / fan->fif.step_size; in fan_get_state_acpi4()
188 if (fan->fif.fine_grain_ctrl) in fan_set_state_acpi4()
189 max_state = 100 / fan->fif.step_size; in fan_set_state_acpi4()
196 if (fan->fif.fine_grain_ctrl) { in fan_set_state_acpi4()
197 value *= fan->fif.step_size; in fan_set_state_acpi4()
199 if (value + fan->fif.step_size > 100) in fan_set_state_acpi4()
251 struct acpi_buffer fif = { sizeof(fields), fields }; in acpi_fan_get_fif() local
[all …]
Dfan.h48 struct acpi_fan_fif fif; member
Dfan_attr.c70 return sprintf(buf, "%d\n", fan->fif.fine_grain_ctrl); in show_fine_grain_control()