Lines Matching +full:start +full:- +full:up
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 */
41 * per-bank configuration information that other systems such as the
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
88 * for (gpio = start; gpio < end; gpio++)
98 * s3c_gpio_getcfg - Read the current function for a GPIO pin
109 * s3c_gpio_cfgpin_range() - Change the GPIO function for configuring pin range
110 * @start: The pin number to start at
111 * @nr: The number of pins to configure from @start.
114 * Call s3c_gpio_cfgpin() for the @nr pins starting at @start.
118 extern int s3c_gpio_cfgpin_range(unsigned int start, unsigned int nr,
121 /* Define values for the pull-{up,down} available for each gpio pin.
123 * These values control the state of the weak pull-{up,down} resistors
125 * up or down settings, and it may be dependent on the chip that is being
133 * s3c_gpio_setpull() - set the state of a gpio pin pull resistor
137 * This function sets the state of the pull-{up,down} resistor for the
146 * s3c_gpio_getpull() - get the pull resistor state of a gpio pin
156 * s3c_gpio_cfgall_range() - configure range of gpio functtion and pull.
157 * @start: The gpio number to start at.
158 * @nr: The number of gpio to configure from @start.
169 extern int s3c_gpio_cfgall_range(unsigned int start, unsigned int nr,