Lines Matching refs:backlight_device
43 struct backlight_device *bd; in fb_notifier_callback()
52 bd = container_of(self, struct backlight_device, fb_notif); in fb_notifier_callback()
80 static int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
88 static void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
93 static inline int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
98 static inline void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
103 static void backlight_generate_event(struct backlight_device *bd, in backlight_generate_event()
127 struct backlight_device *bd = to_backlight_device(dev); in bl_power_show()
136 struct backlight_device *bd = to_backlight_device(dev); in bl_power_store()
168 struct backlight_device *bd = to_backlight_device(dev); in brightness_show()
173 int backlight_device_set_brightness(struct backlight_device *bd, in backlight_device_set_brightness()
200 struct backlight_device *bd = to_backlight_device(dev); in brightness_store()
216 struct backlight_device *bd = to_backlight_device(dev); in type_show()
225 struct backlight_device *bd = to_backlight_device(dev); in max_brightness_show()
235 struct backlight_device *bd = to_backlight_device(dev); in actual_brightness_show()
253 struct backlight_device *bd = to_backlight_device(dev); in backlight_suspend()
267 struct backlight_device *bd = to_backlight_device(dev); in backlight_resume()
285 struct backlight_device *bd = to_backlight_device(dev); in bl_device_release()
307 void backlight_force_update(struct backlight_device *bd, in backlight_force_update()
331 struct backlight_device *backlight_device_register(const char *name, in backlight_device_register()
335 struct backlight_device *new_bd; in backlight_device_register()
340 new_bd = kzalloc(sizeof(struct backlight_device), GFP_KERNEL); in backlight_device_register()
397 struct backlight_device *backlight_device_get_by_type(enum backlight_type type) in backlight_device_get_by_type()
400 struct backlight_device *bd; in backlight_device_get_by_type()
421 void backlight_device_unregister(struct backlight_device *bd) in backlight_device_unregister()
451 struct backlight_device *backlight = *(struct backlight_device **)res; in devm_backlight_device_release()
459 struct backlight_device **r = res; in devm_backlight_device_match()
509 struct backlight_device *devm_backlight_device_register(struct device *dev, in devm_backlight_device_register()
514 struct backlight_device **ptr, *backlight; in devm_backlight_device_register()
544 struct backlight_device *bd) in devm_backlight_device_unregister()
572 struct backlight_device *of_find_backlight_by_node(struct device_node *node) in of_find_backlight_by_node()
598 struct backlight_device *of_find_backlight(struct device *dev) in of_find_backlight()
600 struct backlight_device *bd = NULL; in of_find_backlight()
639 struct backlight_device *devm_of_find_backlight(struct device *dev) in devm_of_find_backlight()
641 struct backlight_device *bd; in devm_of_find_backlight()