Lines Matching refs:tps65218_gpio
18 struct tps65218_gpio { struct
25 struct tps65218_gpio *tps65218_gpio = gpiochip_get_data(gc); in tps65218_gpio_get() argument
26 struct tps65218 *tps65218 = tps65218_gpio->tps65218; in tps65218_gpio_get()
40 struct tps65218_gpio *tps65218_gpio = gpiochip_get_data(gc); in tps65218_gpio_set() local
41 struct tps65218 *tps65218 = tps65218_gpio->tps65218; in tps65218_gpio_set()
69 struct tps65218_gpio *tps65218_gpio = gpiochip_get_data(gc); in tps65218_gpio_request() local
70 struct tps65218 *tps65218 = tps65218_gpio->tps65218; in tps65218_gpio_request()
141 struct tps65218_gpio *tps65218_gpio = gpiochip_get_data(gc); in tps65218_gpio_set_config() local
142 struct tps65218 *tps65218 = tps65218_gpio->tps65218; in tps65218_gpio_set_config()
189 struct tps65218_gpio *tps65218_gpio; in tps65218_gpio_probe() local
192 tps65218_gpio = devm_kzalloc(&pdev->dev, sizeof(*tps65218_gpio), in tps65218_gpio_probe()
194 if (!tps65218_gpio) in tps65218_gpio_probe()
197 tps65218_gpio->tps65218 = tps65218; in tps65218_gpio_probe()
198 tps65218_gpio->gpio_chip = template_chip; in tps65218_gpio_probe()
199 tps65218_gpio->gpio_chip.parent = &pdev->dev; in tps65218_gpio_probe()
201 tps65218_gpio->gpio_chip.of_node = pdev->dev.of_node; in tps65218_gpio_probe()
204 ret = devm_gpiochip_add_data(&pdev->dev, &tps65218_gpio->gpio_chip, in tps65218_gpio_probe()
205 tps65218_gpio); in tps65218_gpio_probe()
211 platform_set_drvdata(pdev, tps65218_gpio); in tps65218_gpio_probe()