Searched refs:bcm590xx (Results 1 – 5 of 5) sorted by relevance
42 struct bcm590xx *bcm590xx; in bcm590xx_i2c_probe() local45 bcm590xx = devm_kzalloc(&i2c_pri->dev, sizeof(*bcm590xx), GFP_KERNEL); in bcm590xx_i2c_probe()46 if (!bcm590xx) in bcm590xx_i2c_probe()49 i2c_set_clientdata(i2c_pri, 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()53 bcm590xx->regmap_pri = devm_regmap_init_i2c(i2c_pri, in bcm590xx_i2c_probe()55 if (IS_ERR(bcm590xx->regmap_pri)) { in bcm590xx_i2c_probe()56 ret = PTR_ERR(bcm590xx->regmap_pri); in bcm590xx_i2c_probe()62 bcm590xx->i2c_sec = i2c_new_dummy_device(i2c_pri->adapter, in bcm590xx_i2c_probe()[all …]
13 obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o
196 struct bcm590xx *mfd;277 struct bcm590xx *bcm590xx = dev_get_drvdata(pdev->dev.parent); in bcm590xx_probe() local288 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()
32 obj-$(CONFIG_REGULATOR_BCM590XX) += bcm590xx-regulator.o
20 struct bcm590xx { struct