Searched refs:max_brightness (Results 1 – 4 of 4) sorted by relevance
95 long brightness, max_brightness; in get_normalized_backlight() local99 max_brightness = backlight_get_max_brightness(backlight); in get_normalized_backlight()102 norm = (brightness * 255)/(max_brightness); in get_normalized_backlight()111 long max_brightness, brightness, actual_brightness; in set_backlight() local125 max_brightness = backlight_get_max_brightness(backlight); in set_backlight()126 printf("Max backlight: %ld\n", max_brightness); in set_backlight()138 new_blight = (blight * max_brightness) / 255; in set_backlight()
303 backlight->max_brightness = backlight_get_max_brightness(backlight); in backlight_init()304 if (backlight->max_brightness < 0) in backlight_init()
48 int max_brightness; member
1054 long brightness, max_brightness, norm; in drm_get_backlight() local1057 max_brightness = backlight_get_max_brightness(head->backlight); in drm_get_backlight()1060 norm = (brightness * 255)/(max_brightness); in drm_get_backlight()1071 long max_brightness, new_brightness; in drm_set_backlight() local1080 max_brightness = backlight_get_max_brightness(head->backlight); in drm_set_backlight()1083 new_brightness = (value * max_brightness) / 255; in drm_set_backlight()