Home
last modified time | relevance | path

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

/linux/drivers/leds/
A Dleds-lp55xx-common.c91 return scnprintf(buf, PAGE_SIZE, "%d\n", led->led_current); in led_current_show()
127 static DEVICE_ATTR_RW(led_current);
177 if (pdata->led_config[chan].led_current == 0) in lp55xx_init_led()
214 led->led_current = pdata->led_config[chan].led_current; in lp55xx_init_led()
497 u8 led_current; in lp55xx_register_leds() local
509 if (pdata->led_config[i].led_current == 0) in lp55xx_register_leds()
512 led_current = pdata->led_config[i].led_current; in lp55xx_register_leds()
523 cfg->set_led_current(each, led_current); in lp55xx_register_leds()
573 &cfg[led_number].led_current); in lp55xx_parse_common_child()
A Dleds-lp8501.c83 static void lp8501_set_led_current(struct lp55xx_led *led, u8 led_current) in lp8501_set_led_current() argument
85 led->led_current = led_current; in lp8501_set_led_current()
87 led_current); in lp8501_set_led_current()
A Dleds-lp5523.c118 static void lp5523_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5523_set_led_current() argument
120 led->led_current = led_current; in lp5523_set_led_current()
122 led_current); in lp5523_set_led_current()
617 if (pdata->led_config[i].led_current == 0) in lp5523_selftest()
622 pdata->led_config[i].led_current); in lp5523_selftest()
649 led->led_current); in lp5523_selftest()
A Dleds-lp55xx-common.h119 void (*set_led_current) (struct lp55xx_led *led, u8 led_current);
179 u8 led_current; member
A Dleds-lp5521.c114 static void lp5521_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5521_set_led_current() argument
116 led->led_current = led_current; in lp5521_set_led_current()
118 led_current); in lp5521_set_led_current()
A Dleds-lp5562.c114 static void lp5562_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5562_set_led_current() argument
123 led->led_current = led_current; in lp5562_set_led_current()
124 lp55xx_write(led->chip, addr[led->chan_nr], led_current); in lp5562_set_led_current()
/linux/Documentation/leds/
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,
A Dleds-lp5521.rst57 - /sys/class/leds/lp5521:channel0/led_current - RW
68 .led_current = 50,
73 .led_current = 0,
78 .led_current = 0,
A Dleds-lp5523.rst100 - /sys/class/leds/lp5523:channel2/led_current - RW
111 .led_current = 50,
117 .led_current = 50,
/linux/include/linux/platform_data/
A Dleds-lp55xx.h29 u8 led_current; /* mA x10, 0 if led is not connected */ member

Completed in 19 milliseconds