Searched refs:led_current (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/leds/
H A Dleds-lp55xx-common.c90 return scnprintf(buf, PAGE_SIZE, "%d\n", led->led_current); lp55xx_show_current()
126 static DEVICE_ATTR(led_current, S_IRUGO | S_IWUSR, lp55xx_show_current,
161 if (pdata->led_config[chan].led_current == 0) lp55xx_init_led()
164 led->led_current = pdata->led_config[chan].led_current; lp55xx_init_led()
463 u8 led_current; lp55xx_register_leds() local
475 if (pdata->led_config[i].led_current == 0) lp55xx_register_leds()
478 led_current = pdata->led_config[i].led_current; lp55xx_register_leds()
491 cfg->set_led_current(each, led_current); lp55xx_register_leds()
576 of_property_read_u8(child, "led-cur", &cfg[i].led_current); for_each_child_of_node()
H A Dleds-lp55xx-common.h116 void (*set_led_current) (struct lp55xx_led *led, u8 led_current);
165 * @led_current : Current setting at each led channel
174 u8 led_current; member in struct:lp55xx_led
H A Dleds-lp8501.c87 static void lp8501_set_led_current(struct lp55xx_led *led, u8 led_current) lp8501_set_led_current() argument
89 led->led_current = led_current; lp8501_set_led_current()
91 led_current); lp8501_set_led_current()
H A Dleds-lp5523.c131 static void lp5523_set_led_current(struct lp55xx_led *led, u8 led_current) lp5523_set_led_current() argument
133 led->led_current = led_current; lp5523_set_led_current()
135 led_current); lp5523_set_led_current()
627 if (pdata->led_config[i].led_current == 0) lp5523_selftest()
632 pdata->led_config[i].led_current); lp5523_selftest()
659 led->led_current); lp5523_selftest()
H A Dleds-lp5521.c127 static void lp5521_set_led_current(struct lp55xx_led *led, u8 led_current) lp5521_set_led_current() argument
129 led->led_current = led_current; lp5521_set_led_current()
131 led_current); lp5521_set_led_current()
H A Dleds-lp5562.c117 static void lp5562_set_led_current(struct lp55xx_led *led, u8 led_current) lp5562_set_led_current() argument
126 led->led_current = led_current; lp5562_set_led_current()
127 lp55xx_write(led->chip, addr[led->chan_nr], led_current); lp5562_set_led_current()
/linux-4.4.14/include/linux/platform_data/
H A Dleds-lp55xx.h27 u8 led_current; /* mA x10, 0 if led is not connected */ member in struct:lp55xx_led_config
/linux-4.4.14/arch/arm/mach-omap2/
H A Dboard-rx51-peripherals.c169 .led_current = 50,
174 .led_current = 50,
179 .led_current = 50,
184 .led_current = 50,
189 .led_current = 50,
194 .led_current = 50,
199 .led_current = 50,
204 .led_current = 50,
209 .led_current = 50,

Completed in 176 milliseconds