Lines Matching refs:sh_rtc
91 struct sh_rtc { struct
105 static int __sh_rtc_interrupt(struct sh_rtc *rtc) in __sh_rtc_interrupt() argument
121 static int __sh_rtc_alarm(struct sh_rtc *rtc) in __sh_rtc_alarm()
136 static int __sh_rtc_periodic(struct sh_rtc *rtc) in __sh_rtc_periodic()
171 struct sh_rtc *rtc = dev_id; in sh_rtc_interrupt()
183 struct sh_rtc *rtc = dev_id; in sh_rtc_alarm()
195 struct sh_rtc *rtc = dev_id; in sh_rtc_periodic()
207 struct sh_rtc *rtc = dev_id; in sh_rtc_shared()
221 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_irq_set_state()
246 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_irq_set_freq()
296 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setaie()
315 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_proc()
330 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setcie()
356 struct sh_rtc *rtc = platform_get_drvdata(pdev); in sh_rtc_read_time()
416 struct sh_rtc *rtc = platform_get_drvdata(pdev); in sh_rtc_set_time()
455 static inline int sh_rtc_read_alarm_value(struct sh_rtc *rtc, int reg_off) in sh_rtc_read_alarm_value()
472 struct sh_rtc *rtc = platform_get_drvdata(pdev); in sh_rtc_read_alarm()
494 static inline void sh_rtc_write_alarm_value(struct sh_rtc *rtc, in sh_rtc_write_alarm_value()
542 struct sh_rtc *rtc = platform_get_drvdata(pdev); in sh_rtc_set_alarm()
590 struct sh_rtc *rtc; in sh_rtc_probe()
596 rtc = kzalloc(sizeof(struct sh_rtc), GFP_KERNEL); in sh_rtc_probe()
752 struct sh_rtc *rtc = platform_get_drvdata(pdev); in sh_rtc_remove()
783 struct sh_rtc *rtc = platform_get_drvdata(pdev); in sh_rtc_set_irq_wake()