Searched refs:led_current (Results 1 – 6 of 6) sorted by relevance
/drivers/leds/ |
D | leds-lp55xx-common.c | 90 return scnprintf(buf, PAGE_SIZE, "%d\n", led->led_current); in lp55xx_show_current() 126 static DEVICE_ATTR(led_current, S_IRUGO | S_IWUSR, lp55xx_show_current, 162 if (pdata->led_config[chan].led_current == 0) in lp55xx_init_led() 165 led->led_current = pdata->led_config[chan].led_current; in lp55xx_init_led() 464 u8 led_current; in lp55xx_register_leds() local 476 if (pdata->led_config[i].led_current == 0) in lp55xx_register_leds() 479 led_current = pdata->led_config[i].led_current; in lp55xx_register_leds() 490 cfg->set_led_current(each, led_current); in lp55xx_register_leds() 574 of_property_read_u8(child, "led-cur", &cfg[i].led_current); in lp55xx_of_populate_pdata()
|
D | leds-lp8501.c | 87 static void lp8501_set_led_current(struct lp55xx_led *led, u8 led_current) in lp8501_set_led_current() argument 89 led->led_current = led_current; in lp8501_set_led_current() 91 led_current); in lp8501_set_led_current()
|
D | leds-lp5523.c | 131 static void lp5523_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5523_set_led_current() argument 133 led->led_current = led_current; in lp5523_set_led_current() 135 led_current); in lp5523_set_led_current() 627 if (pdata->led_config[i].led_current == 0) in lp5523_selftest() 632 pdata->led_config[i].led_current); in lp5523_selftest() 659 led->led_current); in lp5523_selftest()
|
D | leds-lp55xx-common.h | 116 void (*set_led_current) (struct lp55xx_led *led, u8 led_current); 173 u8 led_current; member
|
D | leds-lp5521.c | 127 static void lp5521_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5521_set_led_current() argument 129 led->led_current = led_current; in lp5521_set_led_current() 131 led_current); in lp5521_set_led_current()
|
D | leds-lp5562.c | 117 static void lp5562_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5562_set_led_current() argument 126 led->led_current = led_current; in lp5562_set_led_current() 127 lp55xx_write(led->chip, addr[led->chan_nr], led_current); in lp5562_set_led_current()
|