Lines Matching refs:gc
367 struct gpio_chip *gc; in adp5588_gpio_probe() local
387 gc = &dev->gpio_chip; in adp5588_gpio_probe()
388 gc->direction_input = adp5588_gpio_direction_input; in adp5588_gpio_probe()
389 gc->direction_output = adp5588_gpio_direction_output; in adp5588_gpio_probe()
390 gc->get = adp5588_gpio_get_value; in adp5588_gpio_probe()
391 gc->set = adp5588_gpio_set_value; in adp5588_gpio_probe()
392 gc->can_sleep = true; in adp5588_gpio_probe()
394 gc->base = pdata->gpio_start; in adp5588_gpio_probe()
395 gc->ngpio = ADP5588_MAXGPIO; in adp5588_gpio_probe()
396 gc->label = client->name; in adp5588_gpio_probe()
397 gc->owner = THIS_MODULE; in adp5588_gpio_probe()
398 gc->names = pdata->names; in adp5588_gpio_probe()
437 ret = pdata->setup(client, gc->base, gc->ngpio, pdata->context); in adp5588_gpio_probe()