Home
last modified time | relevance | path

Searched refs:led_current (Results 1 – 9 of 9) sorted by relevance

/linux/Documentation/leds/
H A Dleds-lp5562.rst76 The 'led_current' and 'max_current' are used.
87 .led_current = 20,
93 .led_current = 20,
99 .led_current = 20,
105 .led_current = 20,
H A Dleds-lp5521.rst57 - /sys/class/leds/lp5521:channel0/led_current - RW
68 .led_current = 50,
73 .led_current = 0,
78 .led_current = 0,
H A Dleds-lp5523.rst100 - /sys/class/leds/lp5523:channel2/led_current - RW
111 .led_current = 50,
117 .led_current = 50,
/linux/drivers/leds/
H A Dleds-lp55xx-common.c306 void lp55xx_set_led_current(struct lp55xx_led *led, u8 led_current) in lp55xx_set_led_current() argument
311 led->led_current = led_current; in lp55xx_set_led_current()
313 led_current); in lp55xx_set_led_current()
389 return sysfs_emit(buf, "%d\n", led->led_current); in led_current_show()
425 static DEVICE_ATTR_RW(led_current);
475 if (pdata->led_config[chan].led_current == 0) in lp55xx_init_led()
511 led->led_current = pdata->led_config[chan].led_current; in lp55xx_init_led()
1054 u8 led_current; in lp55xx_register_leds() local
1066 if (pdata->led_config[i].led_current == 0) in lp55xx_register_leds()
1069 led_current = pdata->led_config[i].led_current; in lp55xx_register_leds()
[all …]
H A Dleds-lp5562.c99 static void lp5562_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5562_set_led_current() argument
108 led->led_current = led_current; in lp5562_set_led_current()
109 lp55xx_write(led->chip, addr[led->chan_nr], led_current); in lp5562_set_led_current()
H A Dleds-lp55xx-common.h161 void (*set_led_current) (struct lp55xx_led *led, u8 led_current);
220 u8 led_current; member
244 extern void lp55xx_set_led_current(struct lp55xx_led *led, u8 led_current);
H A Dleds-lp5523.c222 if (pdata->led_config[i].led_current == 0) in lp5523_selftest()
227 pdata->led_config[i].led_current); in lp5523_selftest()
257 led->led_current); in lp5523_selftest()
H A Dleds-lp5569.c423 led->led_current); in lp5569_selftest()
/linux/include/linux/platform_data/
H A Dleds-lp55xx.h29 u8 led_current; /* mA x10, 0 if led is not connected */ member