Lines Matching refs:gpio
118 * @param gpio GPIO number
122 int gpio_request(unsigned gpio, const char *label);
127 * @param gpio GPIO number
130 int gpio_free(unsigned gpio);
135 * @param gpio GPIO number
138 int gpio_direction_input(unsigned gpio, ps_io_ops_t *io_ops);
143 * @param gpio GPIO number
147 int gpio_direction_output(unsigned gpio, int value, ps_io_ops_t *io_ops);
153 * @param gpio GPIO number
156 int gpio_get_value(unsigned gpio);
162 * @param gpio GPIO number
166 int gpio_set_value(unsigned gpio, int value);
169 * Request a gpio. This should be called before any of the other functions
170 * are used on this gpio.
176 int gpio_request(unsigned gpio, const char *label);