Searched refs:tps_rtc (Results 1 – 1 of 1) sorted by relevance
195 struct tps65910_rtc *tps_rtc = dev_get_drvdata(dev); in tps65910_rtc_interrupt() local211 rtc_update_irq(tps_rtc->rtc, 1, events); in tps65910_rtc_interrupt()227 struct tps65910_rtc *tps_rtc = NULL; in tps65910_rtc_probe() local234 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()[all …]