Lines Matching refs:tps_rtc
195 struct tps65910_rtc *tps_rtc = dev_get_drvdata(dev); in tps65910_rtc_interrupt() local
211 rtc_update_irq(tps_rtc->rtc, 1, events); in tps65910_rtc_interrupt()
227 struct tps65910_rtc *tps_rtc = NULL; in tps65910_rtc_probe() local
234 tps_rtc = devm_kzalloc(&pdev->dev, sizeof(struct tps65910_rtc), in tps65910_rtc_probe()
236 if (!tps_rtc) in tps65910_rtc_probe()
261 platform_set_drvdata(pdev, tps_rtc); in tps65910_rtc_probe()
277 tps_rtc->irq = irq; in tps65910_rtc_probe()
280 tps_rtc->rtc = devm_rtc_device_register(&pdev->dev, pdev->name, in tps65910_rtc_probe()
282 if (IS_ERR(tps_rtc->rtc)) { in tps65910_rtc_probe()
283 ret = PTR_ERR(tps_rtc->rtc); in tps65910_rtc_probe()
305 struct tps65910_rtc *tps_rtc = dev_get_drvdata(dev); in tps65910_rtc_suspend() local
308 enable_irq_wake(tps_rtc->irq); in tps65910_rtc_suspend()
314 struct tps65910_rtc *tps_rtc = dev_get_drvdata(dev); in tps65910_rtc_resume() local
317 disable_irq_wake(tps_rtc->irq); in tps65910_rtc_resume()