;sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget!/translations/zh_CN/gpu/backlightmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/zh_TW/gpu/backlightmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/it_IT/gpu/backlightmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ja_JP/gpu/backlightmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ko_KR/gpu/backlightmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/sp_SP/gpu/backlightmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hBacklight supporth]hBacklight support}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhh;/var/lib/git/docbuild/linux/Documentation/gpu/backlight.rsthKubh paragraph)}(h;The backlight core supports implementing backlight drivers.h]h;The backlight core supports implementing backlight drivers.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/gpu/backlight:5: ./drivers/video/backlight/backlight.chKhhhhubh)}(hXjA backlight driver registers a driver using devm_backlight_device_register(). The properties of the backlight driver such as type and max_brightness must be specified. When the core detect changes in for example brightness or power state the update_status() operation is called. The backlight driver shall implement this operation and use it to adjust backlight.h]hXjA backlight driver registers a driver using devm_backlight_device_register(). The properties of the backlight driver such as type and max_brightness must be specified. When the core detect changes in for example brightness or power state the update_status() operation is called. The backlight driver shall implement this operation and use it to adjust backlight.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/gpu/backlight:5: ./drivers/video/backlight/backlight.chKhhhhubh)}(h=Several sysfs attributes are provided by the backlight core::h]h/brightness. This value can be set in the backlight_properties passed to devm_backlight_device_register() to set a default brightness value. ``max_brightness`` The maximum brightness value. This value must be set in the backlight_properties passed to devm_backlight_device_register() and shall not be modified by the driver after registration. ``power`` The current power mode. User space can configure the power mode using the sysfs attribute: /sys/class/backlight//bl_power When the power property is updated update_status() is called. The possible values are: (0: full on, 4: full off), see BACKLIGHT_POWER constants. When the backlight device is enabled, **power** is set to BACKLIGHT_POWER_ON. When the backlight device is disabled, **power** is set to BACKLIGHT_POWER_OFF. ``type`` The type of backlight supported. The backlight type allows userspace to make appropriate policy decisions based on the backlight type. This value must be set in the backlight_properties passed to devm_backlight_device_register(). ``state`` The state of the backlight core. The state is a bitmask. BL_CORE_FBBLANK is set when the display is expected to be blank. BL_CORE_SUSPENDED is set when the driver is suspended. backlight drivers are expected to use backlight_is_blank() in their update_status() operation rather than reading the state property. The state is maintained by the core and drivers may not modify it. ``scale`` The type of the brightness scale.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh:}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj_ubh)}(hXstruct backlight_properties { int brightness; int max_brightness; int power; #define BACKLIGHT_POWER_ON (0); #define BACKLIGHT_POWER_OFF (4); #define BACKLIGHT_POWER_REDUCED (1) ; enum backlight_type type; unsigned int state; #define BL_CORE_SUSPENDED (1 << 0) ; #define BL_CORE_FBBLANK (1 << 1) ; enum backlight_scale scale; };h]hXstruct backlight_properties { int brightness; int max_brightness; int power; #define BACKLIGHT_POWER_ON (0); #define BACKLIGHT_POWER_OFF (4); #define BACKLIGHT_POWER_REDUCED (1) ; enum backlight_type type; unsigned int state; #define BL_CORE_SUSPENDED (1 << 0) ; #define BL_CORE_FBBLANK (1 << 1) ; enum backlight_scale scale; };}hjsbah}(h]h ]h"]h$]h&]hhuh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj_ubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj_ubj)}(hhh](j )}(hXa``brightness`` The current brightness requested by the user. The backlight core makes sure the range is (0 to max_brightness) when the brightness is set via the sysfs attribute: /sys/class/backlight//brightness. This value can be set in the backlight_properties passed to devm_backlight_device_register() to set a default brightness value. h](j)}(h``brightness``h]j)}(hjh]h brightness}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubj+)}(hhh](h)}(h-The current brightness requested by the user.h]h-The current brightness requested by the user.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubh)}(hThe backlight core makes sure the range is (0 to max_brightness) when the brightness is set via the sysfs attribute: /sys/class/backlight//brightness.h]hThe backlight core makes sure the range is (0 to max_brightness) when the brightness is set via the sysfs attribute: /sys/class/backlight//brightness.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubh)}(hThis value can be set in the backlight_properties passed to devm_backlight_device_register() to set a default brightness value.h]hThis value can be set in the backlight_properties passed to devm_backlight_device_register() to set a default brightness value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubeh}(h]h ]h"]h$]h&]uh1j*hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj )}(h``max_brightness`` The maximum brightness value. This value must be set in the backlight_properties passed to devm_backlight_device_register() and shall not be modified by the driver after registration. h](j)}(h``max_brightness``h]j)}(hjh]hmax_brightness}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubj+)}(hhh](h)}(hThe maximum brightness value.h]hThe maximum brightness value.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubh)}(hThis value must be set in the backlight_properties passed to devm_backlight_device_register() and shall not be modified by the driver after registration.h]hThis value must be set in the backlight_properties passed to devm_backlight_device_register() and shall not be modified by the driver after registration.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubeh}(h]h ]h"]h$]h&]uh1j*hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj )}(hX``power`` The current power mode. User space can configure the power mode using the sysfs attribute: /sys/class/backlight//bl_power When the power property is updated update_status() is called. The possible values are: (0: full on, 4: full off), see BACKLIGHT_POWER constants. When the backlight device is enabled, **power** is set to BACKLIGHT_POWER_ON. When the backlight device is disabled, **power** is set to BACKLIGHT_POWER_OFF. h](j)}(h ``power``h]j)}(hjQh]hpower}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjKubj+)}(hhh](h)}(hThe current power mode.h]hThe current power mode.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjgubh)}(hUser space can configure the power mode using the sysfs attribute: /sys/class/backlight//bl_power When the power property is updated update_status() is called.h]hUser space can configure the power mode using the sysfs attribute: /sys/class/backlight//bl_power When the power property is updated update_status() is called.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjgubh)}(hRThe possible values are: (0: full on, 4: full off), see BACKLIGHT_POWER constants.h]hRThe possible values are: (0: full on, 4: full off), see BACKLIGHT_POWER constants.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjgubh)}(hWhen the backlight device is enabled, **power** is set to BACKLIGHT_POWER_ON. When the backlight device is disabled, **power** is set to BACKLIGHT_POWER_OFF.h](h&When the backlight device is enabled, }(hjhhhNhNubj)}(h **power**h]hpower}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF is set to BACKLIGHT_POWER_ON. When the backlight device is disabled, }(hjhhhNhNubj)}(h **power**h]hpower}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is set to BACKLIGHT_POWER_OFF.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjgubeh}(h]h ]h"]h$]h&]uh1j*hjKubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjubj )}(h``type`` The type of backlight supported. The backlight type allows userspace to make appropriate policy decisions based on the backlight type. This value must be set in the backlight_properties passed to devm_backlight_device_register(). h](j)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubj+)}(hhh](h)}(h The type of backlight supported.h]h The type of backlight supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubh)}(heThe backlight type allows userspace to make appropriate policy decisions based on the backlight type.h]heThe backlight type allows userspace to make appropriate policy decisions based on the backlight type.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubh)}(h^This value must be set in the backlight_properties passed to devm_backlight_device_register().h]h^This value must be set in the backlight_properties passed to devm_backlight_device_register().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubeh}(h]h ]h"]h$]h&]uh1j*hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj )}(hX``state`` The state of the backlight core. The state is a bitmask. BL_CORE_FBBLANK is set when the display is expected to be blank. BL_CORE_SUSPENDED is set when the driver is suspended. backlight drivers are expected to use backlight_is_blank() in their update_status() operation rather than reading the state property. The state is maintained by the core and drivers may not modify it. h](j)}(h ``state``h]j)}(hj4 h]hstate}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj. ubj+)}(hhh](h)}(h The state of the backlight core.h]h The state of the backlight core.}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjJ ubh)}(hThe state is a bitmask. BL_CORE_FBBLANK is set when the display is expected to be blank. BL_CORE_SUSPENDED is set when the driver is suspended.h]hThe state is a bitmask. BL_CORE_FBBLANK is set when the display is expected to be blank. BL_CORE_SUSPENDED is set when the driver is suspended.}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjJ ubh)}(hbacklight drivers are expected to use backlight_is_blank() in their update_status() operation rather than reading the state property.h]hbacklight drivers are expected to use backlight_is_blank() in their update_status() operation rather than reading the state property.}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjJ ubh)}(hBThe state is maintained by the core and drivers may not modify it.h]hBThe state is maintained by the core and drivers may not modify it.}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjI hKhjJ ubeh}(h]h ]h"]h$]h&]uh1j*hj. ubeh}(h]h ]h"]h$]h&]uh1jhjI hKhjubj )}(h+``scale`` The type of the brightness scale.h](j)}(h ``scale``h]j)}(hj h]hscale}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj ubj+)}(hhh]h)}(h!The type of the brightness scale.h]h!The type of the brightness scale.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj ubah}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubeh}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhhhhubh)}(h9This structure defines all the properties of a backlight.h]h9This structure defines all the properties of a backlight.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhhhhubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQbacklight_device (C struct)c.backlight_devicehNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(hbacklight_deviceh]ja)}(hstruct backlight_deviceh](jg)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj hhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKubjy)}(h h]h }(hj) hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj hhhj( hKubj)}(hbacklight_deviceh]j)}(hj h]hbacklight_device}(hj; hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7 ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj hhhj( hKubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhj hhhj( hKubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jZhj( hKhj hhubj)}(hhh]h)}(hbacklight device datah]hbacklight device data}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjZ hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj( hKubeh}(h]h ](jstructeh"]h$]h&]jjjju jju jjjuh1jUhhhhhNhNubj)}(hX**Definition**:: struct backlight_device { struct backlight_properties props; struct mutex update_lock; struct mutex ops_lock; const struct backlight_ops *ops; struct list_head entry; struct device dev; int use_count; }; **Members** ``props`` Backlight properties ``update_lock`` The lock used when calling the update_status() operation. update_lock is an internal backlight lock that serialise access to the update_status() operation. The backlight core holds the update_lock when calling the update_status() operation. The update_lock shall not be used by backlight drivers. ``ops_lock`` The lock used around everything related to backlight_ops. ops_lock is an internal backlight lock that protects the ops pointer and is used around all accesses to ops and when the operations are invoked. The ops_lock shall not be used by backlight drivers. ``ops`` Pointer to the backlight operations. If ops is NULL, the driver that registered this device has been unloaded, and if class_get_devdata() points to something in the body of that driver, it is also invalid. ``entry`` List entry of all registered backlight devices ``dev`` Parent device. ``use_count`` The number of unblanked displays.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj} ubh:}(hj} hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjy ubh)}(hstruct backlight_device { struct backlight_properties props; struct mutex update_lock; struct mutex ops_lock; const struct backlight_ops *ops; struct list_head entry; struct device dev; int use_count; };h]hstruct backlight_device { struct backlight_properties props; struct mutex update_lock; struct mutex ops_lock; const struct backlight_ops *ops; struct list_head entry; struct device dev; int use_count; };}hj sbah}(h]h ]h"]h$]h&]hhuh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjy ubh)}(h **Members**h]j)}(hj h]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhjy ubj)}(hhh](j )}(h``props`` Backlight properties h](j)}(h ``props``h]j)}(hj h]hprops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj ubj+)}(hhh]h)}(hBacklight propertiesh]hBacklight properties}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubj )}(hX:``update_lock`` The lock used when calling the update_status() operation. update_lock is an internal backlight lock that serialise access to the update_status() operation. The backlight core holds the update_lock when calling the update_status() operation. The update_lock shall not be used by backlight drivers. h](j)}(h``update_lock``h]j)}(hj h]h update_lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhj ubj+)}(hhh](h)}(h9The lock used when calling the update_status() operation.h]h9The lock used when calling the update_status() operation.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj ubh)}(hupdate_lock is an internal backlight lock that serialise access to the update_status() operation. The backlight core holds the update_lock when calling the update_status() operation. The update_lock shall not be used by backlight drivers.h]hupdate_lock is an internal backlight lock that serialise access to the update_status() operation. The backlight core holds the update_lock when calling the update_status() operation. The update_lock shall not be used by backlight drivers.}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhj ubeh}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj )}(hX``ops_lock`` The lock used around everything related to backlight_ops. ops_lock is an internal backlight lock that protects the ops pointer and is used around all accesses to ops and when the operations are invoked. The ops_lock shall not be used by backlight drivers. h](j)}(h ``ops_lock``h]j)}(hjL h]hops_lock}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM hjF ubj+)}(hhh](h)}(h9The lock used around everything related to backlight_ops.h]h9The lock used around everything related to backlight_ops.}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhjb ubh)}(hops_lock is an internal backlight lock that protects the ops pointer and is used around all accesses to ops and when the operations are invoked. The ops_lock shall not be used by backlight drivers.h]hops_lock is an internal backlight lock that protects the ops pointer and is used around all accesses to ops and when the operations are invoked. The ops_lock shall not be used by backlight drivers.}(hjt hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM hjb ubeh}(h]h ]h"]h$]h&]uh1j*hjF ubeh}(h]h ]h"]h$]h&]uh1jhja hM hj ubj )}(h``ops`` Pointer to the backlight operations. If ops is NULL, the driver that registered this device has been unloaded, and if class_get_devdata() points to something in the body of that driver, it is also invalid. h](j)}(h``ops``h]j)}(hj h]hops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhj ubj+)}(hhh](h)}(h$Pointer to the backlight operations.h]h$Pointer to the backlight operations.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhj ubh)}(hIf ops is NULL, the driver that registered this device has been unloaded, and if class_get_devdata() points to something in the body of that driver, it is also invalid.h]hIf ops is NULL, the driver that registered this device has been unloaded, and if class_get_devdata() points to something in the body of that driver, it is also invalid.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhj ubeh}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj )}(h9``entry`` List entry of all registered backlight devices h](j)}(h ``entry``h]j)}(hj h]hentry}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhj ubj+)}(hhh]h)}(h.List entry of all registered backlight devicesh]h.List entry of all registered backlight devices}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj )}(h``dev`` Parent device. h](j)}(h``dev``h]j)}(hj h]hdev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhj ubj+)}(hhh]h)}(hParent device.h]hParent device.}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj, hMhj- ubah}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj, hMhj ubj )}(h/``use_count`` The number of unblanked displays.h](j)}(h ``use_count``h]j)}(hjP h]h use_count}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM#hjJ ubj+)}(hhh]h)}(h!The number of unblanked displays.h]h!The number of unblanked displays.}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM$hjf ubah}(h]h ]h"]h$]h&]uh1j*hjJ ubeh}(h]h ]h"]h$]h&]uh1jhje hM#hj ubeh}(h]h ]h"]h$]h&]uh1jhjy ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM'hhhhubh)}(h=This structure holds all data required by a backlight device.h]h=This structure holds all data required by a backlight device.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhhhhubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQ$backlight_update_status (C function)c.backlight_update_statushNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(h9int backlight_update_status (struct backlight_device *bd)h]ja)}(h8int backlight_update_status(struct backlight_device *bd)h](hdesc_sig_keyword_type)}(hinth]hint}(hj hhhNhNubah}(h]h ]ktah"]h$]h&]uh1j hj hhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM)ubjy)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj hhhj hM)ubj)}(hbacklight_update_statush]j)}(hbacklight_update_statush]hbacklight_update_status}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj hhhj hM)ubhdesc_parameterlist)}(h(struct backlight_device *bd)h]hdesc_parameter)}(hstruct backlight_device *bdh](jg)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj ubjy)}(h h]h }(hj" hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj ubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hj3 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0 ubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetj5 modnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]jN ASTIdentifier)}jI j sbc.backlight_update_statusasbuh1hhj ubjy)}(h h]h }(hj[ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj ubhdesc_sig_punctuation)}(h*h]h*}(hjk hhhNhNubah}(h]h ]pah"]h$]h&]uh1ji hj ubj)}(hbdh]hbd}(hjz hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphhhuh1j hj ubah}(h]h ]h"]h$]h&]hhuh1j hj hhhj hM)ubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhj hhhj hM)ubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jZhj hM)hj hhubj)}(hhh]h)}(h.force an update of the backlight device statush]h.force an update of the backlight device status}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM)hj hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj hM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jUhhhhhNhNubj)}(hF**Parameters** ``struct backlight_device *bd`` the backlight deviceh](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM-hj ubj)}(hhh]j )}(h4``struct backlight_device *bd`` the backlight deviceh](j)}(h``struct backlight_device *bd``h]j)}(hj h]hstruct backlight_device *bd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM/hj ubj+)}(hhh]h)}(hthe backlight deviceh]hthe backlight device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM*hj ubah}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj hM/hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQbacklight_enable (C function)c.backlight_enablehNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(h2int backlight_enable (struct backlight_device *bd)h]ja)}(h1int backlight_enable(struct backlight_device *bd)h](j )}(hinth]hint}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;hhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM9ubjy)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj;hhhjMhM9ubj)}(hbacklight_enableh]j)}(hbacklight_enableh]hbacklight_enable}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj;hhhjMhM9ubj )}(h(struct backlight_device *bd)h]j )}(hstruct backlight_device *bdh](jg)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjxubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjxubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjM jP )}jS ]jV )}jI jbsbc.backlight_enableasbuh1hhjxubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjxubjj )}(hjm h]h*}(hjhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjxubj)}(hbdh]hbd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjtubah}(h]h ]h"]h$]h&]hhuh1j hj;hhhjMhM9ubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhj7hhhjMhM9ubah}(h]j2ah ](jjeh"]h$]h&]jj)jhuh1jZhjMhM9hj4hhubj)}(hhh]h)}(hEnable backlighth]hEnable backlight}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM9hjhhubah}(h]h ]h"]h$]h&]uh1jhj4hhhjMhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jUhhhhhNhNubj)}(hP**Parameters** ``struct backlight_device *bd`` the backlight device to enableh](h)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM=hjubj)}(hhh]j )}(h>``struct backlight_device *bd`` the backlight device to enableh](j)}(h``struct backlight_device *bd``h]j)}(hj@h]hstruct backlight_device *bd}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM?hj:ubj+)}(hhh]h)}(hthe backlight device to enableh]hthe backlight device to enable}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM:hjVubah}(h]h ]h"]h$]h&]uh1j*hj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM?hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQbacklight_disable (C function)c.backlight_disablehNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(h3int backlight_disable (struct backlight_device *bd)h]ja)}(h2int backlight_disable(struct backlight_device *bd)h](j )}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMHubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjhhhjhMHubj)}(hbacklight_disableh]j)}(hbacklight_disableh]hbacklight_disable}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]hhuh1jhjhhhjhMHubj )}(h(struct backlight_device *bd)h]j )}(hstruct backlight_device *bdh](jg)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjM jP )}jS ]jV )}jI jsbc.backlight_disableasbuh1hhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubjj )}(hjm h]h*}(hj#hhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjubj)}(hbdh]hbd}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjubah}(h]h ]h"]h$]h&]hhuh1j hjhhhjhMHubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhjhhhjhMHubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jZhjhMHhjhhubj)}(hhh]h)}(hDisable backlighth]hDisable backlight}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMHhjWhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1jUhhhhhNhNubj)}(hQ**Parameters** ``struct backlight_device *bd`` the backlight device to disableh](h)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMLhjvubj)}(hhh]j )}(h?``struct backlight_device *bd`` the backlight device to disableh](j)}(h``struct backlight_device *bd``h]j)}(hjh]hstruct backlight_device *bd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMNhjubj+)}(hhh]h)}(hthe backlight device to disableh]hthe backlight device to disable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMIhjubah}(h]h ]h"]h$]h&]uh1j*hjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQbacklight_is_blank (C function)c.backlight_is_blankhNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(h;bool backlight_is_blank (const struct backlight_device *bd)h]ja)}(h:bool backlight_is_blank(const struct backlight_device *bd)h](j )}(hboolh]hbool}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMWubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjhhhjhMWubj)}(hbacklight_is_blankh]j)}(hbacklight_is_blankh]hbacklight_is_blank}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]hhuh1jhjhhhjhMWubj )}(h#(const struct backlight_device *bd)h]j )}(h!const struct backlight_device *bdh](jg)}(hconsth]hconst}(hj2hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj.ubjy)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj.ubjg)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj.ubjy)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj.ubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjnmodnameN classnameNjM jP )}jS ]jV )}jI jsbc.backlight_is_blankasbuh1hhj.ubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj.ubjj )}(hjm h]h*}(hjhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hj.ubj)}(hbdh]hbd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]noemphhhuh1j hj*ubah}(h]h ]h"]h$]h&]hhuh1j hjhhhjhMWubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhjhhhjhMWubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jZhjhMWhjhhubj)}(hhh]h)}(h.Return true if display is expected to be blankh]h.Return true if display is expected to be blank}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMWhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jUhhhhhNhNubj)}(hX#**Parameters** ``const struct backlight_device *bd`` the backlight device **Description** Display is expected to be blank if any of these is true:: 1) if power in not UNBLANK 2) if state indicate BLANK or SUSPENDED Returns true if display is expected to be blank, false otherwise.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM[hjubj)}(hhh]j )}(h;``const struct backlight_device *bd`` the backlight device h](j)}(h%``const struct backlight_device *bd``h]j)}(hjh]h!const struct backlight_device *bd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMXhj ubj+)}(hhh]h)}(hthe backlight deviceh]hthe backlight device}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMXhj(ubah}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMXhj ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMZhjubh)}(h9Display is expected to be blank if any of these is true::h]h8Display is expected to be blank if any of these is true:}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMZhjubh)}(hB1) if power in not UNBLANK 2) if state indicate BLANK or SUSPENDEDh]hB1) if power in not UNBLANK 2) if state indicate BLANK or SUSPENDED}hjrsbah}(h]h ]h"]h$]h&]hhuh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM\hjubh)}(hAReturns true if display is expected to be blank, false otherwise.h]hAReturns true if display is expected to be blank, false otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM_hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQ%backlight_get_brightness (C function)c.backlight_get_brightnesshNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(h@int backlight_get_brightness (const struct backlight_device *bd)h]ja)}(h?int backlight_get_brightness(const struct backlight_device *bd)h](j )}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjhhhjhMhubj)}(hbacklight_get_brightnessh]j)}(hbacklight_get_brightnessh]hbacklight_get_brightness}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]hhuh1jhjhhhjhMhubj )}(h#(const struct backlight_device *bd)h]j )}(h!const struct backlight_device *bdh](jg)}(hj4h]hconst}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubjg)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj(modnameN classnameNjM jP )}jS ]jV )}jI jsbc.backlight_get_brightnessasbuh1hhjubjy)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubjj )}(hjm h]h*}(hjThhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjubj)}(hbdh]hbd}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjubah}(h]h ]h"]h$]h&]hhuh1j hjhhhjhMhubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhjhhhjhMhubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jZhjhMhhjhhubj)}(hhh]h)}(h$Returns the current brightness valueh]h$Returns the current brightness value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jUhhhhhNhNubj)}(hX**Parameters** ``const struct backlight_device *bd`` the backlight device **Description** Returns the current brightness value, taking in consideration the current state. If backlight_is_blank() returns true then return 0 as brightness otherwise return the current brightness property value. Backlight drivers are expected to use this function in their update_status() operation to get the brightness value.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMlhjubj)}(hhh]j )}(h;``const struct backlight_device *bd`` the backlight device h](j)}(h%``const struct backlight_device *bd``h]j)}(hjh]h!const struct backlight_device *bd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMihjubj+)}(hhh]h)}(hthe backlight deviceh]hthe backlight device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMihjubah}(h]h ]h"]h$]h&]uh1j*hjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMkhjubh)}(hReturns the current brightness value, taking in consideration the current state. If backlight_is_blank() returns true then return 0 as brightness otherwise return the current brightness property value.h]hReturns the current brightness value, taking in consideration the current state. If backlight_is_blank() returns true then return 0 as brightness otherwise return the current brightness property value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMkhjubh)}(hsBacklight drivers are expected to use this function in their update_status() operation to get the brightness value.h]hsBacklight drivers are expected to use this function in their update_status() operation to get the brightness value.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMohjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQbl_get_data (C function) c.bl_get_datahNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(h4void * bl_get_data (struct backlight_device *bl_dev)h]ja)}(h2void *bl_get_data(struct backlight_device *bl_dev)h](j )}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMubjy)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjWhhhjihMubjj )}(hjm h]h*}(hjxhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjWhhhjihMubj)}(h bl_get_datah]j)}(h bl_get_datah]h bl_get_data}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]hhuh1jhjWhhhjihMubj )}(h!(struct backlight_device *bl_dev)h]j )}(hstruct backlight_device *bl_devh](jg)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjM jP )}jS ]jV )}jI jsb c.bl_get_dataasbuh1hhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubjj )}(hjm h]h*}(hjhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjubj)}(hbl_devh]hbl_dev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjubah}(h]h ]h"]h$]h&]hhuh1j hjWhhhjihMubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhjShhhjihMubah}(h]jNah ](jjeh"]h$]h&]jj)jhuh1jZhjihMhjPhhubj)}(hhh]h)}(haccess devdatah]haccess devdata}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhj%hhubah}(h]h ]h"]h$]h&]uh1jhjPhhhjihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1jUhhhhhNhNubj)}(hX6**Parameters** ``struct backlight_device *bl_dev`` pointer to backlight device **Description** When a backlight device is registered the driver has the possibility to supply a void * devdata. bl_get_data() return a pointer to the devdata. pointer to devdata stored while registering the backlight device.h](h)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhjDubj)}(hhh]j )}(h@``struct backlight_device *bl_dev`` pointer to backlight device h](j)}(h#``struct backlight_device *bl_dev``h]j)}(hjih]hstruct backlight_device *bl_dev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhjcubj+)}(hhh]h)}(hpointer to backlight deviceh]hpointer to backlight device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhjubah}(h]h ]h"]h$]h&]uh1j*hjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhjDubh)}(hWhen a backlight device is registered the driver has the possibility to supply a void * devdata. bl_get_data() return a pointer to the devdata.h]hWhen a backlight device is registered the driver has the possibility to supply a void * devdata. bl_get_data() return a pointer to the devdata.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhjDubh)}(hApointer to devdata stored while registering the backlight device.h]hApointer to devdata stored while registering the backlight device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQ#backlight_force_update (C function)c.backlight_force_updatehNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(h^void backlight_force_update (struct backlight_device *bd, enum backlight_update_reason reason)h]ja)}(h]void backlight_force_update(struct backlight_device *bd, enum backlight_update_reason reason)h](j )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMLubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjhhhjhMLubj)}(hbacklight_force_updateh]j)}(hbacklight_force_updateh]hbacklight_force_update}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]hhuh1jhjhhhjhMLubj )}(hB(struct backlight_device *bd, enum backlight_update_reason reason)h](j )}(hstruct backlight_device *bdh](jg)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj1ubjy)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj1ubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjUmodnameN classnameNjM jP )}jS ]jV )}jI jsbc.backlight_force_updateasbuh1hhj1ubjy)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj1ubjj )}(hjm h]h*}(hjhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hj1ubj)}(hbdh]hbd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]noemphhhuh1j hj-ubj )}(h#enum backlight_update_reason reasonh](jg)}(hjjh]henum}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubh)}(hhh]j)}(hbacklight_update_reasonh]hbacklight_update_reason}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjM jP )}jS ]joc.backlight_force_updateasbuh1hhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubj)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1j hj-ubeh}(h]h ]h"]h$]h&]hhuh1j hjhhhjhMLubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhjhhhjhMLubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jZhjhMLhjhhubj)}(hhh]h)}(hh]hconst char *name}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhj8ubj+)}(hhh]h)}(h Device nameh]h Device name}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1j*hj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjyh]h Description}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubh)}(hThis function looks up a backlight device by its name. It obtains a reference on the backlight device and it is the caller's responsibility to drop the reference by calling put_device().h]hThis function looks up a backlight device by its name. It obtains a reference on the backlight device and it is the caller’s responsibility to drop the reference by calling put_device().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubh)}(h;A pointer to the backlight device if found, otherwise NULL.h]h;A pointer to the backlight device if found, otherwise NULL.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQ+devm_backlight_device_register (C function) c.devm_backlight_device_registerhNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(hstruct backlight_device * devm_backlight_device_register (struct device *dev, const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props)h]ja)}(hstruct backlight_device *devm_backlight_device_register(struct device *dev, const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props)h](jg)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjhhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjhhhjhMubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjM jP )}jS ]jV )}jI devm_backlight_device_registersb c.devm_backlight_device_registerasbuh1hhjhhhjhMubjy)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjhhhjhMubjj )}(hjm h]h*}(hj3hhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjhhhjhMubj)}(hdevm_backlight_device_registerh]j)}(hj"h]hdevm_backlight_device_register}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubah}(h]h ](jjeh"]h$]h&]hhuh1jhjhhhjhMubj )}(h(struct device *dev, const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props)h](j )}(hstruct device *devh](jg)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj[ubjy)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj[ubh)}(hhh]j)}(hdeviceh]hdevice}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjM jP )}jS ]j  c.devm_backlight_device_registerasbuh1hhj[ubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj[ubjj )}(hjm h]h*}(hjhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hj[ubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjWubj )}(hconst char *nameh](jg)}(hj4h]hconst}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubj )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubjj )}(hjm h]h*}(hjhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjubj)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjWubj )}(hstruct device *parenth](jg)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj(ubjy)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj(ubh)}(hhh]j)}(hdeviceh]hdevice}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjLmodnameN classnameNjM jP )}jS ]j  c.devm_backlight_device_registerasbuh1hhj(ubjy)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj(ubjj )}(hjm h]h*}(hjvhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hj(ubj)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjWubj )}(h void *devdatah](j )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubjj )}(hjm h]h*}(hjhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjubj)}(hdevdatah]hdevdata}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjWubj )}(hconst struct backlight_ops *opsh](jg)}(hj4h]hconst}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubjg)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubh)}(hhh]j)}(h backlight_opsh]h backlight_ops}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjM jP )}jS ]j  c.devm_backlight_device_registerasbuh1hhjubjy)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubjj )}(hjm h]h*}(hjChhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjubj)}(hopsh]hops}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjWubj )}(h(const struct backlight_properties *propsh](jg)}(hj4h]hconst}(hjihhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjeubjy)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjeubjg)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjeubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjeubh)}(hhh]j)}(hbacklight_propertiesh]hbacklight_properties}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjM jP )}jS ]j  c.devm_backlight_device_registerasbuh1hhjeubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjeubjj )}(hjm h]h*}(hjhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjeubj)}(hpropsh]hprops}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjWubeh}(h]h ]h"]h$]h&]hhuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jZhjhMhjhhubj)}(hhh]h)}(hregister a new backlight deviceh]hregister a new backlight device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jUhhhhhNhNubj)}(hX**Parameters** ``struct device *dev`` the device to register ``const char *name`` the name of the device ``struct device *parent`` a pointer to the parent device (often the same as **dev**) ``void *devdata`` an optional pointer to be stored for private driver use ``const struct backlight_ops *ops`` the backlight operations structure ``const struct backlight_properties *props`` the backlight properties **Description** Creates and registers new backlight device. When a backlight device is registered the configuration must be specified in the **props** parameter. See description of :c:type:`backlight_properties`. struct backlight on success, or an ERR_PTR on errorh](h)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhj!ubj)}(hhh](j )}(h.``struct device *dev`` the device to register h](j)}(h``struct device *dev``h]j)}(hjFh]hstruct device *dev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhj@ubj+)}(hhh]h)}(hthe device to registerh]hthe device to register}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1j*hj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj=ubj )}(h,``const char *name`` the name of the device h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjyubj+)}(hhh]h)}(hthe name of the deviceh]hthe name of the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j*hjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubj )}(hU``struct device *parent`` a pointer to the parent device (often the same as **dev**) h](j)}(h``struct device *parent``h]j)}(hjh]hstruct device *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubj+)}(hhh]h)}(h:a pointer to the parent device (often the same as **dev**)h](h2a pointer to the parent device (often the same as }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j*hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubj )}(hJ``void *devdata`` an optional pointer to be stored for private driver use h](j)}(h``void *devdata``h]j)}(hjh]h void *devdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubj+)}(hhh]h)}(h7an optional pointer to be stored for private driver useh]h7an optional pointer to be stored for private driver use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j*hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubj )}(hG``const struct backlight_ops *ops`` the backlight operations structure h](j)}(h#``const struct backlight_ops *ops``h]j)}(hj<h]hconst struct backlight_ops *ops}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhj6ubj+)}(hhh]h)}(h"the backlight operations structureh]h"the backlight operations structure}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjRubah}(h]h ]h"]h$]h&]uh1j*hj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj=ubj )}(hF``const struct backlight_properties *props`` the backlight properties h](j)}(h,``const struct backlight_properties *props``h]j)}(hjuh]h(const struct backlight_properties *props}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjoubj+)}(hhh]h)}(hthe backlight propertiesh]hthe backlight properties}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j*hjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhj!ubh)}(hCreates and registers new backlight device. When a backlight device is registered the configuration must be specified in the **props** parameter. See description of :c:type:`backlight_properties`.h](h}Creates and registers new backlight device. When a backlight device is registered the configuration must be specified in the }(hjhhhNhNubj)}(h **props**h]hprops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh parameter. See description of }(hjhhhNhNubh)}(h:c:type:`backlight_properties`h]j)}(hjh]hbacklight_properties}(hjhhhNhNubah}(h]h ](xrefjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc gpu/backlight refdomainjreftypetype refexplicitrefwarnjM jP )}jS ]sb reftargetbacklight_propertiesuh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhj!ubh)}(h3struct backlight on success, or an ERR_PTR on errorh]h3struct backlight on success, or an ERR_PTR on error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM hj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQ-devm_backlight_device_unregister (C function)"c.devm_backlight_device_unregisterhNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(hWvoid devm_backlight_device_unregister (struct device *dev, struct backlight_device *bd)h]ja)}(hVvoid devm_backlight_device_unregister(struct device *dev, struct backlight_device *bd)h](j )}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;hhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM(ubjy)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj;hhhjMhM(ubj)}(h devm_backlight_device_unregisterh]j)}(h devm_backlight_device_unregisterh]h devm_backlight_device_unregister}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj;hhhjMhM(ubj )}(h1(struct device *dev, struct backlight_device *bd)h](j )}(hstruct device *devh](jg)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjxubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjxubh)}(hhh]j)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjmodnameN classnameNjM jP )}jS ]jV )}jI jbsb"c.devm_backlight_device_unregisterasbuh1hhjxubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjxubjj )}(hjm h]h*}(hjhhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjxubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjtubj )}(hstruct backlight_device *bdh](jg)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjubjy)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj modnameN classnameNjM jP )}jS ]j"c.devm_backlight_device_unregisterasbuh1hhjubjy)}(h h]h }(hj* hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhjubjj )}(hjm h]h*}(hj8 hhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hjubj)}(hbdh]hbd}(hjE hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1j hjtubeh}(h]h ]h"]h$]h&]hhuh1j hj;hhhjMhM(ubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhj7hhhjMhM(ubah}(h]j2ah ](jjeh"]h$]h&]jj)jhuh1jZhjMhM(hj4hhubj)}(hhh]h)}(hunregister backlight deviceh]hunregister backlight device}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM(hjl hhubah}(h]h ]h"]h$]h&]uh1jhj4hhhjMhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jUhhhhhNhNubj)}(hX_**Parameters** ``struct device *dev`` the device to unregister ``struct backlight_device *bd`` the backlight device to unregister **Description** Deallocates a backlight allocated with devm_backlight_device_register(). Normally this function will not need to be called and the resource management code will ensure that the resources are freed.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM,hj ubj)}(hhh](j )}(h0``struct device *dev`` the device to unregister h](j)}(h``struct device *dev``h]j)}(hj h]hstruct device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM)hj ubj+)}(hhh]h)}(hthe device to unregisterh]hthe device to unregister}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM)hj ubah}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj hM)hj ubj )}(hC``struct backlight_device *bd`` the backlight device to unregister h](j)}(h``struct backlight_device *bd``h]j)}(hj h]hstruct backlight_device *bd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM*hj ubj+)}(hhh]h)}(h"the backlight device to unregisterh]h"the backlight device to unregister}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM*hj ubah}(h]h ]h"]h$]h&]uh1j*hj ubeh}(h]h ]h"]h$]h&]uh1jhj hM*hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj$!h]h Description}(hj&!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"!ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM,hj ubh)}(hDeallocates a backlight allocated with devm_backlight_device_register(). Normally this function will not need to be called and the resource management code will ensure that the resources are freed.h]hDeallocates a backlight allocated with devm_backlight_device_register(). Normally this function will not need to be called and the resource management code will ensure that the resources are freed.}(hj:!hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM,hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQ&of_find_backlight_by_node (C function)c.of_find_backlight_by_nodehNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(hNstruct backlight_device * of_find_backlight_by_node (struct device_node *node)h]ja)}(hLstruct backlight_device *of_find_backlight_by_node(struct device_node *node)h](jg)}(hjh]hstruct}(hji!hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhje!hhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMBubjy)}(h h]h }(hjw!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhje!hhhjv!hMBubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj!modnameN classnameNjM jP )}jS ]jV )}jI of_find_backlight_by_nodesbc.of_find_backlight_by_nodeasbuh1hhje!hhhjv!hMBubjy)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhje!hhhjv!hMBubjj )}(hjm h]h*}(hj!hhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hje!hhhjv!hMBubj)}(hof_find_backlight_by_nodeh]j)}(hj!h]hof_find_backlight_by_node}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ](jjeh"]h$]h&]hhuh1jhje!hhhjv!hMBubj )}(h(struct device_node *node)h]j )}(hstruct device_node *nodeh](jg)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj!ubjy)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj!ubh)}(hhh]j)}(h device_nodeh]h device_node}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj"modnameN classnameNjM jP )}jS ]j!c.of_find_backlight_by_nodeasbuh1hhj!ubjy)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj!ubjj )}(hjm h]h*}(hj-"hhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hj!ubj)}(hnodeh]hnode}(hj:"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]noemphhhuh1j hj!ubah}(h]h ]h"]h$]h&]hhuh1j hje!hhhjv!hMBubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhja!hhhjv!hMBubah}(h]j\!ah ](jjeh"]h$]h&]jj)jhuh1jZhjv!hMBhj^!hhubj)}(hhh]h)}(h)find backlight device by device-tree nodeh]h)find backlight device by device-tree node}(hjd"hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMBhja"hhubah}(h]h ]h"]h$]h&]uh1jhj^!hhhjv!hMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|"jj|"jjjuh1jUhhhhhNhNubj)}(hX**Parameters** ``struct device_node *node`` device-tree node of the backlight device **Description** Returns a pointer to the backlight device corresponding to the given DT node or NULL if no such backlight device exists or if the device hasn't been probed yet. This function obtains a reference on the backlight device and it is the caller's responsibility to drop the reference by calling put_device() on the backlight device's .dev field.h](h)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMFhj"ubj)}(hhh]j )}(hF``struct device_node *node`` device-tree node of the backlight device h](j)}(h``struct device_node *node``h]j)}(hj"h]hstruct device_node *node}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMChj"ubj+)}(hhh]h)}(h(device-tree node of the backlight deviceh]h(device-tree node of the backlight device}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMChj"ubah}(h]h ]h"]h$]h&]uh1j*hj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMChj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubh)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMEhj"ubh)}(hReturns a pointer to the backlight device corresponding to the given DT node or NULL if no such backlight device exists or if the device hasn't been probed yet.h]hReturns a pointer to the backlight device corresponding to the given DT node or NULL if no such backlight device exists or if the device hasn’t been probed yet.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMEhj"ubh)}(hThis function obtains a reference on the backlight device and it is the caller's responsibility to drop the reference by calling put_device() on the backlight device's .dev field.h]hThis function obtains a reference on the backlight device and it is the caller’s responsibility to drop the reference by calling put_device() on the backlight device’s .dev field.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMIhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjE)}(hhh]h}(h]h ]h"]h$]h&]entries](jQ#devm_of_find_backlight (C function)c.devm_of_find_backlighthNtauh1jDhhhhhNhNubjV)}(hhh](j[)}(hEstruct backlight_device * devm_of_find_backlight (struct device *dev)h]ja)}(hCstruct backlight_device *devm_of_find_backlight(struct device *dev)h](jg)}(hjh]hstruct}(hj4#hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj0#hhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMuubjy)}(h h]h }(hjB#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj0#hhhjA#hMuubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjS#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP#ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetjU#modnameN classnameNjM jP )}jS ]jV )}jI devm_of_find_backlightsbc.devm_of_find_backlightasbuh1hhj0#hhhjA#hMuubjy)}(h h]h }(hjt#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj0#hhhjA#hMuubjj )}(hjm h]h*}(hj#hhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hj0#hhhjA#hMuubj)}(hdevm_of_find_backlighth]j)}(hjq#h]hdevm_of_find_backlight}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj0#hhhjA#hMuubj )}(h(struct device *dev)h]j )}(hstruct device *devh](jg)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj#ubjy)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj#ubh)}(hhh]j)}(hdeviceh]hdevice}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&] refdomainjreftypejI reftargetj#modnameN classnameNjM jP )}jS ]jo#c.devm_of_find_backlightasbuh1hhj#ubjy)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jxhj#ubjj )}(hjm h]h*}(hj#hhhNhNubah}(h]h ]jv ah"]h$]h&]uh1ji hj#ubj)}(hdevh]hdev}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]noemphhhuh1j hj#ubah}(h]h ]h"]h$]h&]hhuh1j hj0#hhhjA#hMuubeh}(h]h ]h"]h$]h&]hhjuh1j`jjhj,#hhhjA#hMuubah}(h]j'#ah ](jjeh"]h$]h&]jj)jhuh1jZhjA#hMuhj)#hhubj)}(hhh]h)}(hfind backlight for a deviceh]hfind backlight for a device}(hj/$hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMuhj,$hhubah}(h]h ]h"]h$]h&]uh1jhj)#hhhjA#hMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjG$jjG$jjjuh1jUhhhhhNhNubj)}(hX**Parameters** ``struct device *dev`` the device **Description** This function looks for a property named 'backlight' on the DT node connected to **dev** and looks up the backlight device. The lookup is device managed so the reference to the backlight device is automatically dropped on driver detach. A pointer to the backlight device if found. Error pointer -EPROBE_DEFER if the DT property is set, but no backlight device is found. NULL if there's no backlight property. h](h)}(h**Parameters**h]j)}(hjQ$h]h Parameters}(hjS$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO$ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMyhjK$ubj)}(hhh]j )}(h"``struct device *dev`` the device h](j)}(h``struct device *dev``h]j)}(hjp$h]hstruct device *dev}(hjr$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn$ubah}(h]h ]h"]h$]h&]uh1jha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMvhjj$ubj+)}(hhh]h)}(h the deviceh]h the device}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMvhj$ubah}(h]h ]h"]h$]h&]uh1j*hjj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMvhjg$ubah}(h]h ]h"]h$]h&]uh1jhjK$ubh)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMxhjK$ubh)}(hThis function looks for a property named 'backlight' on the DT node connected to **dev** and looks up the backlight device. The lookup is device managed so the reference to the backlight device is automatically dropped on driver detach.h](hUThis function looks for a property named ‘backlight’ on the DT node connected to }(hj$hhhNhNubj)}(h**dev**h]hdev}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh and looks up the backlight device. The lookup is device managed so the reference to the backlight device is automatically dropped on driver detach.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMxhjK$ubh)}(hA pointer to the backlight device if found. Error pointer -EPROBE_DEFER if the DT property is set, but no backlight device is found. NULL if there's no backlight property.h]hA pointer to the backlight device if found. Error pointer -EPROBE_DEFER if the DT property is set, but no backlight device is found. NULL if there’s no backlight property.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM}hjK$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubeh}(h]backlight-supportah ]h"]backlight supportah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj#%error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}j$j$s nametypes}j$sh}(j$hjSj\jjjrjwjjj j j j j2j7jjjjjjjNjSjjjj jjj2j7j\!ja!j'#j,#u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.