Searched refs:max8907 (Results 1 – 7 of 7) sorted by relevance
177 static struct max8907 *max8907_pm_off;187 struct max8907 *max8907; in max8907_i2c_probe() local198 max8907 = devm_kzalloc(&i2c->dev, sizeof(struct max8907), GFP_KERNEL); in max8907_i2c_probe()199 if (!max8907) { in max8907_i2c_probe()204 max8907->dev = &i2c->dev; in max8907_i2c_probe()205 dev_set_drvdata(max8907->dev, max8907); in max8907_i2c_probe()207 max8907->i2c_gen = i2c; in max8907_i2c_probe()208 i2c_set_clientdata(i2c, max8907); in max8907_i2c_probe()209 max8907->regmap_gen = devm_regmap_init_i2c(i2c, in max8907_i2c_probe()211 if (IS_ERR(max8907->regmap_gen)) { in max8907_i2c_probe()[all …]
166 obj-$(CONFIG_MFD_MAX8907) += max8907.o
41 struct max8907 *max8907; member177 struct max8907 *max8907 = dev_get_drvdata(pdev->dev.parent); in max8907_rtc_probe() local186 rtc->max8907 = max8907; in max8907_rtc_probe()187 rtc->regmap = max8907->regmap_rtc; in max8907_rtc_probe()197 rtc->irq = regmap_irq_get_virq(max8907->irqc_rtc, in max8907_rtc_probe()
102 obj-$(CONFIG_RTC_DRV_MAX8907) += rtc-max8907.o
334 will be called rtc-max8907.
276 struct max8907 *max8907 = dev_get_drvdata(pdev->dev.parent); in max8907_regulator_probe() local277 struct max8907_platform_data *pdata = dev_get_platdata(max8907->dev); in max8907_regulator_probe()299 ret = regmap_read(max8907->regmap_gen, MAX8907_REG_II2RR, &val); in max8907_regulator_probe()321 config.regmap = max8907->regmap_gen; in max8907_regulator_probe()
67 obj-$(CONFIG_REGULATOR_MAX8907) += max8907-regulator.o