Lines Matching defs:array
82 * @array: array of the 'struct gpio'
83 * @num: how many GPIOs in the array
85 int gpio_request_array(const struct gpio *array, size_t num)
89 for (i = 0; i < num; i++, array++) {
90 err = gpio_request_one(array->gpio, array->flags, array->label);
98 gpio_free((--array)->gpio);
105 * @array: array of the 'struct gpio'
106 * @num: how many GPIOs in the array
108 void gpio_free_array(const struct gpio *array, size_t num)
111 gpio_free((array++)->gpio);