Home
last modified time | relevance | path

Searched refs:enable_gpiod (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/leds/
Dleds-lp55xx-common.c441 if (pdata->enable_gpiod) { in lp55xx_init_device()
442 gpiod_set_consumer_name(pdata->enable_gpiod, "LP55xx enable"); in lp55xx_init_device()
443 gpiod_set_value(pdata->enable_gpiod, 0); in lp55xx_init_device()
445 gpiod_set_value(pdata->enable_gpiod, 1); in lp55xx_init_device()
486 if (pdata->enable_gpiod) in lp55xx_deinit_device()
487 gpiod_set_value(pdata->enable_gpiod, 0); in lp55xx_deinit_device()
696 pdata->enable_gpiod = devm_gpiod_get_optional(dev, "enable", in lp55xx_of_populate_pdata()
698 if (IS_ERR(pdata->enable_gpiod)) in lp55xx_of_populate_pdata()
699 return ERR_CAST(pdata->enable_gpiod); in lp55xx_of_populate_pdata()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dleds-lp55xx.h77 struct gpio_desc *enable_gpiod; member