Lines Matching full:gpiochip
48 struct gpio_chip gpiochip; member
158 data->gpiochip.label = dev_name(dev); in ltc4306_gpio_init()
159 data->gpiochip.base = -1; in ltc4306_gpio_init()
160 data->gpiochip.ngpio = data->chip->num_gpios; in ltc4306_gpio_init()
161 data->gpiochip.parent = dev; in ltc4306_gpio_init()
162 data->gpiochip.can_sleep = true; in ltc4306_gpio_init()
163 data->gpiochip.get_direction = ltc4306_gpio_get_direction; in ltc4306_gpio_init()
164 data->gpiochip.direction_input = ltc4306_gpio_direction_input; in ltc4306_gpio_init()
165 data->gpiochip.direction_output = ltc4306_gpio_direction_output; in ltc4306_gpio_init()
166 data->gpiochip.get = ltc4306_gpio_get; in ltc4306_gpio_init()
167 data->gpiochip.set = ltc4306_gpio_set; in ltc4306_gpio_init()
168 data->gpiochip.set_config = ltc4306_gpio_set_config; in ltc4306_gpio_init()
169 data->gpiochip.owner = THIS_MODULE; in ltc4306_gpio_init()
174 return devm_gpiochip_add_data(dev, &data->gpiochip, data); in ltc4306_gpio_init()