Lines Matching refs:gchip
12 struct gpio_chip gchip; member
79 struct irq_domain *irqdomain = ddata->gchip.irq.domain; in gpio_siox_get_data()
147 container_of(chip, struct gpio_siox_ddata, gchip); in gpio_siox_get()
171 container_of(chip, struct gpio_siox_ddata, gchip); in gpio_siox_set()
227 ddata->gchip.base = -1; in gpio_siox_probe()
228 ddata->gchip.can_sleep = 1; in gpio_siox_probe()
229 ddata->gchip.parent = dev; in gpio_siox_probe()
230 ddata->gchip.owner = THIS_MODULE; in gpio_siox_probe()
231 ddata->gchip.get = gpio_siox_get; in gpio_siox_probe()
232 ddata->gchip.set = gpio_siox_set; in gpio_siox_probe()
233 ddata->gchip.direction_input = gpio_siox_direction_input; in gpio_siox_probe()
234 ddata->gchip.direction_output = gpio_siox_direction_output; in gpio_siox_probe()
235 ddata->gchip.get_direction = gpio_siox_get_direction; in gpio_siox_probe()
236 ddata->gchip.ngpio = 20; in gpio_siox_probe()
244 girq = &ddata->gchip.irq; in gpio_siox_probe()
250 ret = devm_gpiochip_add_data(dev, &ddata->gchip, NULL); in gpio_siox_probe()