Lines Matching defs:gc
94 struct gpio_chip *gc;
125 gc = &dev->gpio_chip;
126 gc->direction_input = adp5520_gpio_direction_input;
127 gc->direction_output = adp5520_gpio_direction_output;
128 gc->get = adp5520_gpio_get_value;
129 gc->set = adp5520_gpio_set_value;
130 gc->can_sleep = 1;
132 gc->base = pdata->gpio_start;
133 gc->ngpio = gpios;
134 gc->label = pdev->name;
135 gc->owner = THIS_MODULE;