Lines Matching defs:pin
8 * S3C Platform - GPIO pin configuration
12 * pin configuration done such as setting a pin to input or output or
64 /* Defines for generic pin configurations */
73 * s3c_gpio_cfgpin() - Change the GPIO function of a pin.
74 * @pin pin The pin number to configure.
75 * @to to The configuration for the pin's function.
78 * pin, such as an gpio input, output or some form of special function
95 extern int s3c_gpio_cfgpin(unsigned int pin, unsigned int to);
98 * s3c_gpio_cfgpin_range() - Change the GPIO function for configuring pin range
99 * @start: The pin number to start at
101 * @cfg: The configuration for the pin's function
110 /* Define values for the pull-{up,down} available for each gpio pin.
122 * s3c_gpio_setpull() - set the state of a gpio pin pull resistor
123 * @pin: The pin number to configure the pull resistor.
127 * specified pin. It will return 0 if successful, or a negative error
128 * code if the pin cannot support the requested pull setting.
132 extern int s3c_gpio_setpull(unsigned int pin, samsung_gpio_pull_t pull);
153 static inline int s3c_gpio_cfgrange_nopull(unsigned int pin, unsigned int size,
156 return s3c_gpio_cfgall_range(pin, size, cfg, S3C_GPIO_PULL_NONE);