Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mfd/
Dtps6105x.c32 static int tps6105x_startup(struct tps6105x *tps6105x) in tps6105x_startup() argument
37 ret = regmap_read(tps6105x->regmap, TPS6105X_REG_0, &regval); in tps6105x_startup()
42 dev_info(&tps6105x->client->dev, in tps6105x_startup()
46 dev_info(&tps6105x->client->dev, in tps6105x_startup()
50 dev_info(&tps6105x->client->dev, in tps6105x_startup()
54 dev_info(&tps6105x->client->dev, in tps6105x_startup()
84 static int tps6105x_add_device(struct tps6105x *tps6105x, in tps6105x_add_device() argument
87 cell->platform_data = tps6105x; in tps6105x_add_device()
88 cell->pdata_size = sizeof(*tps6105x); in tps6105x_add_device()
90 return mfd_add_devices(&tps6105x->client->dev, in tps6105x_add_device()
[all …]
DMakefile98 obj-$(CONFIG_TPS6105X) += tps6105x.o
/linux-6.1.9/drivers/regulator/
Dtps6105x-regulator.c60 struct tps6105x *tps6105x = dev_get_platdata(&pdev->dev); in tps6105x_regulator_probe() local
61 struct tps6105x_platform_data *pdata = tps6105x->pdata; in tps6105x_regulator_probe()
72 config.dev = &tps6105x->client->dev; in tps6105x_regulator_probe()
74 config.driver_data = tps6105x; in tps6105x_regulator_probe()
76 config.regmap = tps6105x->regmap; in tps6105x_regulator_probe()
79 tps6105x->regulator = devm_regulator_register(&pdev->dev, in tps6105x_regulator_probe()
82 if (IS_ERR(tps6105x->regulator)) { in tps6105x_regulator_probe()
83 ret = PTR_ERR(tps6105x->regulator); in tps6105x_regulator_probe()
84 dev_err(&tps6105x->client->dev, in tps6105x_regulator_probe()
88 platform_set_drvdata(pdev, tps6105x); in tps6105x_regulator_probe()
DMakefile158 obj-$(CONFIG_REGULATOR_TPS6105X) += tps6105x-regulator.o
/linux-6.1.9/drivers/leds/
Dleds-tps6105x.c38 struct tps6105x *tps6105x = dev_get_platdata(&pdev->dev); in tps6105x_led_probe() local
39 struct tps6105x_platform_data *pdata = tps6105x->pdata; in tps6105x_led_probe()
59 priv->regmap = tps6105x->regmap; in tps6105x_led_probe()
66 ret = regmap_update_bits(tps6105x->regmap, TPS6105X_REG_0, in tps6105x_led_probe()
DMakefile84 obj-$(CONFIG_LEDS_TPS6105X) += leds-tps6105x.o
/linux-6.1.9/include/linux/mfd/
Dtps6105x.h89 struct tps6105x { struct