Lines Matching full:backlight

3  * Backlight Lowlevel Control Abstraction
18 * enum backlight_update_reason - what method was used to update backlight
20 * A driver indicates the method (reason) used for updating the backlight
25 * @BACKLIGHT_UPDATE_HOTKEY: The backlight was updated using a hot-key.
30 * @BACKLIGHT_UPDATE_SYSFS: The backlight was updated using sysfs.
36 * enum backlight_type - the type of backlight control
38 * The type of interface used to control the backlight.
44 * The backlight is controlled using hardware registers.
51 * The backlight is controlled using a platform-specific interface.
58 * The backlight is controlled using a standard firmware interface.
76 * @BACKLIGHT_REGISTERED: The backlight device is registered.
81 * @BACKLIGHT_UNREGISTERED: The backlight revice is unregistered.
116 * struct backlight_ops - backlight operations
118 * The backlight operations are specified when the backlight device is registered.
135 * Notify the backlight driver some property has changed.
138 * The backlight driver is expected to use backlight_is_blank()
149 * @get_brightness: Return the current backlight brightness.
165 * Check if given framebuffer device is the one bound to this backlight.
167 * fbdev is always the one bound to the backlight.
171 * If info is NULL or the info matches the fbdev bound to the backlight return true.
172 * If info does not match the fbdev bound to the backlight return false.
178 * struct backlight_properties - backlight properties
180 * This structure defines all the properties of a backlight.
186 * The backlight core makes sure the range is (0 to max_brightness)
188 * /sys/class/backlight/<backlight>/brightness.
209 * attribute: /sys/class/backlight/<backlight>/bl_power
215 * When the backlight device is enabled @power is set
216 * to FB_BLANK_UNBLANK. When the backlight device is disabled
227 * When the backlight device is enabled @fb_blank is set
228 * to FB_BLANK_UNBLANK. When the backlight device is disabled
231 * Backlight drivers should avoid using this property. It has been
241 * @type: The type of backlight supported.
243 * The backlight type allows userspace to make appropriate
244 * policy decisions based on the backlight type.
252 * @state: The state of the backlight core.
258 * backlight drivers are expected to use backlight_is_blank()
266 #define BL_CORE_SUSPENDED (1 << 0) /* backlight is suspended */
267 #define BL_CORE_FBBLANK (1 << 1) /* backlight is under an fb blank event */
276 * struct backlight_device - backlight device data
278 * This structure holds all data required by a backlight device.
282 * @props: Backlight properties
289 * update_lock is an internal backlight lock that serialise access
290 * to the update_status() operation. The backlight core holds the update_lock
292 * be used by backlight drivers.
299 * ops_lock is an internal backlight lock that protects the ops pointer
301 * invoked. The ops_lock shall not be used by backlight drivers.
306 * @ops: Pointer to the backlight operations.
320 * @entry: List entry of all registered backlight devices
332 * Multiple fbdev's may share one backlight device. The fb_bl_on
344 * backlight_update_status - force an update of the backlight device status
345 * @bd: the backlight device
360 * backlight_enable - Enable backlight
361 * @bd: the backlight device to enable
376 * backlight_disable - Disable backlight
377 * @bd: the backlight device to disable
393 * @bd: the backlight device
412 * @bd: the backlight device
418 * Backlight drivers are expected to use this function in their update_status()
454 * @bl_dev: pointer to backlight device
456 * When a backlight device is registered the driver has the possibility
462 * pointer to devdata stored while registering the backlight device.