Lines Matching refs:brightness
78 int brightness = backlight_get_brightness(bl); in ktd253_backlight_update_status() local
83 dev_dbg(ktd253->dev, "new brightness/ratio: %d/32\n", brightness); in ktd253_backlight_update_status()
85 target_ratio = brightness; in ktd253_backlight_update_status()
149 u32 brightness; in ktd253_backlight_probe() local
166 ret = device_property_read_u32(dev, "default-brightness", &brightness); in ktd253_backlight_probe()
168 brightness = KTD253_DEFAULT_RATIO; in ktd253_backlight_probe()
169 if (brightness > max_brightness) { in ktd253_backlight_probe()
172 brightness = max_brightness; in ktd253_backlight_probe()
191 if (brightness) { in ktd253_backlight_probe()
192 bl->props.brightness = brightness; in ktd253_backlight_probe()
195 bl->props.brightness = 0; in ktd253_backlight_probe()