Searched refs:NUM_LEDS (Results 1 – 2 of 2) sorted by relevance
155 #define NUM_LEDS 7 macro180 } leds[NUM_LEDS];183 int gpio_map[NUM_LEDS];627 for (i = 0; i < NUM_LEDS; i++) in tca6507_probe_gpios()678 if (!count || count > NUM_LEDS) in tca6507_led_dt_init()681 tca_leds = devm_kcalloc(dev, NUM_LEDS, sizeof(struct led_info), in tca6507_led_dt_init()703 if (ret || reg >= NUM_LEDS) { in tca6507_led_dt_init()717 pdata->leds.num_leds = NUM_LEDS; in tca6507_led_dt_init()747 dev_err(dev, "Need %d entries in platform-data list\n", NUM_LEDS); in tca6507_probe()759 for (i = 0; i < NUM_LEDS; i++) { in tca6507_probe()[all …]
172 #define NUM_LEDS 4 macro182 struct led_classdev *leds[NUM_LEDS];315 for (n = 0; n < NUM_LEDS; n++) { in bigben_set_led()348 for (n = 0; n < NUM_LEDS; n++) { in bigben_get_led()424 for (n = 0; n < NUM_LEDS; n++) { in bigben_probe()