Lines Matching full:gpiochip
136 st->gpiochip.label = dev_name(st->dev); in ad5592r_gpio_init()
137 st->gpiochip.base = -1; in ad5592r_gpio_init()
138 st->gpiochip.ngpio = 8; in ad5592r_gpio_init()
139 st->gpiochip.parent = st->dev; in ad5592r_gpio_init()
140 st->gpiochip.can_sleep = true; in ad5592r_gpio_init()
141 st->gpiochip.direction_input = ad5592r_gpio_direction_input; in ad5592r_gpio_init()
142 st->gpiochip.direction_output = ad5592r_gpio_direction_output; in ad5592r_gpio_init()
143 st->gpiochip.get = ad5592r_gpio_get; in ad5592r_gpio_init()
144 st->gpiochip.set = ad5592r_gpio_set; in ad5592r_gpio_init()
145 st->gpiochip.request = ad5592r_gpio_request; in ad5592r_gpio_init()
146 st->gpiochip.owner = THIS_MODULE; in ad5592r_gpio_init()
147 st->gpiochip.names = ad5592r_gpio_names; in ad5592r_gpio_init()
151 return gpiochip_add_data(&st->gpiochip, st); in ad5592r_gpio_init()
157 gpiochip_remove(&st->gpiochip); in ad5592r_gpio_cleanup()