Lines Matching refs:leds
94 struct led_platform_data leds; member
180 } leds[NUM_LEDS]; member
628 if (pdata->leds.leds[i].name && pdata->leds.leds[i].flags) { in tca6507_probe_gpios()
717 pdata->leds.leds = tca_leds; in tca6507_led_dt_init()
718 pdata->leds.num_leds = NUM_LEDS; in tca6507_led_dt_init()
762 struct tca6507_led *l = tca->leds + i; in tca6507_probe()
766 if (pdata->leds.leds[i].name && !pdata->leds.leds[i].flags) { in tca6507_probe()
767 l->led_cdev.name = pdata->leds.leds[i].name; in tca6507_probe()
769 = pdata->leds.leds[i].default_trigger; in tca6507_probe()
788 if (tca->leds[i].led_cdev.name) in tca6507_probe()
789 led_classdev_unregister(&tca->leds[i].led_cdev); in tca6507_probe()
798 struct tca6507_led *tca_leds = tca->leds; in tca6507_remove()