Home
last modified time | relevance | path

Searched refs:omap_rtc (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-omap.c129 struct omap_rtc;
136 void (*lock)(struct omap_rtc *rtc);
137 void (*unlock)(struct omap_rtc *rtc);
140 struct omap_rtc { struct
154 static inline u8 rtc_read(struct omap_rtc *rtc, unsigned int reg) in rtc_read() argument
159 static inline u32 rtc_readl(struct omap_rtc *rtc, unsigned int reg) in rtc_readl()
164 static inline void rtc_write(struct omap_rtc *rtc, unsigned int reg, u8 val) in rtc_write()
169 static inline void rtc_writel(struct omap_rtc *rtc, unsigned int reg, u32 val) in rtc_writel()
174 static void am3352_rtc_unlock(struct omap_rtc *rtc) in am3352_rtc_unlock()
180 static void am3352_rtc_lock(struct omap_rtc *rtc) in am3352_rtc_lock()
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/ti/
H A Dpm33xx.c53 static struct rtc_device *omap_rtc; variable
178 omap_rtc_power_off_program(&omap_rtc->dev); in am33xx_rtc_only_idle()
280 nvmem = devm_nvmem_device_get(&omap_rtc->dev, in am33xx_pm_begin()
309 nvmem = devm_nvmem_device_get(&omap_rtc->dev, "omap_rtc_scratch0"); in am33xx_pm_end()
459 omap_rtc = rtc_class_open("rtc0"); in am33xx_pm_rtc_setup()
460 if (!omap_rtc) { in am33xx_pm_rtc_setup()
466 nvmem = devm_nvmem_device_get(&omap_rtc->dev, in am33xx_pm_rtc_setup()