struct int3406_thermal_data { int upper_limit; int lower_limit;
acpi_handle handle; struct acpi_video_device_brightness *br; struct backlight_device *raw_bd; struct thermal_cooling_device *cooling_dev;
};
/* * According to the ACPI spec, * "Each brightness level is represented by a number between 0 and 100, * and can be thought of as a percentage. For example, 50 can be 50% * power consumption or 50% brightness, as defined by the OEM." * * As int3406 device uses this value to communicate with the native * graphics driver, we make the assumption that it represents * the percentage of brightness only
*/ #define ACPI_TO_RAW(v, d) (d->raw_bd->props.max_brightness * v / 100) #define RAW_TO_ACPI(v, d) (v * 100 / d->raw_bd->props.max_brightness)
/* * There is no 1:1 mapping between the firmware interface level * with the raw interface level, we will have to find one that is * right above it.
*/ for (index = d->lower_limit; index < d->upper_limit; index++) { if (acpi_level <= d->br->levels[index]) break;
}
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.15Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-06-07)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.