Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/regulator/
Ddriver.h643 struct regulator_enable_gpio *ena_pin; member
/linux-6.1.9/drivers/regulator/
Dcore.c1575 if (!rdev->ena_pin && !ops->enable) { in set_machine_constraints()
2517 rdev->ena_pin = pin; in regulator_ena_gpio_request()
2529 if (!rdev->ena_pin) in regulator_ena_gpio_free()
2534 if (pin != rdev->ena_pin) in regulator_ena_gpio_free()
2546 rdev->ena_pin = NULL; in regulator_ena_gpio_free()
2559 struct regulator_enable_gpio *pin = rdev->ena_pin; in regulator_ena_gpio_ctrl()
2682 if (rdev->ena_pin) { in _regulator_do_enable()
2900 if (rdev->ena_pin) { in _regulator_do_disable()
3138 if (rdev->ena_pin) in _regulator_is_enabled()
5105 return (rdev->ena_pin || ops->is_enabled) ? mode : 0; in regulator_attr_is_visible()