Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/
H A Dacpi_video.c790 int i, max_level = 0, count = 0, level_ac_battery = 0; in acpi_video_get_levels() local
854 level_ac_battery++; in acpi_video_get_levels()
856 level_ac_battery++; in acpi_video_get_levels()
859 if (level_ac_battery < ACPI_VIDEO_FIRST_LEVEL) { in acpi_video_get_levels()
860 level_ac_battery = ACPI_VIDEO_FIRST_LEVEL - level_ac_battery; in acpi_video_get_levels()
862 for (i = (count - 1 + level_ac_battery); in acpi_video_get_levels()
864 br->levels[i] = br->levels[i - level_ac_battery]; in acpi_video_get_levels()
865 count += level_ac_battery; in acpi_video_get_levels()
866 } else if (level_ac_battery > ACPI_VIDEO_FIRST_LEVEL) in acpi_video_get_levels()