Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mfd/
Dbcm590xx.c48 struct bcm590xx *bcm590xx; in bcm590xx_i2c_probe() local
51 bcm590xx = devm_kzalloc(&i2c_pri->dev, sizeof(*bcm590xx), GFP_KERNEL); in bcm590xx_i2c_probe()
52 if (!bcm590xx) in bcm590xx_i2c_probe()
55 i2c_set_clientdata(i2c_pri, bcm590xx); in bcm590xx_i2c_probe()
56 bcm590xx->dev = &i2c_pri->dev; in bcm590xx_i2c_probe()
57 bcm590xx->i2c_pri = i2c_pri; in bcm590xx_i2c_probe()
59 bcm590xx->regmap_pri = devm_regmap_init_i2c(i2c_pri, in bcm590xx_i2c_probe()
61 if (IS_ERR(bcm590xx->regmap_pri)) { in bcm590xx_i2c_probe()
62 ret = PTR_ERR(bcm590xx->regmap_pri); in bcm590xx_i2c_probe()
68 bcm590xx->i2c_sec = i2c_new_dummy(i2c_pri->adapter, in bcm590xx_i2c_probe()
[all …]
DMakefile13 obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o
/Linux-v4.19/drivers/regulator/
Dbcm590xx-regulator.c204 struct bcm590xx *mfd;
365 struct bcm590xx *bcm590xx = dev_get_drvdata(pdev->dev.parent); in bcm590xx_probe() local
382 pmu->mfd = bcm590xx; in bcm590xx_probe()
431 config.dev = bcm590xx->dev; in bcm590xx_probe()
435 config.regmap = bcm590xx->regmap_sec; in bcm590xx_probe()
437 config.regmap = bcm590xx->regmap_pri; in bcm590xx_probe()
445 dev_err(bcm590xx->dev, in bcm590xx_probe()
DMakefile29 obj-$(CONFIG_REGULATOR_BCM590XX) += bcm590xx-regulator.o
/Linux-v4.19/include/linux/mfd/
Dbcm590xx.h25 struct bcm590xx { struct