Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mfd/
Dtps80031.c149 static struct tps80031 *tps80031_power_off_dev;
218 static void tps80031_pupd_init(struct tps80031 *tps80031, in tps80031_pupd_init() argument
237 tps80031_update(tps80031->dev, TPS80031_SLAVE_ID1, pupd->reg, in tps80031_pupd_init()
242 static int tps80031_init_ext_control(struct tps80031 *tps80031, in tps80031_init_ext_control() argument
245 struct device *dev = tps80031->dev; in tps80031_init_ext_control()
271 static int tps80031_irq_init(struct tps80031 *tps80031, int irq, int irq_base) in tps80031_irq_init() argument
273 struct device *dev = tps80031->dev; in tps80031_irq_init()
303 ret = regmap_add_irq_chip(tps80031->regmap[TPS80031_SLAVE_ID2], irq, in tps80031_irq_init()
305 &tps80031_irq_chip, &tps80031->irq_data); in tps80031_irq_init()
421 struct tps80031 *tps80031; in tps80031_probe() local
[all …]
DMakefile106 obj-$(CONFIG_MFD_TPS80031) += tps80031.o
/Linux-v5.4/include/linux/mfd/
Dtps80031.h509 struct tps80031 { struct
550 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_write() local
552 return regmap_write(tps80031->regmap[sid], reg, val); in tps80031_write()
558 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_writes() local
560 return regmap_bulk_write(tps80031->regmap[sid], reg, val, len); in tps80031_writes()
566 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_read() local
570 ret = regmap_read(tps80031->regmap[sid], reg, &ival); in tps80031_read()
583 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_reads() local
585 return regmap_bulk_read(tps80031->regmap[sid], reg, val, len); in tps80031_reads()
591 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_set_bits() local
[all …]
/Linux-v5.4/drivers/regulator/
DMakefile129 obj-$(CONFIG_REGULATOR_TPS80031) += tps80031-regulator.o
Dtps80031-regulator.c668 struct tps80031 *tps80031_mfd = dev_get_drvdata(pdev->dev.parent); in tps80031_regulator_probe()
/Linux-v5.4/drivers/rtc/
DMakefile176 obj-$(CONFIG_RTC_DRV_TPS80031) += rtc-tps80031.o
/Linux-v5.4/include/
DKbuild348 header-test- += linux/mfd/tps80031.h