Lines Matching defs:array
70 * @array: array of the 'struct gpio'
71 * @num: how many GPIOs in the array
73 int gpio_request_array(const struct gpio *array, size_t num)
77 for (i = 0; i < num; i++, array++) {
78 err = gpio_request_one(array->gpio, array->flags, array->label);
86 gpio_free((--array)->gpio);
93 * @array: array of the 'struct gpio'
94 * @num: how many GPIOs in the array
96 void gpio_free_array(const struct gpio *array, size_t num)
99 gpio_free((array++)->gpio);