Lines Matching refs:num_leds
91 int num_leds; member
105 unsigned int num_leds; member
376 if (IS_ENABLED(CONFIG_LEDS_CLASS) && priv->num_leds) in cap11xx_set_sleep()
417 struct cap11xx_priv *priv, int num_leds) in cap11xx_init_leds() argument
424 if (!num_leds || !cnt) in cap11xx_init_leds()
427 if (cnt > num_leds) in cap11xx_init_leds()
461 if (error != 0 || reg >= num_leds) in cap11xx_init_leds()
471 priv->num_leds++; in cap11xx_init_leds()
479 struct cap11xx_priv *priv, int num_leds) in cap11xx_init_leds() argument
576 error = cap11xx_init_leds(dev, priv, cap->num_leds); in cap11xx_i2c_probe()
602 .product_id = 0x55, .num_channels = 6, .num_leds = 0,
608 .product_id = 0x53, .num_channels = 6, .num_leds = 2,
614 .product_id = 0x50, .num_channels = 8, .num_leds = 8,
620 .product_id = 0x6d, .num_channels = 3, .num_leds = 0,
624 .product_id = 0x67, .num_channels = 6, .num_leds = 0,
628 .product_id = 0x6f, .num_channels = 3, .num_leds = 0,
635 .product_id = 0x71, .num_channels = 8, .num_leds = 0,