Lines Matching refs:sh_rtc
96 struct sh_rtc { struct
110 static int __sh_rtc_interrupt(struct sh_rtc *rtc) in __sh_rtc_interrupt() argument
126 static int __sh_rtc_alarm(struct sh_rtc *rtc) in __sh_rtc_alarm()
141 static int __sh_rtc_periodic(struct sh_rtc *rtc) in __sh_rtc_periodic()
167 struct sh_rtc *rtc = dev_id; in sh_rtc_interrupt()
179 struct sh_rtc *rtc = dev_id; in sh_rtc_alarm()
191 struct sh_rtc *rtc = dev_id; in sh_rtc_periodic()
203 struct sh_rtc *rtc = dev_id; in sh_rtc_shared()
217 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setaie()
236 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_proc()
251 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setcie()
276 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_read_time()
338 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_set_time()
377 static inline int sh_rtc_read_alarm_value(struct sh_rtc *rtc, int reg_off) in sh_rtc_read_alarm_value()
393 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_read_alarm()
414 static inline void sh_rtc_write_alarm_value(struct sh_rtc *rtc, in sh_rtc_write_alarm_value()
426 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_set_alarm()
470 struct sh_rtc *rtc; in sh_rtc_probe()
625 struct sh_rtc *rtc = platform_get_drvdata(pdev); in sh_rtc_remove()
635 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_set_irq_wake()