Lines Matching refs:props

120 			bd->props.state &= ~BL_CORE_FBBLANK;  in fb_notifier_callback()
121 bd->props.fb_blank = FB_BLANK_UNBLANK; in fb_notifier_callback()
127 bd->props.state |= BL_CORE_FBBLANK; in fb_notifier_callback()
128 bd->props.fb_blank = fb_blank; in fb_notifier_callback()
186 return sprintf(buf, "%d\n", bd->props.power); in bl_power_show()
204 if (bd->props.power != power) { in bl_power_store()
205 old_power = bd->props.power; in bl_power_store()
206 bd->props.power = power; in bl_power_store()
209 bd->props.power = old_power; in bl_power_store()
227 return sprintf(buf, "%d\n", bd->props.brightness); in brightness_show()
237 if (brightness > bd->props.max_brightness) in backlight_device_set_brightness()
241 bd->props.brightness = brightness; in backlight_device_set_brightness()
275 return sprintf(buf, "%s\n", backlight_types[bd->props.type]); in type_show()
284 return sprintf(buf, "%d\n", bd->props.max_brightness); in max_brightness_show()
300 rc = sprintf(buf, "%d\n", bd->props.brightness); in actual_brightness_show()
313 if (WARN_ON(bd->props.scale > BACKLIGHT_SCALE_NON_LINEAR)) in scale_show()
316 return sprintf(buf, "%s\n", backlight_scale_types[bd->props.scale]); in scale_show()
329 bd->props.state |= BL_CORE_SUSPENDED; in backlight_suspend()
343 bd->props.state &= ~BL_CORE_SUSPENDED; in backlight_resume()
393 bd->props.brightness = brightness; in backlight_force_update()
407 const struct backlight_properties *props) in backlight_device_register() argument
428 if (props) { in backlight_device_register()
429 memcpy(&new_bd->props, props, in backlight_device_register()
431 if (props->type <= 0 || props->type >= BACKLIGHT_TYPE_MAX) { in backlight_device_register()
433 new_bd->props.type = BACKLIGHT_RAW; in backlight_device_register()
436 new_bd->props.type = BACKLIGHT_RAW; in backlight_device_register()
487 if (bd->props.type == type) { in backlight_device_get_by_type()
617 const struct backlight_properties *props) in devm_backlight_device_register() argument
627 props); in devm_backlight_device_register()