Lines Matching +full:pull +full:- +full:down
1 /* SPDX-License-Identifier: GPL-2.0 */
8 * S3C Platform - GPIO pin configuration
13 * changing the pull-{up,down} configurations.
27 /* forward declaration if gpio-core.h hasn't been included */
33 * @get_pull: Read the current pull configuration for the GPIO
34 * @set_pull: Set the current pull configuration for the GPIO
41 * per-bank configuration information that other systems such as the
54 samsung_gpio_pull_t pull);
73 * s3c_gpio_cfgpin() - Change the GPIO function of a pin.
85 * If a bank of GPIOs all needs to be set to special-function 2, then
98 * s3c_gpio_cfgpin_range() - Change the GPIO function for configuring pin range
110 /* Define values for the pull-{up,down} available for each gpio pin.
112 * These values control the state of the weak pull-{up,down} resistors
114 * up or down settings, and it may be dependent on the chip that is being
122 * s3c_gpio_setpull() - set the state of a gpio pin pull resistor
123 * @pin: The pin number to configure the pull resistor.
124 * @pull: The configuration for the pull resistor.
126 * This function sets the state of the pull-{up,down} resistor for the
128 * code if the pin cannot support the requested pull setting.
130 * @pull is one of S3C_GPIO_PULL_NONE, S3C_GPIO_PULL_DOWN or S3C_GPIO_PULL_UP.
132 extern int s3c_gpio_setpull(unsigned int pin, samsung_gpio_pull_t pull);
137 * s3c_gpio_cfgall_range() - configure range of gpio functtion and pull.
141 * @pull: The pull setting to use.
151 unsigned int cfg, samsung_gpio_pull_t pull);