Searched refs:lpEnabled (Results 1 – 5 of 5) 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()
135 unsigned int lpEnabled = in set_light_backlight() local143 bool persistence_mode = ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()144 (!lpEnabled && in set_light_backlight()149 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()157 if (!err && !lpEnabled) { in set_light_backlight()
155 unsigned int lpEnabled = in set_light_backlight() local163 bool persistence_mode = ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()164 (!lpEnabled && in set_light_backlight()169 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()173 if (lpEnabled != 0) { in set_light_backlight()