Searched refs:tps_rtc (Results 1 – 1 of 1) sorted by relevance
196 struct tps65910_rtc *tps_rtc = dev_get_drvdata(dev); in tps65910_rtc_interrupt() local212 rtc_update_irq(tps_rtc->rtc, 1, events); in tps65910_rtc_interrupt()228 struct tps65910_rtc *tps_rtc = NULL; in tps65910_rtc_probe() local235 tps_rtc = devm_kzalloc(&pdev->dev, sizeof(struct tps65910_rtc), in tps65910_rtc_probe()237 if (!tps_rtc) in tps65910_rtc_probe()276 tps_rtc->irq = irq; in tps65910_rtc_probe()279 tps_rtc->rtc = devm_rtc_device_register(&pdev->dev, pdev->name, in tps65910_rtc_probe()281 if (IS_ERR(tps_rtc->rtc)) { in tps65910_rtc_probe()282 ret = PTR_ERR(tps_rtc->rtc); in tps65910_rtc_probe()287 platform_set_drvdata(pdev, tps_rtc); in tps65910_rtc_probe()[all …]