Lines Matching refs:tps65912_gpio
33 struct tps65912_gpio_data *tps65912_gpio = to_tgd(gc); in tps65912_gpio_get() local
34 struct tps65912 *tps65912 = tps65912_gpio->tps65912; in tps65912_gpio_get()
48 struct tps65912_gpio_data *tps65912_gpio = to_tgd(gc); in tps65912_gpio_set() local
49 struct tps65912 *tps65912 = tps65912_gpio->tps65912; in tps65912_gpio_set()
62 struct tps65912_gpio_data *tps65912_gpio = to_tgd(gc); in tps65912_gpio_output() local
63 struct tps65912 *tps65912 = tps65912_gpio->tps65912; in tps65912_gpio_output()
74 struct tps65912_gpio_data *tps65912_gpio = to_tgd(gc); in tps65912_gpio_input() local
75 struct tps65912 *tps65912 = tps65912_gpio->tps65912; in tps65912_gpio_input()
97 struct tps65912_gpio_data *tps65912_gpio; in tps65912_gpio_probe() local
100 tps65912_gpio = devm_kzalloc(&pdev->dev, sizeof(*tps65912_gpio), in tps65912_gpio_probe()
102 if (tps65912_gpio == NULL) in tps65912_gpio_probe()
105 tps65912_gpio->tps65912 = tps65912; in tps65912_gpio_probe()
106 tps65912_gpio->gpio_chip = template_chip; in tps65912_gpio_probe()
107 tps65912_gpio->gpio_chip.dev = &pdev->dev; in tps65912_gpio_probe()
109 tps65912_gpio->gpio_chip.base = pdata->gpio_base; in tps65912_gpio_probe()
111 ret = gpiochip_add(&tps65912_gpio->gpio_chip); in tps65912_gpio_probe()
117 platform_set_drvdata(pdev, tps65912_gpio); in tps65912_gpio_probe()
124 struct tps65912_gpio_data *tps65912_gpio = platform_get_drvdata(pdev); in tps65912_gpio_remove() local
126 gpiochip_remove(&tps65912_gpio->gpio_chip); in tps65912_gpio_remove()