Lines Matching refs:num_leds
186 u8 num_leds; member
198 .num_leds = LP5009_MAX_LED_MODULES * LP50XX_LEDS_PER_MODULE,
209 .num_leds = LP5012_MAX_LED_MODULES * LP50XX_LEDS_PER_MODULE,
220 .num_leds = LP5018_MAX_LED_MODULES * LP50XX_LEDS_PER_MODULE,
231 .num_leds = LP5024_MAX_LED_MODULES * LP50XX_LEDS_PER_MODULE,
242 .num_leds = LP5030_MAX_LED_MODULES * LP50XX_LEDS_PER_MODULE,
253 .num_leds = LP5036_MAX_LED_MODULES * LP50XX_LEDS_PER_MODULE,
390 struct lp50xx_led *led, int num_leds) in lp50xx_probe_leds() argument
396 if (num_leds > 1) { in lp50xx_probe_leds()
397 if (num_leds > priv->chip_info->max_modules) { in lp50xx_probe_leds()
402 ret = fwnode_property_read_u32_array(child, "reg", led_banks, num_leds); in lp50xx_probe_leds()
422 if (led_number > priv->chip_info->num_leds) { in lp50xx_probe_leds()