Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A Dleds-lp55xx-common.c441 if (pdata->enable_gpiod) { in lp55xx_init_device()
442 gpiod_direction_output(pdata->enable_gpiod, 0); in lp55xx_init_device()
444 gpiod_set_consumer_name(pdata->enable_gpiod, "LP55xx enable"); in lp55xx_init_device()
445 gpiod_set_value(pdata->enable_gpiod, 0); in lp55xx_init_device()
447 gpiod_set_value(pdata->enable_gpiod, 1); in lp55xx_init_device()
488 if (pdata->enable_gpiod) in lp55xx_deinit_device()
489 gpiod_set_value(pdata->enable_gpiod, 0); in lp55xx_deinit_device()
706 pdata->enable_gpiod = devm_gpiod_get_optional(dev, "enable", in lp55xx_of_populate_pdata()
708 if (IS_ERR(pdata->enable_gpiod)) in lp55xx_of_populate_pdata()
709 return ERR_CAST(pdata->enable_gpiod); in lp55xx_of_populate_pdata()
/openbmc/linux/include/linux/platform_data/
H A Dleds-lp55xx.h80 struct gpio_desc *enable_gpiod; member