Searched refs:tps65217 (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/mfd/
H A Dtps65217.c2 * tps65217.c
31 #include <linux/mfd/tps65217.h>
35 .name = "tps65217-pmic",
36 .of_compatible = "ti,tps65217-pmic",
39 .name = "tps65217-bl",
40 .of_compatible = "ti,tps65217-bl",
43 .name = "tps65217-charger",
44 .of_compatible = "ti,tps65217-charger",
49 * tps65217_reg_read: Read a single tps65217 register.
55 int tps65217_reg_read(struct tps65217 *tps, unsigned int reg, tps65217_reg_read()
63 * tps65217_reg_write: Write a single tps65217 register.
65 * @tps65217: Device to write to.
70 int tps65217_reg_write(struct tps65217 *tps, unsigned int reg, tps65217_reg_write()
110 * @tps65217: Device to write to.
116 static int tps65217_update_bits(struct tps65217 *tps, unsigned int reg, tps65217_update_bits()
138 int tps65217_set_bits(struct tps65217 *tps, unsigned int reg, tps65217_set_bits()
145 int tps65217_clear_bits(struct tps65217 *tps, unsigned int reg, tps65217_clear_bits()
160 { .compatible = "ti,tps65217", .data = (void *)TPS65217 },
168 struct tps65217 *tps; tps65217_probe()
240 struct tps65217 *tps = i2c_get_clientdata(client); tps65217_remove()
248 {"tps65217", TPS65217},
255 .name = "tps65217",
H A DMakefile69 obj-$(CONFIG_MFD_TPS65217) += tps65217.o
/linux-4.4.14/drivers/regulator/
H A Dtps65217-regulator.c2 * tps65217-regulator.c
28 #include <linux/mfd/tps65217.h>
73 struct tps65217 *tps = rdev_get_drvdata(dev); tps65217_pmic_enable()
87 struct tps65217 *tps = rdev_get_drvdata(dev); tps65217_pmic_disable()
102 struct tps65217 *tps = rdev_get_drvdata(dev); tps65217_pmic_set_voltage_sel()
180 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); tps65217_regulator_probe()
215 .name = "tps65217-pmic",
234 MODULE_ALIAS("platform:tps65217-pmic");
/linux-4.4.14/include/linux/mfd/
H A Dtps65217.h2 * linux/mfd/tps65217.h
249 * struct tps65217 - tps65217 sub-driver chip access routines
254 struct tps65217 { struct
262 static inline struct tps65217 *dev_to_tps65217(struct device *dev) dev_to_tps65217()
267 static inline unsigned long tps65217_chip_id(struct tps65217 *tps65217) tps65217_chip_id() argument
269 return tps65217->id; tps65217_chip_id()
272 int tps65217_reg_read(struct tps65217 *tps, unsigned int reg,
274 int tps65217_reg_write(struct tps65217 *tps, unsigned int reg,
276 int tps65217_set_bits(struct tps65217 *tps, unsigned int reg,
278 int tps65217_clear_bits(struct tps65217 *tps, unsigned int reg,
/linux-4.4.14/drivers/power/
H A Dtps65217_charger.c2 * Battery charger driver for TI's tps65217
20 * Battery charger driver for TI's tps65217
36 #include <linux/mfd/tps65217.h>
41 struct tps65217 *tps;
62 * tps65217 rev. G, p. 31 (see p. 32 for NTC schematic) tps65217_config_charger()
189 .name = "tps65217-ac",
198 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); tps65217_charger_probe()
246 { .compatible = "ti,tps65217-charger", },
255 .name = "tps65217-charger",
/linux-4.4.14/drivers/video/backlight/
H A Dtps65217_bl.c23 #include <linux/mfd/tps65217.h>
29 struct tps65217 *tps;
186 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); tps65217_bl_parse_dt()
273 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); tps65217_bl_probe()
326 .name = "tps65217-bl",

Completed in 593 milliseconds