Lines Matching refs:ops
54 if (bd->ops) in fb_notifier_callback()
55 if (!bd->ops->check_fb || in fb_notifier_callback()
56 bd->ops->check_fb(bd, evdata->info)) { in fb_notifier_callback()
145 if (bd->ops) { in bl_power_store()
181 if (bd->ops) { in brightness_store()
224 if (bd->ops && bd->ops->get_brightness) in actual_brightness_show()
225 rc = sprintf(buf, "%d\n", bd->ops->get_brightness(bd)); in actual_brightness_show()
242 if (bd->ops && bd->ops->options & BL_CORE_SUSPENDRESUME) { in backlight_suspend()
256 if (bd->ops && bd->ops->options & BL_CORE_SUSPENDRESUME) { in backlight_resume()
297 if (bd->ops && bd->ops->get_brightness) in backlight_force_update()
298 bd->props.brightness = bd->ops->get_brightness(bd); in backlight_force_update()
318 struct device *parent, void *devdata, const struct backlight_ops *ops, in backlight_device_register() argument
363 new_bd->ops = ops; in backlight_device_register()
427 bd->ops = NULL; in backlight_device_unregister()
497 const struct backlight_ops *ops, in devm_backlight_device_register() argument
507 backlight = backlight_device_register(name, parent, devdata, ops, in devm_backlight_device_register()