Home
last modified time | relevance | path

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

/linux/drivers/regulator/
A Dpwm-regulator.c43 struct gpio_desc *enb_gpio; member
119 gpiod_set_value_cansleep(drvdata->enb_gpio, 1); in pwm_regulator_enable()
130 gpiod_set_value_cansleep(drvdata->enb_gpio, 0); in pwm_regulator_disable()
139 if (drvdata->enb_gpio && !gpiod_get_value_cansleep(drvdata->enb_gpio)) in pwm_regulator_is_enabled()
363 drvdata->enb_gpio = devm_gpiod_get_optional(&pdev->dev, "enable", in pwm_regulator_probe()
365 if (IS_ERR(drvdata->enb_gpio)) { in pwm_regulator_probe()
366 ret = PTR_ERR(drvdata->enb_gpio); in pwm_regulator_probe()

Completed in 3 milliseconds