Lines Matching refs:backlight_device
55 struct backlight_device;
64 int (*update_status)(struct backlight_device *);
67 int (*get_brightness)(struct backlight_device *);
70 int (*check_fb)(struct backlight_device *, struct fb_info *);
97 struct backlight_device { struct
124 static inline int backlight_update_status(struct backlight_device *bd) in backlight_update_status() argument
140 static inline int backlight_enable(struct backlight_device *bd) in backlight_enable()
156 static inline int backlight_disable(struct backlight_device *bd) in backlight_disable()
172 static inline void backlight_put(struct backlight_device *bd) in backlight_put()
178 extern struct backlight_device *backlight_device_register(const char *name,
181 extern struct backlight_device *devm_backlight_device_register(
185 extern void backlight_device_unregister(struct backlight_device *bd);
187 struct backlight_device *bd);
188 extern void backlight_force_update(struct backlight_device *bd,
192 extern struct backlight_device *backlight_device_get_by_type(enum backlight_type type);
193 extern int backlight_device_set_brightness(struct backlight_device *bd, unsigned long brightness);
195 #define to_backlight_device(obj) container_of(obj, struct backlight_device, dev)
197 static inline void * bl_get_data(struct backlight_device *bl_dev) in bl_get_data()
212 struct backlight_device *of_find_backlight_by_node(struct device_node *node);
214 static inline struct backlight_device *
222 struct backlight_device *of_find_backlight(struct device *dev);
223 struct backlight_device *devm_of_find_backlight(struct device *dev);
225 static inline struct backlight_device *of_find_backlight(struct device *dev) in of_find_backlight()
230 static inline struct backlight_device *