Lines Matching defs:tps68470_gpio

31 	struct tps68470_gpio_data *tps68470_gpio = gpiochip_get_data(gc);
32 struct regmap *regmap = tps68470_gpio->tps68470_regmap;
43 dev_err(tps68470_gpio->gc.parent, "reg 0x%x read failed\n",
53 struct tps68470_gpio_data *tps68470_gpio = gpiochip_get_data(gc);
54 struct regmap *regmap = tps68470_gpio->tps68470_regmap;
63 dev_err(tps68470_gpio->gc.parent, "reg 0x%x read failed\n",
76 struct tps68470_gpio_data *tps68470_gpio = gpiochip_get_data(gc);
77 struct regmap *regmap = tps68470_gpio->tps68470_regmap;
91 struct tps68470_gpio_data *tps68470_gpio = gpiochip_get_data(gc);
92 struct regmap *regmap = tps68470_gpio->tps68470_regmap;
108 struct tps68470_gpio_data *tps68470_gpio = gpiochip_get_data(gc);
109 struct regmap *regmap = tps68470_gpio->tps68470_regmap;
127 struct tps68470_gpio_data *tps68470_gpio;
130 tps68470_gpio = devm_kzalloc(&pdev->dev, sizeof(*tps68470_gpio),
132 if (!tps68470_gpio)
135 tps68470_gpio->tps68470_regmap = dev_get_drvdata(pdev->dev.parent);
136 tps68470_gpio->gc.label = "tps68470-gpio";
137 tps68470_gpio->gc.owner = THIS_MODULE;
138 tps68470_gpio->gc.direction_input = tps68470_gpio_input;
139 tps68470_gpio->gc.direction_output = tps68470_gpio_output;
140 tps68470_gpio->gc.get = tps68470_gpio_get;
141 tps68470_gpio->gc.get_direction = tps68470_gpio_get_direction;
142 tps68470_gpio->gc.set = tps68470_gpio_set;
143 tps68470_gpio->gc.can_sleep = true;
144 tps68470_gpio->gc.names = tps68470_names;
145 tps68470_gpio->gc.ngpio = TPS68470_N_GPIO;
146 tps68470_gpio->gc.base = -1;
147 tps68470_gpio->gc.parent = &pdev->dev;
149 ret = devm_gpiochip_add_data(&pdev->dev, &tps68470_gpio->gc,
150 tps68470_gpio);
156 platform_set_drvdata(pdev, tps68470_gpio);