Home
last modified time | relevance | path

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

/systemd-251/src/backlight/
Dbacklight.c247 …nt clamp_brightness(sd_device *device, bool saved, unsigned max_brightness, unsigned *brightness) { in clamp_brightness() argument
253 assert(brightness); in clamp_brightness()
269 new_brightness = CLAMP(*brightness, min_brightness, max_brightness); in clamp_brightness()
270 if (new_brightness != *brightness) in clamp_brightness()
273 *brightness, in clamp_brightness()
274 new_brightness > *brightness ? in clamp_brightness()
278 *brightness = new_brightness; in clamp_brightness()
306 unsigned brightness; in read_brightness() local
326 r = safe_atou(value, &brightness); in read_brightness()
333 if (brightness > max_brightness) { in read_brightness()
[all …]
/systemd-251/src/login/
Dlogind-brightness.c38 uint32_t brightness; member
147 xsprintf(brs, "%" PRIu32, w->brightness); in brightness_writer_fork()
188 uint32_t brightness, in manager_write_brightness() argument
214 existing->brightness = brightness; in manager_write_brightness()
227 .brightness = brightness, in manager_write_brightness()
Dmeson.build17 'logind-brightness.c',
18 'logind-brightness.h',
Dlogind-brightness.h9 int manager_write_brightness(Manager *m, sd_device *device, uint32_t brightness, sd_bus_message *me…
Dlogind-session-dbus.c532 uint32_t brightness; in method_set_brightness() local
539 r = sd_bus_message_read(message, "ssu", &subsystem, &name, &brightness); in method_set_brightness()
571 r = manager_write_brightness(s->manager, d, brightness, message); in method_set_brightness()
920 SD_BUS_ARGS("s", subsystem, "s", name, "u", brightness),
/systemd-251/hwdb.d/
D60-keyboard.hwdb436 KEYBOARD_KEY_d9=brightnessdown # Fn+F8 brightness down
437 KEYBOARD_KEY_ef=brightnessup # Fn+F9 brightness up
535 KEYBOARD_KEY_b3=unknown # FIXME: Auto brightness
626 KEYBOARD_KEY_b3=unknown # FIXME: Auto brightness
1358 # brightness; so ignore those atkbd ones, to avoid loops
1395 KEYBOARD_KEY_67=brightnessdown # Fn+F7 brightness down
1396 KEYBOARD_KEY_65=brightnessup # Fn+F8 brightness up
1625 KEYBOARD_KEY_89=!brightnessdown # Fn+F2 brightness down
1626 KEYBOARD_KEY_88=!brightnessup # Fn+F3 brightness up
/systemd-251/
DNEWS4676 which may be used to securely change the brightness of a kernel
4677 brightness device, if it belongs to the session's seat. By using this
4680 Desktop environments may use this to generically make brightness
11118 * When restoring the screen brightness at boot, stay away from
11122 black screen, should the brightness have been set to minimum
12084 brightness across reboots has been added. It will store the