Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/regulator/
H A Ddriver.h647 struct regulator_enable_gpio *ena_pin; member
/openbmc/linux/drivers/regulator/
H A Dcore.c1641 if (!rdev->ena_pin && !ops->enable) { in set_machine_constraints()
2588 rdev->ena_pin = pin; in regulator_ena_gpio_request()
2600 if (!rdev->ena_pin) in regulator_ena_gpio_free()
2605 if (pin != rdev->ena_pin) in regulator_ena_gpio_free()
2617 rdev->ena_pin = NULL; in regulator_ena_gpio_free()
2630 struct regulator_enable_gpio *pin = rdev->ena_pin; in regulator_ena_gpio_ctrl()
2753 if (rdev->ena_pin) { in _regulator_do_enable()
2972 if (rdev->ena_pin) { in _regulator_do_disable()
3213 if (rdev->ena_pin) in _regulator_is_enabled()
5187 return (rdev->ena_pin || ops->is_enabled) ? mode : 0; in regulator_attr_is_visible()