Lines Matching refs:leds
188 } leds[NUM_LEDS]; member
637 if (pdata->leds.leds[i].name && pdata->leds.leds[i].flags) { in tca6507_probe_gpios()
639 tca->gpio_name[gpios] = pdata->leds.leds[i].name; in tca6507_probe_gpios()
726 pdata->leds.leds = tca_leds; in tca6507_led_dt_init()
727 pdata->leds.num_leds = NUM_LEDS; in tca6507_led_dt_init()
763 if (!pdata || pdata->leds.num_leds != NUM_LEDS) { in tca6507_probe()
781 struct tca6507_led *l = tca->leds + i; in tca6507_probe()
785 if (pdata->leds.leds[i].name && !pdata->leds.leds[i].flags) { in tca6507_probe()
786 l->led_cdev.name = pdata->leds.leds[i].name; in tca6507_probe()
788 = pdata->leds.leds[i].default_trigger; in tca6507_probe()
808 if (tca->leds[i].led_cdev.name) in tca6507_probe()
809 led_classdev_unregister(&tca->leds[i].led_cdev); in tca6507_probe()
818 struct tca6507_led *tca_leds = tca->leds; in tca6507_remove()