Lines Matching refs:tps6105x

32 	struct tps6105x *tps6105x = rdev_get_drvdata(rdev);  in tps6105x_regulator_enable()  local
36 ret = regmap_update_bits(tps6105x->regmap, TPS6105X_REG_0, in tps6105x_regulator_enable()
47 struct tps6105x *tps6105x = rdev_get_drvdata(rdev); in tps6105x_regulator_disable() local
51 ret = regmap_update_bits(tps6105x->regmap, TPS6105X_REG_0, in tps6105x_regulator_disable()
62 struct tps6105x *tps6105x = rdev_get_drvdata(rdev); in tps6105x_regulator_is_enabled() local
66 ret = regmap_read(tps6105x->regmap, TPS6105X_REG_0, &regval); in tps6105x_regulator_is_enabled()
80 struct tps6105x *tps6105x = rdev_get_drvdata(rdev); in tps6105x_regulator_get_voltage_sel() local
84 ret = regmap_read(tps6105x->regmap, TPS6105X_REG_0, &regval); in tps6105x_regulator_get_voltage_sel()
96 struct tps6105x *tps6105x = rdev_get_drvdata(rdev); in tps6105x_regulator_set_voltage_sel() local
99 ret = regmap_update_bits(tps6105x->regmap, TPS6105X_REG_0, in tps6105x_regulator_set_voltage_sel()
132 struct tps6105x *tps6105x = dev_get_platdata(&pdev->dev); in tps6105x_regulator_probe() local
133 struct tps6105x_platform_data *pdata = tps6105x->pdata; in tps6105x_regulator_probe()
144 config.dev = &tps6105x->client->dev; in tps6105x_regulator_probe()
146 config.driver_data = tps6105x; in tps6105x_regulator_probe()
149 tps6105x->regulator = devm_regulator_register(&pdev->dev, in tps6105x_regulator_probe()
152 if (IS_ERR(tps6105x->regulator)) { in tps6105x_regulator_probe()
153 ret = PTR_ERR(tps6105x->regulator); in tps6105x_regulator_probe()
154 dev_err(&tps6105x->client->dev, in tps6105x_regulator_probe()
158 platform_set_drvdata(pdev, tps6105x); in tps6105x_regulator_probe()