Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-omap.c130 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()
[all …]
/drivers/soc/ti/
Dpm33xx.c54 static struct rtc_device *omap_rtc; variable
179 omap_rtc_power_off_program(&omap_rtc->dev); in am33xx_rtc_only_idle()
281 nvmem = devm_nvmem_device_get(&omap_rtc->dev, in am33xx_pm_begin()
310 nvmem = devm_nvmem_device_get(&omap_rtc->dev, "omap_rtc_scratch0"); in am33xx_pm_end()
460 omap_rtc = rtc_class_open("rtc0"); in am33xx_pm_rtc_setup()
461 if (!omap_rtc) { in am33xx_pm_rtc_setup()
467 nvmem = devm_nvmem_device_get(&omap_rtc->dev, in am33xx_pm_rtc_setup()