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]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/pt_BR/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]hhjubeh}(h]h ]h"]h$]h&]uh1jhj=hKhjubj)}(hA``BACKLIGHT_UPDATE_SYSFS`` The backlight was updated using sysfs.h](j#)}(h``BACKLIGHT_UPDATE_SYSFS``h]j))}(hjch]hBACKLIGHT_UPDATE_SYSFS}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjaubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj]ubj?)}(hhh]h)}(h&The backlight was updated using sysfs.h]h&The backlight was updated using sysfs.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjyubah}(h]h ]h"]h$]h&]uh1j>hj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(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.hhKhhhhubh)}(hmA driver indicates the method (reason) used for updating the backlight when calling backlight_force_update().h]hmA driver indicates the method (reason) used for updating the backlight when calling backlight_force_update().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhhhhubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](jebacklight_type (C enum)c.backlight_typehNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(hbacklight_typeh]ju)}(henum backlight_typeh](j{)}(hj~h]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(hbacklight_typeh]j)}(hjh]hbacklight_type}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]j j uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jnhjhKhjhhubj)}(hhh]h)}(hthe type of backlight controlh]hthe type of backlight control}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK#hj#hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jenumeh"]h$]h&]jjjj>jj>jjjuh1jihhhhhNhNubj)}(hX;**Constants** ``BACKLIGHT_RAW`` The backlight is controlled using hardware registers. ``BACKLIGHT_PLATFORM`` The backlight is controlled using a platform-specific interface. ``BACKLIGHT_FIRMWARE`` The backlight is controlled using a standard firmware interface. ``BACKLIGHT_TYPE_MAX`` Number of entries.h](h)}(h **Constants**h]j)}(hjHh]h Constants}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK'hjBubj)}(hhh](j)}(hH``BACKLIGHT_RAW`` The backlight is controlled using hardware registers. h](j#)}(h``BACKLIGHT_RAW``h]j))}(hjgh]h BACKLIGHT_RAW}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjeubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK*hjaubj?)}(hhh]h)}(h5The backlight is controlled using hardware registers.h]h5The backlight is controlled using hardware registers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hK*hj}ubah}(h]h ]h"]h$]h&]uh1j>hjaubeh}(h]h ]h"]h$]h&]uh1jhj|hK*hj^ubj)}(hX``BACKLIGHT_PLATFORM`` The backlight is controlled using a platform-specific interface. h](j#)}(h``BACKLIGHT_PLATFORM``h]j))}(hjh]hBACKLIGHT_PLATFORM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK-hjubj?)}(hhh]h)}(h@The backlight is controlled using a platform-specific interface.h]h@The backlight is controlled using a platform-specific interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK-hjubah}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhjhK-hj^ubj)}(hX``BACKLIGHT_FIRMWARE`` The backlight is controlled using a standard firmware interface. h](j#)}(h``BACKLIGHT_FIRMWARE``h]j))}(hjh]hBACKLIGHT_FIRMWARE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK0hjubj?)}(hhh]h)}(h@The backlight is controlled using a standard firmware interface.h]h@The backlight is controlled using a standard firmware interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK0hjubah}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhjhK0hj^ubj)}(h)``BACKLIGHT_TYPE_MAX`` Number of entries.h](j#)}(h``BACKLIGHT_TYPE_MAX``h]j))}(hjh]hBACKLIGHT_TYPE_MAX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK2hj ubj?)}(hhh]h)}(hNumber of entries.h]hNumber of entries.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK3hj(ubah}(h]h ]h"]h$]h&]uh1j>hj ubeh}(h]h ]h"]h$]h&]uh1jhj'hK2hj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK5hhhhubh)}(h4The type of interface used to control the backlight.h]h4The type of interface used to control the backlight.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK$hhhhubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](jebacklight_ops (C struct)c.backlight_opshNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(h backlight_opsh]ju)}(hstruct backlight_opsh](j{)}(hstructh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhK)ubj)}(h backlight_opsh]j)}(hjh]h backlight_ops}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]j j uh1jhjhhhjhK)ubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjhhhjhK)ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jnhjhK)hjhhubj)}(hhh]h)}(hbacklight operationsh]hbacklight operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK`hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhK)ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1jihhhhhNhNubj)}(hX**Definition**:: struct backlight_ops { unsigned int options; #define BL_CORE_SUSPENDRESUME (1 << 0); int (*update_status)(struct backlight_device *); int (*get_brightness)(struct backlight_device *); bool (*controls_device)(struct backlight_device *bd, struct device *display_dev); }; **Members** ``options`` Configure how operations are called from the core. The options parameter is used to adjust the behaviour of the core. Set BL_CORE_SUSPENDRESUME to get the update_status() operation called upon suspend and resume. ``update_status`` Operation called when properties have changed. Notify the backlight driver some property has changed. The update_status operation is protected by the update_lock. The backlight driver is expected to use backlight_is_blank() to check if the display is blanked and set brightness accordingly. update_status() is called when any of the properties has changed. RETURNS: 0 on success, negative error code if any failure occurred. ``get_brightness`` Return the current backlight brightness. The driver may implement this as a readback from the HW. This operation is optional and if not present then the current brightness property value is used. RETURNS: A brightness value which is 0 or a positive number. On failure a negative error code is returned. ``controls_device`` Check against the display device Check if the backlight controls the given display device. This operation is optional and if not implemented it is assumed that the display is always the one controlled by the backlight. RETURNS: If display_dev is NULL or display_dev matches the device controlled by the backlight, return true. Otherwise return false.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKdhjubh)}(hXstruct backlight_ops { unsigned int options; #define BL_CORE_SUSPENDRESUME (1 << 0); int (*update_status)(struct backlight_device *); int (*get_brightness)(struct backlight_device *); bool (*controls_device)(struct backlight_device *bd, struct device *display_dev); };h]hXstruct backlight_ops { unsigned int options; #define BL_CORE_SUSPENDRESUME (1 << 0); int (*update_status)(struct backlight_device *); int (*get_brightness)(struct backlight_device *); bool (*controls_device)(struct backlight_device *bd, struct device *display_dev); };}hjsbah}(h]h ]h"]h$]h&]j j uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKfhjubh)}(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.hhKnhjubj)}(hhh](j)}(h``options`` Configure how operations are called from the core. The options parameter is used to adjust the behaviour of the core. Set BL_CORE_SUSPENDRESUME to get the update_status() operation called upon suspend and resume. h](j#)}(h ``options``h]j))}(hjCh]hoptions}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjAubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKkhj=ubj?)}(hhh](h)}(h2Configure how operations are called from the core.h]h2Configure how operations are called from the core.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKghjYubh)}(hThe options parameter is used to adjust the behaviour of the core. Set BL_CORE_SUSPENDRESUME to get the update_status() operation called upon suspend and resume.h]hThe options parameter is used to adjust the behaviour of the core. Set BL_CORE_SUSPENDRESUME to get the update_status() operation called upon suspend and resume.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKihjYubeh}(h]h ]h"]h$]h&]uh1j>hj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKkhj:ubj)}(hX``update_status`` Operation called when properties have changed. Notify the backlight driver some property has changed. The update_status operation is protected by the update_lock. The backlight driver is expected to use backlight_is_blank() to check if the display is blanked and set brightness accordingly. update_status() is called when any of the properties has changed. RETURNS: 0 on success, negative error code if any failure occurred. h](j#)}(h``update_status``h]j))}(hjh]h update_status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK}hjubj?)}(hhh](h)}(h.Operation called when properties have changed.h]h.Operation called when properties have changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKrhjubh)}(hsNotify the backlight driver some property has changed. The update_status operation is protected by the update_lock.h]hsNotify the backlight driver some property has changed. The update_status operation is protected by the update_lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKthjubh)}(hThe backlight driver is expected to use backlight_is_blank() to check if the display is blanked and set brightness accordingly. update_status() is called when any of the properties has changed.h]hThe backlight driver is expected to use backlight_is_blank() to check if the display is blanked and set brightness accordingly. update_status() is called when any of the properties has changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKwhjubh)}(hRETURNS:h]hRETURNS:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhK{hjubh)}(h:0 on success, negative error code if any failure occurred.h]h:0 on success, negative error code if any failure occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK}hjubeh}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhjhK}hj:ubj)}(hXE``get_brightness`` Return the current backlight brightness. The driver may implement this as a readback from the HW. This operation is optional and if not present then the current brightness property value is used. RETURNS: A brightness value which is 0 or a positive number. On failure a negative error code is returned. h](j#)}(h``get_brightness``h]j))}(hjh]hget_brightness}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubj?)}(hhh](h)}(h(Return the current backlight brightness.h]h(Return the current backlight brightness.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubh)}(hThe driver may implement this as a readback from the HW. This operation is optional and if not present then the current brightness property value is used.h]hThe driver may implement this as a readback from the HW. This operation is optional and if not present then the current brightness property value is used.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubh)}(hRETURNS:h]hRETURNS:}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubh)}(haA brightness value which is 0 or a positive number. On failure a negative error code is returned.h]haA brightness value which is 0 or a positive number. On failure a negative error code is returned.}(hjGhhhNhNubah}(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&]uh1jhjhKhj:ubj)}(hXu``controls_device`` Check against the display device Check if the backlight controls the given display device. This operation is optional and if not implemented it is assumed that the display is always the one controlled by the backlight. RETURNS: If display_dev is NULL or display_dev matches the device controlled by the backlight, return true. Otherwise return false.h](j#)}(h``controls_device``h]j))}(hjhh]hcontrols_device}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjfubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjbubj?)}(hhh](h)}(h Check against the display deviceh]h Check against the display device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj~ubh)}(hCheck if the backlight controls the given display device. This operation is optional and if not implemented it is assumed that the display is always the one controlled by the backlight.h]hCheck if the backlight controls the given display device. This operation is optional and if not implemented it is assumed that the display is always the one controlled by the backlight.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj~ubh)}(hRETURNS:h]hRETURNS:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj~ubh)}(hzIf display_dev is NULL or display_dev matches the device controlled by the backlight, return true. Otherwise return false.h]hzIf display_dev is NULL or display_dev matches the device controlled by the backlight, return true. Otherwise return false.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hKhj~ubeh}(h]h ]h"]h$]h&]uh1j>hjbubeh}(h]h ]h"]h$]h&]uh1jhj}hKhj:ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(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.hhKhhhhubh)}(hOThe backlight operations are specified when the backlight device is registered.h]hOThe backlight operations are specified when the backlight device is registered.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKahhhhubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](jebacklight_properties (C struct)c.backlight_propertieshNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(hbacklight_propertiesh]ju)}(hstruct backlight_propertiesh](j{)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKfubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj"hKfubj)}(hbacklight_propertiesh]j)}(hjh]hbacklight_properties}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubah}(h]h ](jjeh"]h$]h&]j j uh1jhjhhhj"hKfubeh}(h]h ]h"]h$]h&]j j juh1jtjjhj hhhj"hKfubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jnhj"hKfhj hhubj)}(hhh]h)}(hbacklight propertiesh]hbacklight properties}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjThhubah}(h]h ]h"]h$]h&]uh1jhj hhhj"hKfubeh}(h]h ](jstructeh"]h$]h&]jjjjojjojjjuh1jihhhhhNhNubj)}(hX**Definition**:: struct 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; }; **Members** ``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. ``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}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh:}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjsubh)}(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&]j j uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjsubh)}(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.hhKhjsubj)}(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&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjubj?)}(hhh](h)}(hThe maximum brightness value.h]hThe maximum brightness value.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj2ubh)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj2ubeh}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhj1hKhjubj)}(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))}(hjeh]hpower}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjcubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj_ubj?)}(hhh](h)}(hThe current power mode.h]hThe current power mode.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj{ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj{ubh)}(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.hhKhj{ubh)}(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.hhKhj{ubeh}(h]h ]h"]h$]h&]uh1j>hj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhKhjubj)}(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&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj ubh)}(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.hhKhj ubh)}(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.hhKhj ubeh}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(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))}(hjH h]hstate}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjF ubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjB ubj?)}(hhh](h)}(h The state of the backlight core.h]h The state of the backlight core.}(hja hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj^ 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.}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj^ 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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj^ 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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj] hKhj^ ubeh}(h]h ]h"]h$]h&]uh1j>hjB ubeh}(h]h ]h"]h$]h&]uh1jhj] 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&]uh1j(hj ubah}(h]h ]h"]h$]h&]uh1j"hV/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&]uh1jhjsubeh}(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.hhKhhhhubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](jebacklight_device (C struct)c.backlight_devicehNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(hbacklight_deviceh]ju)}(hstruct backlight_deviceh](j{)}(hjh]hstruct}(hj/ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhj+ hhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKubj)}(h h]h }(hj= hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ hhhj< hKubj)}(hbacklight_deviceh]j)}(hj) h]hbacklight_device}(hjO hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK ubah}(h]h ](jjeh"]h$]h&]j j uh1jhj+ hhhj< hKubeh}(h]h ]h"]h$]h&]j j juh1jtjjhj' hhhj< hKubah}(h]j" ah ](jjeh"]h$]h&]jj)jhuh1jnhj< hKhj$ hhubj)}(hhh]h)}(hbacklight device datah]hbacklight device data}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhjn hhubah}(h]h ]h"]h$]h&]uh1jhj$ hhhj< hKubeh}(h]h ](jstructeh"]h$]h&]jjjj jj jjjuh1jihhhhhNhNubj)}(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.hhKhj 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&]j j uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhKhj 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.hhMhj ubj)}(hhh](j)}(h``props`` Backlight properties h](j#)}(h ``props``h]j))}(hj h]hprops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hj ubah}(h]h ]h"]h$]h&]uh1j"hV/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&]uh1j(hj ubah}(h]h ]h"]h$]h&]uh1j"hV/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.}(hj0 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.hhKhj- 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))}(hj` h]hops_lock}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hj^ ubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM hjZ ubj?)}(hhh](h)}(h9The lock used around everything related to backlight_ops.h]h9The lock used around everything related to backlight_ops.}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhjv 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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM hjv ubeh}(h]h ]h"]h$]h&]uh1j>hjZ ubeh}(h]h ]h"]h$]h&]uh1jhju 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&]uh1j(hj ubah}(h]h ]h"]h$]h&]uh1j"hV/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&]uh1j(hj ubah}(h]h ]h"]h$]h&]uh1j"hV/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&]uh1j(hj) ubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhj% ubj?)}(hhh]h)}(hParent device.h]hParent device.}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@ hMhjA 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))}(hjd h]h use_count}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjb ubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM"hj^ ubj?)}(hhh]h)}(h!The number of unblanked displays.h]h!The number of unblanked displays.}(hj} hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM#hjz ubah}(h]h ]h"]h$]h&]uh1j>hj^ ubeh}(h]h ]h"]h$]h&]uh1jhjy hM"hj ubeh}(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.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.hhKhhhhubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](je$backlight_update_status (C function)c.backlight_update_statushNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(h9int backlight_update_status (struct backlight_device *bd)h]ju)}(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(ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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&]j j uh1jhj hhhj hM(ubhdesc_parameterlist)}(h(struct backlight_device *bd)h]hdesc_parameter)}(hstruct backlight_device *bdh](j{)}(hjh]hstruct}(hj) hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhj% ubj)}(h h]h }(hj6 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj% ubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjG hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD ubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetjI modnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]jb ASTIdentifier)}j] j sbc.backlight_update_statusasbuh1hhj% ubj)}(h h]h }(hjo hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj% ubhdesc_sig_punctuation)}(h*h]h*}(hj hhhNhNubah}(h]h ]pah"]h$]h&]uh1j} hj% ubj)}(hbdh]hbd}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj% ubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hj ubah}(h]h ]h"]h$]h&]j j uh1j hj hhhj hM(ubeh}(h]h ]h"]h$]h&]j j juh1jtjjhj hhhj hM(ubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jnhj 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 jjjuh1jihhhhhNhNubj)}(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&]uh1j(hj ubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM.hj ubj?)}(hhh]h)}(hthe backlight deviceh]hthe backlight device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM)hjubah}(h]h ]h"]h$]h&]uh1j>hj ubeh}(h]h ]h"]h$]h&]uh1jhjhM.hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](jebacklight_enable (C function)c.backlight_enablehNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(h2int backlight_enable (struct backlight_device *bd)h]ju)}(h1int backlight_enable(struct backlight_device *bd)h](j )}(hinth]hint}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM8ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhjahM8ubj)}(hbacklight_enableh]j)}(hbacklight_enableh]hbacklight_enable}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubah}(h]h ](jjeh"]h$]h&]j j uh1jhjOhhhjahM8ubj )}(h(struct backlight_device *bd)h]j$ )}(hstruct backlight_device *bdh](j{)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjmodnameN classnameNja jd )}jg ]jj )}j] jvsbc.backlight_enableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hbdh]hbd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjubah}(h]h ]h"]h$]h&]j j uh1j hjOhhhjahM8ubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjKhhhjahM8ubah}(h]jFah ](jjeh"]h$]h&]jj)jhuh1jnhjahM8hjHhhubj)}(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.hhM8hjhhubah}(h]h ]h"]h$]h&]uh1jhjHhhhjahM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1jihhhhhNhNubj)}(hP**Parameters** ``struct backlight_device *bd`` the backlight device to enableh](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM<hj/ubj)}(hhh]j)}(h>``struct backlight_device *bd`` the backlight device to enableh](j#)}(h``struct backlight_device *bd``h]j))}(hjTh]hstruct backlight_device *bd}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjRubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM>hjNubj?)}(hhh]h)}(hthe backlight device to enableh]hthe backlight device to enable}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhM9hjjubah}(h]h ]h"]h$]h&]uh1j>hjNubeh}(h]h ]h"]h$]h&]uh1jhjihM>hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](jebacklight_disable (C function)c.backlight_disablehNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(h3int backlight_disable (struct backlight_device *bd)h]ju)}(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.hhMGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMGubj)}(hbacklight_disableh]j)}(hbacklight_disableh]hbacklight_disable}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]j j uh1jhjhhhjhMGubj )}(h(struct backlight_device *bd)h]j$ )}(hstruct backlight_device *bdh](j{)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetj modnameN classnameNja jd )}jg ]jj )}j] jsbc.backlight_disableasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hbdh]hbd}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjubah}(h]h ]h"]h$]h&]j j uh1j hjhhhjhMGubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjhhhjhMGubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jnhjhMGhjhhubj)}(hhh]h)}(hDisable backlighth]hDisable backlight}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMGhjkhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jihhhhhNhNubj)}(hQ**Parameters** ``struct backlight_device *bd`` the backlight device to disableh](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.hhMKhjubj)}(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&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMMhjubj?)}(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.hhMHhjubah}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](jebacklight_is_blank (C function)c.backlight_is_blankhNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(h;bool backlight_is_blank (const struct backlight_device *bd)h]ju)}(h:bool backlight_is_blank(const struct backlight_device *bd)h](j )}(hboolh]hbool}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMVubj)}(hbacklight_is_blankh]j)}(hbacklight_is_blankh]hbacklight_is_blank}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubah}(h]h ](jjeh"]h$]h&]j j uh1jhjhhhjhMVubj )}(h#(const struct backlight_device *bd)h]j$ )}(h!const struct backlight_device *bdh](j{)}(hconsth]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjBubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj{)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjBubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjmodnameN classnameNja jd )}jg ]jj )}j] j,sbc.backlight_is_blankasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjBubj)}(hbdh]hbd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hj>ubah}(h]h ]h"]h$]h&]j j uh1j hjhhhjhMVubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjhhhjhMVubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jnhjhMVhjhhubj)}(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.hhMVhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jihhhhhNhNubj)}(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}(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.hhMZhjubj)}(hhh]j)}(h;``const struct backlight_device *bd`` the backlight device h](j#)}(h%``const struct backlight_device *bd``h]j))}(hj&h]h!const struct backlight_device *bd}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hj$ubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMWhj ubj?)}(hhh]h)}(hthe backlight deviceh]hthe backlight device}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMWhj<ubah}(h]h ]h"]h$]h&]uh1j>hj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMWhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjah]h Description}(hjchhhNhNubah}(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.hhMYhjubh)}(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:}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMXhjubh)}(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}hjsbah}(h]h ]h"]h$]h&]j j uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMZhjubh)}(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&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](je%backlight_get_brightness (C function)c.backlight_get_brightnesshNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(h@int backlight_get_brightness (const struct backlight_device *bd)h]ju)}(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.hhMgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMgubj)}(hbacklight_get_brightnessh]j)}(hbacklight_get_brightnessh]hbacklight_get_brightness}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]j j uh1jhjhhhjhMgubj )}(h#(const struct backlight_device *bd)h]j$ )}(h!const struct backlight_device *bdh](j{)}(hjHh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj{)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetj<modnameN classnameNja jd )}jg ]jj )}j] jsbc.backlight_get_brightnessasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hbdh]hbd}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjubah}(h]h ]h"]h$]h&]j j uh1j hjhhhjhMgubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjhhhjhMgubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jnhjhMghjhhubj)}(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.hhMghjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jihhhhhNhNubj)}(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.hhMkhjubj)}(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&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhhjubj?)}(hhh]h)}(hthe backlight deviceh]hthe backlight device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhhjubah}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(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.hhMjhjubh)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMihjubh)}(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.hhMmhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](jebl_get_data (C function) c.bl_get_datahNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(h4void * bl_get_data (struct backlight_device *bl_dev)h]ju)}(h2void *bl_get_data(struct backlight_device *bl_dev)h](j )}(hvoidh]hvoid}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkhhhV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhj}hMubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjkhhhj}hMubj)}(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&]j j uh1jhjkhhhj}hMubj )}(h!(struct backlight_device *bl_dev)h]j$ )}(hstruct backlight_device *bl_devh](j{)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjmodnameN classnameNja jd )}jg ]jj )}j] jsb c.bl_get_dataasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hbl_devh]hbl_dev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjubah}(h]h ]h"]h$]h&]j j uh1j hjkhhhj}hMubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjghhhj}hMubah}(h]jbah ](jjeh"]h$]h&]jj)jhuh1jnhj}hMhjdhhubj)}(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.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jhjdhhhj}hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1jihhhhhNhNubj)}(hX7**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)}(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.hhMhjXubj)}(hhh]j)}(h@``struct backlight_device *bl_dev`` pointer to backlight device h](j#)}(h#``struct backlight_device *bl_dev``h]j))}(hj}h]hstruct backlight_device *bl_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hj{ubah}(h]h ]h"]h$]h&]uh1j"hV/var/lib/git/docbuild/linux/Documentation/gpu/backlight:8: ./include/linux/backlight.hhMhjwubj?)}(hhh]h)}(hpointer to backlight deviceh]hpointer to backlight device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j>hjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubh)}(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.hhMhjXubh)}(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.hhMhjXubh)}(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.hhMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](je#backlight_force_update (C function)c.backlight_force_updatehNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(h^void backlight_force_update (struct backlight_device *bd, enum backlight_update_reason reason)h]ju)}(h]void backlight_force_update(struct backlight_device *bd, enum backlight_update_reason reason)h](j )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMMubj)}(hbacklight_force_updateh]j)}(hbacklight_force_updateh]hbacklight_force_update}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubah}(h]h ](jjeh"]h$]h&]j j uh1jhjhhhjhMMubj )}(hB(struct backlight_device *bd, enum backlight_update_reason reason)h](j$ )}(hstruct backlight_device *bdh](j{)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjimodnameN classnameNja jd )}jg ]jj )}j] j/sbc.backlight_force_updateasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjEubj)}(hbdh]hbd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjAubj$ )}(h#enum backlight_update_reason reasonh](j{)}(hj~h]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hbacklight_update_reasonh]hbacklight_update_reason}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjmodnameN classnameNja jd )}jg ]jc.backlight_force_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjAubeh}(h]h ]h"]h$]h&]j j uh1j hjhhhjhMMubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjhhhjhMMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jnhjhMMhjhhubj)}(hhh]h)}(hhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjgubj)}(h:``enum backlight_update_reason reason`` reason for update h](j#)}(h'``enum backlight_update_reason reason``h]j))}(hjh]h#enum backlight_update_reason reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"ha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMPhjubj?)}(hhh]h)}(hreason for updateh]hreason for update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMPhjubah}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjgubeh}(h]h ]h"]h$]h&]uh1jhjKubh)}(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.chMRhjKubh)}(hXYUpdates the internal state of the backlight in response to a hardware event, and generates an uevent to notify userspace. A backlight driver shall call backlight_force_update() when the backlight is changed using, for example, a hot-key. The updated brightness is read using get_brightness() and the brightness value is reported using an uevent.h]hXYUpdates the internal state of the backlight in response to a hardware event, and generates an uevent to notify userspace. A backlight driver shall call backlight_force_update() when the backlight is changed using, for example, a hot-key. The updated brightness is read using get_brightness() and the brightness value is reported using an uevent.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMQhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](je)backlight_device_get_by_name (C function)c.backlight_device_get_by_namehNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(hIstruct backlight_device * backlight_device_get_by_name (const char *name)h]ju)}(hGstruct backlight_device *backlight_device_get_by_name(const char *name)h](j{)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhj%hhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhj6hMubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjJmodnameN classnameNja jd )}jg ]jj )}j] backlight_device_get_by_namesbc.backlight_device_get_by_nameasbuh1hhj%hhhj6hMubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhj6hMubj~ )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hj%hhhj6hMubj)}(hbacklight_device_get_by_nameh]j)}(hjfh]hbacklight_device_get_by_name}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]j j uh1jhj%hhhj6hMubj )}(h(const char *name)h]j$ )}(hconst char *nameh](j{)}(hjHh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjubah}(h]h ]h"]h$]h&]j j uh1j hj%hhhj6hMubeh}(h]h ]h"]h$]h&]j j juh1jtjjhj!hhhj6hMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jnhj6hMhjhhubj)}(hhh]h)}(hGet backlight device by nameh]hGet backlight device by name}(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&]uh1jhjhhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1jihhhhhNhNubj)}(hXH**Parameters** ``const char *name`` Device name **Description** This 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(). **Return** A pointer to the backlight device if found, otherwise NULL.h](h)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhj-ubj)}(hhh]j)}(h!``const char *name`` Device name h](j#)}(h``const char *name``h]j))}(hjRh]hconst char *name}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjPubah}(h]h ]h"]h$]h&]uh1j"ha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjLubj?)}(hhh]h)}(h Device nameh]h Device name}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMhjhubah}(h]h ]h"]h$]h&]uh1j>hjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjIubah}(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)}(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.chMhj-ubh)}(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.chMhj-ubh)}(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.chMhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](je+devm_backlight_device_register (C function) c.devm_backlight_device_registerhNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(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]ju)}(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](j{)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjhhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjmodnameN classnameNja jd )}jg ]jj )}j] devm_backlight_device_registersb c.devm_backlight_device_registerasbuh1hhjhhhjhMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj~ )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjhhhjhMubj)}(hdevm_backlight_device_registerh]j)}(hj6h]hdevm_backlight_device_register}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubah}(h]h ](jjeh"]h$]h&]j j uh1jhjhhhjhMubj )}(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](j{)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubh)}(hhh]j)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjmodnameN classnameNja jd )}jg ]j4 c.devm_backlight_device_registerasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjoubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjkubj$ )}(hconst char *nameh](j{)}(hjHh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hnameh]hname}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjkubj$ )}(hstruct device *parenth](j{)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubh)}(hhh]j)}(hdeviceh]hdevice}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetj`modnameN classnameNja jd )}jg ]j4 c.devm_backlight_device_registerasbuh1hhj<ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hj<ubj)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjkubj$ )}(h void *devdatah](j )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hdevdatah]hdevdata}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjkubj$ )}(hconst struct backlight_ops *opsh](j{)}(hjHh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj{)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h backlight_opsh]h backlight_ops}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetj-modnameN classnameNja jd )}jg ]j4 c.devm_backlight_device_registerasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hopsh]hops}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjkubj$ )}(h(const struct backlight_properties *propsh](j{)}(hjHh]hconst}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj{)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubh)}(hhh]j)}(hbacklight_propertiesh]hbacklight_properties}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjmodnameN classnameNja jd )}jg ]j4 c.devm_backlight_device_registerasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjyubj)}(hpropsh]hprops}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjkubeh}(h]h ]h"]h$]h&]j j uh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jnhjhMhjhhubj)}(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&]jjjj1jj1jjjuh1jihhhhhNhNubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhj5ubj)}(hhh](j)}(h.``struct device *dev`` the device to register h](j#)}(h``struct device *dev``h]j))}(hjZh]hstruct device *dev}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjXubah}(h]h ]h"]h$]h&]uh1j"ha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjTubj?)}(hhh]h)}(hthe device to registerh]hthe device to register}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1j>hjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubj)}(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&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"ha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubj?)}(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>hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjQubj)}(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&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"ha/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&]uh1jhjhMhjQubj)}(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&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"ha/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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjQubj)}(hG``const struct backlight_ops *ops`` the backlight operations structure h](j#)}(h#``const struct backlight_ops *ops``h]j))}(hjPh]hconst struct backlight_ops *ops}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjNubah}(h]h ]h"]h$]h&]uh1j"ha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjJubj?)}(hhh]h)}(h"the backlight operations structureh]h"the backlight operations structure}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMhjfubah}(h]h ]h"]h$]h&]uh1j>hjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjQubj)}(hF``const struct backlight_properties *props`` the backlight properties h](j#)}(h,``const struct backlight_properties *props``h]j))}(hjh]h(const struct backlight_properties *props}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjubah}(h]h ]h"]h$]h&]uh1j"ha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubj?)}(hhh]h)}(hthe backlight propertiesh]hthe backlight properties}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j>hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubh)}(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.chMhj5ubh)}(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&]uh1j(hjubah}(h]h ]h"]h$]h&]refdoc gpu/backlight refdomainjreftypetype refexplicitrefwarnja jd )}jg ]sb reftargetbacklight_propertiesuh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhj5ubh)}(h3struct backlight on success, or an ERR_PTR on errorh]h3struct backlight on success, or an ERR_PTR on error}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](je-devm_backlight_device_unregister (C function)"c.devm_backlight_device_unregisterhNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(hWvoid devm_backlight_device_unregister (struct device *dev, struct backlight_device *bd)h]ju)}(hVvoid devm_backlight_device_unregister(struct device *dev, struct backlight_device *bd)h](j )}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOhhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM)ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhjahM)ubj)}(h devm_backlight_device_unregisterh]j)}(h devm_backlight_device_unregisterh]h devm_backlight_device_unregister}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubah}(h]h ](jjeh"]h$]h&]j j uh1jhjOhhhjahM)ubj )}(h1(struct device *dev, struct backlight_device *bd)h](j$ )}(hstruct device *devh](j{)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetjmodnameN classnameNja jd )}jg ]jj )}j] jvsb"c.devm_backlight_device_unregisterasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjubj$ )}(hstruct backlight_device *bdh](j{)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetj" modnameN classnameNja jd )}jg ]j"c.devm_backlight_device_unregisterasbuh1hhjubj)}(h h]h }(hj> hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj~ )}(hj h]h*}(hjL hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjubj)}(hbdh]hbd}(hjY hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hjubeh}(h]h ]h"]h$]h&]j j uh1j hjOhhhjahM)ubeh}(h]h ]h"]h$]h&]j j juh1jtjjhjKhhhjahM)ubah}(h]jFah ](jjeh"]h$]h&]jj)jhuh1jnhjahM)hjHhhubj)}(hhh]h)}(hunregister backlight deviceh]hunregister backlight device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chM)hj hhubah}(h]h ]h"]h$]h&]uh1jhjHhhhjahM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jihhhhhNhNubj)}(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&]uh1j(hj ubah}(h]h ]h"]h$]h&]uh1j"ha/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&]uh1j(hj ubah}(h]h ]h"]h$]h&]uh1j"ha/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)}(hj8!h]h Description}(hj:!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6!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.}(hjN!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&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](je&of_find_backlight_by_node (C function)c.of_find_backlight_by_nodehNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(hNstruct backlight_device * of_find_backlight_by_node (struct device_node *node)h]ju)}(hLstruct backlight_device *of_find_backlight_by_node(struct device_node *node)h](j{)}(hjh]hstruct}(hj}!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjy!hhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMCubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy!hhhj!hMCubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetj!modnameN classnameNja jd )}jg ]jj )}j] of_find_backlight_by_nodesbc.of_find_backlight_by_nodeasbuh1hhjy!hhhj!hMCubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy!hhhj!hMCubj~ )}(hj h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjy!hhhj!hMCubj)}(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&]j j uh1jhjy!hhhj!hMCubj )}(h(struct device_node *node)h]j$ )}(hstruct device_node *nodeh](j{)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhj!ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubh)}(hhh]j)}(h device_nodeh]h device_node}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetj"modnameN classnameNja jd )}jg ]j!c.of_find_backlight_by_nodeasbuh1hhj!ubj)}(h h]h }(hj3"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj~ )}(hj h]h*}(hjA"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hj!ubj)}(hnodeh]hnode}(hjN"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hj!ubah}(h]h ]h"]h$]h&]j j uh1j hjy!hhhj!hMCubeh}(h]h ]h"]h$]h&]j j juh1jtjjhju!hhhj!hMCubah}(h]jp!ah ](jjeh"]h$]h&]jj)jhuh1jnhj!hMChjr!hhubj)}(hhh]h)}(h)find backlight device by device-tree nodeh]h)find backlight device by device-tree node}(hjx"hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMChju"hhubah}(h]h ]h"]h$]h&]uh1jhjr!hhhj!hMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1jihhhhhNhNubj)}(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.chMGhj"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&]uh1j(hj"ubah}(h]h ]h"]h$]h&]uh1j"ha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMDhj"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"hMDhj"ubah}(h]h ]h"]h$]h&]uh1j>hj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMDhj"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.chMFhj"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&]uh1jhhhhhNhNubjY)}(hhh]h}(h]h ]h"]h$]h&]entries](je#devm_of_find_backlight (C function)c.devm_of_find_backlighthNtauh1jXhhhhhNhNubjj)}(hhh](jo)}(hEstruct backlight_device * devm_of_find_backlight (struct device *dev)h]ju)}(hCstruct backlight_device *devm_of_find_backlight(struct device *dev)h](j{)}(hjh]hstruct}(hjH#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjD#hhha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMvubj)}(h h]h }(hjV#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD#hhhjU#hMvubh)}(hhh]j)}(hbacklight_deviceh]hbacklight_device}(hjg#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd#ubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetji#modnameN classnameNja jd )}jg ]jj )}j] devm_of_find_backlightsbc.devm_of_find_backlightasbuh1hhjD#hhhjU#hMvubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD#hhhjU#hMvubj~ )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hjD#hhhjU#hMvubj)}(hdevm_of_find_backlighth]j)}(hj#h]hdevm_of_find_backlight}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubah}(h]h ](jjeh"]h$]h&]j j uh1jhjD#hhhjU#hMvubj )}(h(struct device *dev)h]j$ )}(hstruct device *devh](j{)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubh)}(hhh]j)}(hdeviceh]hdevice}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej] reftargetj#modnameN classnameNja jd )}jg ]j#c.devm_of_find_backlightasbuh1hhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj~ )}(hj h]h*}(hj $hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j} hj#ubj)}(hdevh]hdev}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]noemphj j uh1j# hj#ubah}(h]h ]h"]h$]h&]j j uh1j hjD#hhhjU#hMvubeh}(h]h ]h"]h$]h&]j j juh1jtjjhj@#hhhjU#hMvubah}(h]j;#ah ](jjeh"]h$]h&]jj)jhuh1jnhjU#hMvhj=#hhubj)}(hhh]h)}(hfind backlight for a deviceh]hfind backlight for a deviceX}(hjC$hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMvhj@$hhubah}(h]h ]h"]h$]h&]uh1jhj=#hhhjU#hMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[$jj[$jjjuh1jihhhhhNhNubj)}(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)}(hje$h]h Parameters}(hjg$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc$ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMzhj_$ubj)}(hhh]j)}(h"``struct device *dev`` the device h](j#)}(h``struct device *dev``h]j))}(hj$h]hstruct device *dev}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hj$ubah}(h]h ]h"]h$]h&]uh1j"ha/var/lib/git/docbuild/linux/Documentation/gpu/backlight:11: ./drivers/video/backlight/backlight.chMwhj~$ubj?)}(hhh]h)}(h the deviceh]h the device}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMwhj$ubah}(h]h ]h"]h$]h&]uh1j>hj~$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMwhj{$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.chMyhj_$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.chMxhj_$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~hj_$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_handlerj7%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%hjgjpjjjjjj j" j' j j jFjKjjjjjjjbjgjjjj!jjjFjKjp!ju!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.