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()
764 if (!pdata || pdata->leds.num_leds != NUM_LEDS) { in tca6507_probe()
782 struct tca6507_led *l = tca->leds + i; in tca6507_probe()
786 if (pdata->leds.leds[i].name && !pdata->leds.leds[i].flags) { in tca6507_probe()
787 l->led_cdev.name = pdata->leds.leds[i].name; in tca6507_probe()
789 = pdata->leds.leds[i].default_trigger; in tca6507_probe()
809 if (tca->leds[i].led_cdev.name) in tca6507_probe()
810 led_classdev_unregister(&tca->leds[i].led_cdev); in tca6507_probe()
819 struct tca6507_led *tca_leds = tca->leds; in tca6507_remove()