Lines Matching refs:omap_rtc

130 struct omap_rtc;
137 void (*lock)(struct omap_rtc *rtc);
138 void (*unlock)(struct omap_rtc *rtc);
141 struct omap_rtc { struct
155 static inline u8 rtc_read(struct omap_rtc *rtc, unsigned int reg) in rtc_read() argument
160 static inline u32 rtc_readl(struct omap_rtc *rtc, unsigned int reg) in rtc_readl()
165 static inline void rtc_write(struct omap_rtc *rtc, unsigned int reg, u8 val) in rtc_write()
170 static inline void rtc_writel(struct omap_rtc *rtc, unsigned int reg, u32 val) in rtc_writel()
175 static void am3352_rtc_unlock(struct omap_rtc *rtc) in am3352_rtc_unlock()
181 static void am3352_rtc_lock(struct omap_rtc *rtc) in am3352_rtc_lock()
187 static void default_rtc_unlock(struct omap_rtc *rtc) in default_rtc_unlock()
191 static void default_rtc_lock(struct omap_rtc *rtc) in default_rtc_lock()
200 static void rtc_wait_not_busy(struct omap_rtc *rtc) in rtc_wait_not_busy()
217 struct omap_rtc *rtc = dev_id; in rtc_irq()
242 struct omap_rtc *rtc = dev_get_drvdata(dev); in omap_rtc_alarm_irq_enable()
292 static void omap_rtc_read_time_raw(struct omap_rtc *rtc, struct rtc_time *tm) in omap_rtc_read_time_raw()
304 struct omap_rtc *rtc = dev_get_drvdata(dev); in omap_rtc_read_time()
319 struct omap_rtc *rtc = dev_get_drvdata(dev); in omap_rtc_set_time()
342 struct omap_rtc *rtc = dev_get_drvdata(dev); in omap_rtc_read_alarm()
367 struct omap_rtc *rtc = dev_get_drvdata(dev); in omap_rtc_set_alarm()
404 static struct omap_rtc *omap_rtc_power_off_rtc;
413 struct omap_rtc *rtc = omap_rtc_power_off_rtc; in omap_rtc_power_off_program()
601 struct omap_rtc *rtc = pinctrl_dev_get_drvdata(pctldev); in rtc_pinconf_get()
630 struct omap_rtc *rtc = pinctrl_dev_get_drvdata(pctldev); in rtc_pinconf_set()
691 struct omap_rtc *rtc = priv; in omap_rtc_scratch_read()
705 struct omap_rtc *rtc = priv; in omap_rtc_scratch_write()
729 struct omap_rtc *rtc; in omap_rtc_probe()
921 struct omap_rtc *rtc = platform_get_drvdata(pdev); in omap_rtc_remove()
959 struct omap_rtc *rtc = dev_get_drvdata(dev); in omap_rtc_suspend()
982 struct omap_rtc *rtc = dev_get_drvdata(dev); in omap_rtc_resume()
998 struct omap_rtc *rtc = dev_get_drvdata(dev); in omap_rtc_runtime_suspend()
1013 struct omap_rtc *rtc = platform_get_drvdata(pdev); in omap_rtc_shutdown()