Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/leds/
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()
499 u8 led_current; in lp55xx_register_leds() local
511 if (pdata->led_config[i].led_current == 0) in lp55xx_register_leds()
514 led_current = pdata->led_config[i].led_current; in lp55xx_register_leds()
525 cfg->set_led_current(each, led_current); in lp55xx_register_leds()
575 &cfg[led_number].led_current); in lp55xx_parse_common_child()
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()
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()
Dleds-lp55xx-common.h119 void (*set_led_current) (struct lp55xx_led *led, u8 led_current);
179 u8 led_current; member
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()
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-v6.1/Documentation/leds/
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,
Dleds-lp5521.rst57 - /sys/class/leds/lp5521:channel0/led_current - RW
68 .led_current = 50,
73 .led_current = 0,
78 .led_current = 0,
Dleds-lp5523.rst100 - /sys/class/leds/lp5523:channel2/led_current - RW
111 .led_current = 50,
117 .led_current = 50,
/Linux-v6.1/include/linux/platform_data/
Dleds-lp55xx.h29 u8 led_current; /* mA x10, 0 if led is not connected */ member