Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/video/backlight/
Dled_bl.c19 int nb_leds; member
35 for (i = 0; i < priv->nb_leds; i++) in led_bl_set_brightness()
48 for (i = 0; i < priv->nb_leds; i++) in led_bl_power_off()
74 int i, nb_leds, ret; in led_bl_get_leds() local
86 nb_leds = ret; in led_bl_get_leds()
87 if (nb_leds < 1) { in led_bl_get_leds()
92 leds = devm_kzalloc(dev, sizeof(struct led_classdev *) * nb_leds, in led_bl_get_leds()
97 for (i = 0; i < nb_leds; i++) { in led_bl_get_leds()
105 for (i = 1; i < nb_leds; i++) { in led_bl_get_leds()
115 priv->nb_leds = nb_leds; in led_bl_get_leds()
[all …]