Lines Matching refs:backlight_device
50 struct backlight_device *bd; in fb_notifier_callback()
59 bd = container_of(self, struct backlight_device, fb_notif); in fb_notifier_callback()
87 static int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
95 static void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
100 static inline int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
105 static inline void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
110 static void backlight_generate_event(struct backlight_device *bd, in backlight_generate_event()
134 struct backlight_device *bd = to_backlight_device(dev); in bl_power_show()
143 struct backlight_device *bd = to_backlight_device(dev); in bl_power_store()
175 struct backlight_device *bd = to_backlight_device(dev); in brightness_show()
180 int backlight_device_set_brightness(struct backlight_device *bd, in backlight_device_set_brightness()
207 struct backlight_device *bd = to_backlight_device(dev); in brightness_store()
223 struct backlight_device *bd = to_backlight_device(dev); in type_show()
232 struct backlight_device *bd = to_backlight_device(dev); in max_brightness_show()
242 struct backlight_device *bd = to_backlight_device(dev); in actual_brightness_show()
258 struct backlight_device *bd = to_backlight_device(dev); in scale_show()
272 struct backlight_device *bd = to_backlight_device(dev); in backlight_suspend()
286 struct backlight_device *bd = to_backlight_device(dev); in backlight_resume()
304 struct backlight_device *bd = to_backlight_device(dev); in bl_device_release()
327 void backlight_force_update(struct backlight_device *bd, in backlight_force_update()
351 struct backlight_device *backlight_device_register(const char *name, in backlight_device_register()
355 struct backlight_device *new_bd; in backlight_device_register()
360 new_bd = kzalloc(sizeof(struct backlight_device), GFP_KERNEL); in backlight_device_register()
417 struct backlight_device *backlight_device_get_by_type(enum backlight_type type) in backlight_device_get_by_type()
420 struct backlight_device *bd; in backlight_device_get_by_type()
441 void backlight_device_unregister(struct backlight_device *bd) in backlight_device_unregister()
471 struct backlight_device *backlight = *(struct backlight_device **)res; in devm_backlight_device_release()
479 struct backlight_device **r = res; in devm_backlight_device_match()
529 struct backlight_device *devm_backlight_device_register(struct device *dev, in devm_backlight_device_register()
534 struct backlight_device **ptr, *backlight; in devm_backlight_device_register()
564 struct backlight_device *bd) in devm_backlight_device_unregister()
592 struct backlight_device *of_find_backlight_by_node(struct device_node *node) in of_find_backlight_by_node()
618 struct backlight_device *of_find_backlight(struct device *dev) in of_find_backlight()
620 struct backlight_device *bd = NULL; in of_find_backlight()
659 struct backlight_device *devm_of_find_backlight(struct device *dev) in devm_of_find_backlight()
661 struct backlight_device *bd; in devm_of_find_backlight()