Lines Matching refs:tps
23 struct tps65219 *tps; member
34 ret = regmap_read(gpio->tps->regmap, TPS65219_REG_MFP_1_CONFIG, &val); in tps65219_gpio_get_direction()
44 struct device *dev = gpio->tps->dev; in tps65219_gpio_get()
52 ret = regmap_read(gpio->tps->regmap, TPS65219_REG_MFP_CTRL, &val); in tps65219_gpio_get()
73 struct device *dev = gpio->tps->dev; in tps65219_gpio_set()
81 if (regmap_update_bits(gpio->tps->regmap, TPS65219_REG_GENERAL_CONFIG, mask, v)) in tps65219_gpio_set()
89 struct device *dev = gpio->tps->dev; in tps65219_gpio_change_direction()
100 int ret = regmap_update_bits(gpio->tps->regmap, TPS65219_REG_MFP_1_CONFIG, in tps65219_gpio_change_direction()
120 struct device *dev = gpio->tps->dev; in tps65219_gpio_direction_input()
160 struct tps65219 *tps = dev_get_drvdata(pdev->dev.parent); in tps65219_gpio_probe() local
167 gpio->tps = tps; in tps65219_gpio_probe()
169 gpio->gpio_chip.parent = tps->dev; in tps65219_gpio_probe()