Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mfd/
H A Dbcm590xx.c42 struct bcm590xx *bcm590xx; in bcm590xx_i2c_probe() local
45 bcm590xx = devm_kzalloc(&i2c_pri->dev, sizeof(*bcm590xx), GFP_KERNEL); in bcm590xx_i2c_probe()
46 if (!bcm590xx) in bcm590xx_i2c_probe()
50 bcm590xx->dev = &i2c_pri->dev; in bcm590xx_i2c_probe()
51 bcm590xx->i2c_pri = i2c_pri; in bcm590xx_i2c_probe()
55 if (IS_ERR(bcm590xx->regmap_pri)) { in bcm590xx_i2c_probe()
64 if (IS_ERR(bcm590xx->i2c_sec)) { in bcm590xx_i2c_probe()
66 return PTR_ERR(bcm590xx->i2c_sec); in bcm590xx_i2c_probe()
68 i2c_set_clientdata(bcm590xx->i2c_sec, bcm590xx); in bcm590xx_i2c_probe()
70 bcm590xx->regmap_sec = devm_regmap_init_i2c(bcm590xx->i2c_sec, in bcm590xx_i2c_probe()
[all …]
H A DMakefile13 obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o
/openbmc/linux/drivers/regulator/
H A Dbcm590xx-regulator.c196 struct bcm590xx *mfd;
277 struct bcm590xx *bcm590xx = dev_get_drvdata(pdev->dev.parent); in bcm590xx_probe() local
288 pmu->mfd = bcm590xx; in bcm590xx_probe()
334 config.dev = bcm590xx->dev; in bcm590xx_probe()
337 config.regmap = bcm590xx->regmap_sec; in bcm590xx_probe()
339 config.regmap = bcm590xx->regmap_pri; in bcm590xx_probe()
344 dev_err(bcm590xx->dev, in bcm590xx_probe()
H A DMakefile32 obj-$(CONFIG_REGULATOR_BCM590XX) += bcm590xx-regulator.o
/openbmc/linux/include/linux/mfd/
H A Dbcm590xx.h20 struct bcm590xx { struct