Lines Matching +full:function +full:- +full:enumerator
8 of the LED (taking a value 0-max_brightness). Most LEDs don't have hardware
9 brightness support so will just be turned on for non-zero brightness settings.
14 existing subsystems with minimal additional code. Examples are the disk-activity,
15 nand-disk and sharpsl-charge triggers. With led triggers disabled, the code
46 "devicename:color:function"
48 - devicename:
57 - color:
59 include/dt-bindings/leds/common.h.
61 - function:
63 include/dt-bindings/leds/common.h.
65 If required color or function is missing, please submit a patch
66 to linux-leds@vger.kernel.org.
68 It is possible that more than one LED with the same color and function will
71 name with required "-N" suffix in the driver. fwnode based drivers can use
72 function-enumerator property for that and then the concatenation will be handled
76 when LED class device is created by a driver of hot-pluggable device and
88 - "red:disk"
89 - "white:flash"
90 - "red:indicator"
91 - "phy1:green:wlan"
92 - "phy3::wlan"
93 - ":kbd_backlight"
94 - "input5::kbd_backlight"
95 - "input3::numlock"
96 - "input3::scrolllock"
97 - "input3::capslock"
98 - "mmc1::status"
99 - "white:status"
107 - input devices
108 - ieee80211 compliant USB devices
124 - led_set_brightness:
128 - led_set_brightness_sync:
129 for use cases when immediate effect is desired -
132 blinking, returns -EBUSY if software blink fallback is enabled.
141 must call led_classdev_unregister from its remove function before
142 free-ing the led_classdev struct.
155 blink_set() function (see <linux/leds.h>). To set an LED to blinking,
156 however, it is better to use the API function led_blink_set(), as it
159 To turn off blinking, use the API function led_brightness_set()
163 The blink_set() function should choose a user friendly blinking value
168 Setting the brightness to zero with brightness_set() callback function
170 hardware blinking function, if any.