Lines Matching refs:props
196 int brightness = bl->props.brightness; in atmel_bl_update_status()
202 if (bl->props.fb_blank != sinfo->bl_power) in atmel_bl_update_status()
203 power = bl->props.fb_blank; in atmel_bl_update_status()
204 else if (bl->props.power != sinfo->bl_power) in atmel_bl_update_status()
205 power = bl->props.power; in atmel_bl_update_status()
219 bl->props.fb_blank = bl->props.power = sinfo->bl_power = power; in atmel_bl_update_status()
238 struct backlight_properties props; in init_backlight() local
246 memset(&props, 0, sizeof(struct backlight_properties)); in init_backlight()
247 props.type = BACKLIGHT_RAW; in init_backlight()
248 props.max_brightness = 0xff; in init_backlight()
250 &atmel_lcdc_bl_ops, &props); in init_backlight()
258 bl->props.power = FB_BLANK_UNBLANK; in init_backlight()
259 bl->props.fb_blank = FB_BLANK_UNBLANK; in init_backlight()
260 bl->props.brightness = atmel_bl_get_brightness(bl); in init_backlight()
269 sinfo->backlight->props.power = FB_BLANK_POWERDOWN; in exit_backlight()