Lines Matching refs:tps65910
3 * rtc-tps65910.c -- TPS65910 Real Time Clock interface
24 #include <linux/mfd/tps65910.h>
50 struct tps65910 *tps = dev_get_drvdata(dev->parent);
60 * Gets current tps65910 RTC time and date parameters.
71 struct tps65910 *tps = dev_get_drvdata(dev->parent);
102 struct tps65910 *tps = dev_get_drvdata(dev->parent);
138 * Gets current tps65910 RTC alarm time.
144 struct tps65910 *tps = dev_get_drvdata(dev->parent);
174 struct tps65910 *tps = dev_get_drvdata(dev->parent);
205 struct tps65910 *tps = dev_get_drvdata(dev->parent);
250 struct tps65910 *tps = dev_get_drvdata(dev->parent);
333 struct tps65910 *tps = dev_get_drvdata(dev->parent);
367 struct tps65910 *tps65910 = NULL;
373 tps65910 = dev_get_drvdata(pdev->dev.parent);
385 ret = regmap_read(tps65910->regmap, TPS65910_RTC_STATUS, &rtc_reg);
389 ret = regmap_write(tps65910->regmap, TPS65910_RTC_STATUS, rtc_reg);
393 dev_dbg(&pdev->dev, "Enabling rtc-tps65910.\n");
396 ret = regmap_update_bits(tps65910->regmap, TPS65910_DEVCTRL,
402 ret = regmap_write(tps65910->regmap, TPS65910_RTC_CTRL, rtc_reg);
420 if (device_property_present(tps65910->dev, "wakeup-source"))
461 .name = "tps65910-rtc",
467 MODULE_ALIAS("platform:tps65910-rtc");