Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/video/backlight/
D88pm860x_bl.c20 #define MAX_BRIGHTNESS (0xFF) macro
66 if (brightness > MAX_BRIGHTNESS) in pm860x_backlight_set()
67 value = MAX_BRIGHTNESS; in pm860x_backlight_set()
91 if (brightness == MAX_BRIGHTNESS) { in pm860x_backlight_set()
97 if (brightness == MAX_BRIGHTNESS) { in pm860x_backlight_set()
219 data->current_brightness = MAX_BRIGHTNESS; in pm860x_backlight_probe()
229 props.max_brightness = MAX_BRIGHTNESS; in pm860x_backlight_probe()
236 bl->props.brightness = MAX_BRIGHTNESS; in pm860x_backlight_probe()
Dmax8925_bl.c19 #define MAX_BRIGHTNESS (0xff) macro
39 if (brightness > MAX_BRIGHTNESS) in max8925_backlight_set()
40 value = MAX_BRIGHTNESS; in max8925_backlight_set()
153 props.max_brightness = MAX_BRIGHTNESS; in max8925_backlight_probe()
161 bl->props.brightness = MAX_BRIGHTNESS; in max8925_backlight_probe()
Darcxcnn_bl.c84 #define MAX_BRIGHTNESS 4095 macro
163 props->max_brightness = MAX_BRIGHTNESS; in arcxcnn_backlight_register()
304 if (lp->pdata->initial_brightness > MAX_BRIGHTNESS) in arcxcnn_probe()
305 lp->pdata->initial_brightness = MAX_BRIGHTNESS; in arcxcnn_probe()
Dams369fg06.c29 #define MAX_BRIGHTNESS 255 macro
417 MIN_BRIGHTNESS, MAX_BRIGHTNESS); in ams369fg06_set_brightness()
478 props.max_brightness = MAX_BRIGHTNESS; in ams369fg06_probe()
Dlp8788_bl.c31 #define MAX_BRIGHTNESS 127 macro
195 props.max_brightness = MAX_BRIGHTNESS; in lp8788_backlight_register()
Dlp855x_bl.c40 #define MAX_BRIGHTNESS 255 macro
292 props.max_brightness = MAX_BRIGHTNESS; in lp855x_backlight_register()
/kernel/linux/linux-5.10/drivers/auxdisplay/
Dht16k33.c40 #define MAX_BRIGHTNESS 0x10 macro
434 bl_props.max_brightness = MAX_BRIGHTNESS; in ht16k33_probe()
447 dft_brightness = MAX_BRIGHTNESS; in ht16k33_probe()
448 } else if (dft_brightness > MAX_BRIGHTNESS) { in ht16k33_probe()
451 dft_brightness, MAX_BRIGHTNESS); in ht16k33_probe()
452 dft_brightness = MAX_BRIGHTNESS; in ht16k33_probe()
482 fb_bl_default_curve(fbdev->info, 0, MIN_BRIGHTNESS, MAX_BRIGHTNESS); in ht16k33_probe()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-lp8788.c19 #define MAX_BRIGHTNESS LP8788_ISINK_MAX_PWM macro
133 led->led_dev.max_brightness = MAX_BRIGHTNESS; in lp8788_led_probe()
Dleds-lm3530.c82 #define MAX_BRIGHTNESS (127) macro
443 drvdata->led_dev.max_brightness = MAX_BRIGHTNESS; in lm3530_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-samsung-s6e63j0x03.c27 #define MAX_BRIGHTNESS 100 macro
174 index = brightness / (MAX_BRIGHTNESS / NUM_GAMMA_STEPS); in s6e63j0x03_get_brightness_index()
477 ctx->bl_dev->props.max_brightness = MAX_BRIGHTNESS; in s6e63j0x03_probe()
Dpanel-samsung-s6e63m0.c47 #define MAX_BRIGHTNESS (NUM_GAMMA_LEVELS - 1) macro
462 .brightness = MAX_BRIGHTNESS, in s6e63m0_backlight_register()
463 .max_brightness = MAX_BRIGHTNESS in s6e63m0_backlight_register()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-google-hammer.c285 #define MAX_BRIGHTNESS 100 macro
341 kbd_backlight->cdev.max_brightness = MAX_BRIGHTNESS; in hammer_register_leds()