Lines Matching refs:backlight_device
49 struct backlight_device;
58 int (*update_status)(struct backlight_device *);
61 int (*get_brightness)(struct backlight_device *);
64 int (*check_fb)(struct backlight_device *, struct fb_info *);
89 struct backlight_device { struct
116 static inline int backlight_update_status(struct backlight_device *bd) in backlight_update_status() argument
132 static inline int backlight_enable(struct backlight_device *bd) in backlight_enable()
148 static inline int backlight_disable(struct backlight_device *bd) in backlight_disable()
164 static inline void backlight_put(struct backlight_device *bd) in backlight_put()
170 extern struct backlight_device *backlight_device_register(const char *name,
173 extern struct backlight_device *devm_backlight_device_register(
177 extern void backlight_device_unregister(struct backlight_device *bd);
179 struct backlight_device *bd);
180 extern void backlight_force_update(struct backlight_device *bd,
184 extern struct backlight_device *backlight_device_get_by_type(enum backlight_type type);
185 extern int backlight_device_set_brightness(struct backlight_device *bd, unsigned long brightness);
187 #define to_backlight_device(obj) container_of(obj, struct backlight_device, dev)
189 static inline void * bl_get_data(struct backlight_device *bl_dev) in bl_get_data()
204 struct backlight_device *of_find_backlight_by_node(struct device_node *node);
206 static inline struct backlight_device *
214 struct backlight_device *of_find_backlight(struct device *dev);
215 struct backlight_device *devm_of_find_backlight(struct device *dev);
217 static inline struct backlight_device *of_find_backlight(struct device *dev) in of_find_backlight()
222 static inline struct backlight_device *