Lines Matching refs:backlight_device

99 	struct backlight_device *bd;  in fb_notifier_callback()
102 struct backlight_device *fb_bd = fb_bl_device(info); in fb_notifier_callback()
110 bd = container_of(self, struct backlight_device, fb_notif); in fb_notifier_callback()
139 static int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
147 static void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
152 static inline int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
157 static inline void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
162 static void backlight_generate_event(struct backlight_device *bd, in backlight_generate_event()
186 struct backlight_device *bd = to_backlight_device(dev); in bl_power_show()
195 struct backlight_device *bd = to_backlight_device(dev); in bl_power_store()
227 struct backlight_device *bd = to_backlight_device(dev); in brightness_show()
232 int backlight_device_set_brightness(struct backlight_device *bd, in backlight_device_set_brightness()
259 struct backlight_device *bd = to_backlight_device(dev); in brightness_store()
275 struct backlight_device *bd = to_backlight_device(dev); in type_show()
284 struct backlight_device *bd = to_backlight_device(dev); in max_brightness_show()
294 struct backlight_device *bd = to_backlight_device(dev); in actual_brightness_show()
313 struct backlight_device *bd = to_backlight_device(dev); in scale_show()
325 struct backlight_device *bd = to_backlight_device(dev); in backlight_suspend()
339 struct backlight_device *bd = to_backlight_device(dev); in backlight_resume()
357 struct backlight_device *bd = to_backlight_device(dev); in bl_device_release()
390 void backlight_force_update(struct backlight_device *bd, in backlight_force_update()
411 struct backlight_device *backlight_device_register(const char *name, in backlight_device_register()
415 struct backlight_device *new_bd; in backlight_device_register()
420 new_bd = kzalloc(sizeof(struct backlight_device), GFP_KERNEL); in backlight_device_register()
486 struct backlight_device *backlight_device_get_by_type(enum backlight_type type) in backlight_device_get_by_type()
489 struct backlight_device *bd; in backlight_device_get_by_type()
515 struct backlight_device *backlight_device_get_by_name(const char *name) in backlight_device_get_by_name()
526 void backlight_device_unregister(struct backlight_device *bd) in backlight_device_unregister()
556 struct backlight_device *backlight = *(struct backlight_device **)res; in devm_backlight_device_release()
564 struct backlight_device **r = res; in devm_backlight_device_match()
620 struct backlight_device *devm_backlight_device_register(struct device *dev, in devm_backlight_device_register()
625 struct backlight_device **ptr, *backlight; in devm_backlight_device_register()
655 struct backlight_device *bd) in devm_backlight_device_unregister()
683 struct backlight_device *of_find_backlight_by_node(struct device_node *node) in of_find_backlight_by_node()
694 static struct backlight_device *of_find_backlight(struct device *dev) in of_find_backlight()
696 struct backlight_device *bd = NULL; in of_find_backlight()
717 struct backlight_device *bd = data; in devm_backlight_release()
737 struct backlight_device *devm_of_find_backlight(struct device *dev) in devm_of_find_backlight()
739 struct backlight_device *bd; in devm_of_find_backlight()