Searched refs:omap_rtc (Results 1 – 2 of 2) sorted by relevance
129 struct omap_rtc;136 void (*lock)(struct omap_rtc *rtc);137 void (*unlock)(struct omap_rtc *rtc);140 struct omap_rtc { struct154 static inline u8 rtc_read(struct omap_rtc *rtc, unsigned int reg) in rtc_read() argument159 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 …]
54 static struct rtc_device *omap_rtc; variable177 omap_rtc_power_off_program(&omap_rtc->dev); in am33xx_rtc_only_idle()279 nvmem = devm_nvmem_device_get(&omap_rtc->dev, in am33xx_pm_begin()308 nvmem = devm_nvmem_device_get(&omap_rtc->dev, "omap_rtc_scratch0"); in am33xx_pm_end()458 omap_rtc = rtc_class_open("rtc0"); in am33xx_pm_rtc_setup()459 if (!omap_rtc) { in am33xx_pm_rtc_setup()465 nvmem = devm_nvmem_device_get(&omap_rtc->dev, in am33xx_pm_rtc_setup()