Lines Matching full:fps
27 if (fan->fps[i].control == control) in acpi_fan_get_current_fps()
28 return &fan->fps[i]; in acpi_fan_get_current_fps()
72 if (fan->fps[i].power != FAN_POWER_UNAVAILABLE) in acpi_fan_hwmon_is_visible()
90 struct acpi_fan_fps *fps; in acpi_fan_hwmon_read() local
111 fps = acpi_fan_get_current_fps(fan, fst.control); in acpi_fan_hwmon_read()
112 if (!fps) in acpi_fan_hwmon_read()
115 if (fps->speed > LONG_MAX) in acpi_fan_hwmon_read()
118 *val = fps->speed; in acpi_fan_hwmon_read()
126 fps = acpi_fan_get_current_fps(fan, fst.control); in acpi_fan_hwmon_read()
127 if (!fps) in acpi_fan_hwmon_read()
130 if (fps->power == FAN_POWER_UNAVAILABLE) in acpi_fan_hwmon_read()
133 if (fps->power > LONG_MAX / MICROWATT_PER_MILLIWATT) in acpi_fan_hwmon_read()
136 *val = fps->power * MICROWATT_PER_MILLIWATT; in acpi_fan_hwmon_read()