Lines Matching refs:gc
359 struct gpio_chip *gc; in adp5588_gpio_probe() local
379 gc = &dev->gpio_chip; in adp5588_gpio_probe()
380 gc->direction_input = adp5588_gpio_direction_input; in adp5588_gpio_probe()
381 gc->direction_output = adp5588_gpio_direction_output; in adp5588_gpio_probe()
382 gc->get = adp5588_gpio_get_value; in adp5588_gpio_probe()
383 gc->set = adp5588_gpio_set_value; in adp5588_gpio_probe()
384 gc->can_sleep = true; in adp5588_gpio_probe()
386 gc->base = pdata->gpio_start; in adp5588_gpio_probe()
387 gc->ngpio = ADP5588_MAXGPIO; in adp5588_gpio_probe()
388 gc->label = client->name; in adp5588_gpio_probe()
389 gc->owner = THIS_MODULE; in adp5588_gpio_probe()
390 gc->names = pdata->names; in adp5588_gpio_probe()
429 ret = pdata->setup(client, gc->base, gc->ngpio, pdata->context); in adp5588_gpio_probe()