Home
last modified time | relevance | path

Searched refs:tps6105x (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/drivers/mfd/
Dtps6105x.c34 static int tps6105x_startup(struct tps6105x *tps6105x) in tps6105x_startup() argument
39 ret = regmap_read(tps6105x->regmap, TPS6105X_REG_0, &regval); in tps6105x_startup()
44 dev_info(&tps6105x->client->dev, in tps6105x_startup()
48 dev_info(&tps6105x->client->dev, in tps6105x_startup()
52 dev_info(&tps6105x->client->dev, in tps6105x_startup()
56 dev_info(&tps6105x->client->dev, in tps6105x_startup()
86 static int tps6105x_add_device(struct tps6105x *tps6105x, in tps6105x_add_device() argument
89 cell->platform_data = tps6105x; in tps6105x_add_device()
90 cell->pdata_size = sizeof(*tps6105x); in tps6105x_add_device()
92 return mfd_add_devices(&tps6105x->client->dev, in tps6105x_add_device()
[all …]
DMakefile66 obj-$(CONFIG_TPS6105X) += tps6105x.o
/linux-4.4.14/drivers/regulator/
Dtps6105x-regulator.c32 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()
[all …]
DMakefile84 obj-$(CONFIG_REGULATOR_TPS6105X) += tps6105x-regulator.o
/linux-4.4.14/include/linux/mfd/
Dtps6105x.h90 struct tps6105x { struct