Searched refs:max8907 (Results 1 – 9 of 9) sorted by relevance
176 static struct max8907 *max8907_pm_off;185 struct max8907 *max8907; in max8907_i2c_probe() local196 max8907 = devm_kzalloc(&i2c->dev, sizeof(struct max8907), GFP_KERNEL); in max8907_i2c_probe()197 if (!max8907) { in max8907_i2c_probe()202 max8907->dev = &i2c->dev; in max8907_i2c_probe()203 max8907->i2c_gen = i2c; in max8907_i2c_probe()204 i2c_set_clientdata(i2c, max8907); in max8907_i2c_probe()205 max8907->regmap_gen = devm_regmap_init_i2c(i2c, in max8907_i2c_probe()207 if (IS_ERR(max8907->regmap_gen)) { in max8907_i2c_probe()208 ret = PTR_ERR(max8907->regmap_gen); in max8907_i2c_probe()[all …]
173 obj-$(CONFIG_MFD_MAX8907) += max8907.o
40 struct max8907 *max8907; member176 struct max8907 *max8907 = dev_get_drvdata(pdev->dev.parent); in max8907_rtc_probe() local185 rtc->max8907 = max8907; in max8907_rtc_probe()186 rtc->regmap = max8907->regmap_rtc; in max8907_rtc_probe()196 rtc->irq = regmap_irq_get_virq(max8907->irqc_rtc, in max8907_rtc_probe()
100 obj-$(CONFIG_RTC_DRV_MAX8907) += rtc-max8907.o
354 will be called rtc-max8907.
4 - compatible: "maxim,max8907"32 max8907@3c {33 compatible = "maxim,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()
82 obj-$(CONFIG_REGULATOR_MAX8907) += max8907-regulator.o
237 struct max8907 { struct