Lines Matching refs:props
62 bd->props.state &= ~BL_CORE_FBBLANK; in fb_notifier_callback()
63 bd->props.fb_blank = FB_BLANK_UNBLANK; in fb_notifier_callback()
70 bd->props.state |= BL_CORE_FBBLANK; in fb_notifier_callback()
71 bd->props.fb_blank = fb_blank; in fb_notifier_callback()
129 return sprintf(buf, "%d\n", bd->props.power); in bl_power_show()
147 if (bd->props.power != power) { in bl_power_store()
148 bd->props.power = power; in bl_power_store()
164 return sprintf(buf, "%d\n", bd->props.brightness); in brightness_show()
182 if (brightness > bd->props.max_brightness) in brightness_store()
186 bd->props.brightness = brightness; in brightness_store()
204 return sprintf(buf, "%s\n", backlight_types[bd->props.type]); in type_show()
213 return sprintf(buf, "%d\n", bd->props.max_brightness); in max_brightness_show()
227 rc = sprintf(buf, "%d\n", bd->props.brightness); in actual_brightness_show()
243 bd->props.state |= BL_CORE_SUSPENDED; in backlight_suspend()
257 bd->props.state &= ~BL_CORE_SUSPENDED; in backlight_resume()
298 bd->props.brightness = bd->ops->get_brightness(bd); in backlight_force_update()
319 const struct backlight_properties *props) in backlight_device_register() argument
340 if (props) { in backlight_device_register()
341 memcpy(&new_bd->props, props, in backlight_device_register()
343 if (props->type <= 0 || props->type >= BACKLIGHT_TYPE_MAX) { in backlight_device_register()
345 new_bd->props.type = BACKLIGHT_RAW; in backlight_device_register()
348 new_bd->props.type = BACKLIGHT_RAW; in backlight_device_register()
390 if (bd->props.type == type) { in backlight_device_registered()
498 const struct backlight_properties *props) in devm_backlight_device_register() argument
508 props); in devm_backlight_device_register()