Lines Matching +full:request +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0
16 * gpio_request_one - request a single GPIO with initial configuration
28 /* Compatibility: assume unavailable "valid" GPIOs will appear later */ in gpio_request_one()
30 return -EPROBE_DEFER; in gpio_request_one()
37 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one()
60 /* Compatibility: assume unavailable "valid" GPIOs will appear later */ in gpio_request()
62 return -EPROBE_DEFER; in gpio_request()
69 * gpio_request_array - request multiple GPIOs in a single call
71 * @num: how many GPIOs in the array
78 err = gpio_request_one(array->gpio, array->flags, array->label); in gpio_request_array()
85 while (i--) in gpio_request_array()
86 gpio_free((--array)->gpio); in gpio_request_array()
92 * gpio_free_array - release multiple GPIOs in a single call
94 * @num: how many GPIOs in the array
98 while (num--) in gpio_free_array()
99 gpio_free((array++)->gpio); in gpio_free_array()