Lines Matching defs:gc
133 struct gpio_chip *gc;
155 gc = &dev->gpio_chip;
156 gc->direction_input = adp5588_gpio_direction_input;
157 gc->direction_output = adp5588_gpio_direction_output;
158 gc->get = adp5588_gpio_get_value;
159 gc->set = adp5588_gpio_set_value;
160 gc->can_sleep = 1;
162 gc->base = pdata->gpio_start;
163 gc->ngpio = MAXGPIO;
164 gc->label = client->name;
165 gc->owner = THIS_MODULE;
192 gc->base, gc->base + gc->ngpio - 1,
196 ret = pdata->setup(client, gc->base, gc->ngpio, pdata->context);