Searched refs:lpEnabled (Results 1 – 4 of 4) sorted by relevance
132 unsigned int lpEnabled = in set_light_backlight() local140 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()141 (!lpEnabled && in set_light_backlight()143 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()147 if (lpEnabled != 0) { in set_light_backlight()
134 unsigned int lpEnabled = in set_light_backlight() local142 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()143 (!lpEnabled && in set_light_backlight()145 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()149 if (lpEnabled != 0) { in set_light_backlight()
201 unsigned int lpEnabled = in set_light_backlight() local215 bool persistence_mode = ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()216 (!lpEnabled && in set_light_backlight()221 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()232 if (!err && !lpEnabled) { in set_light_backlight()