Searched refs:omap_rtc (Results 1 – 2 of 2) sorted by relevance
130 struct omap_rtc;137 void (*lock)(struct omap_rtc *rtc);138 void (*unlock)(struct omap_rtc *rtc);141 struct omap_rtc { struct155 static inline u8 rtc_read(struct omap_rtc *rtc, unsigned int reg) in rtc_read() argument160 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 …]
54 static struct rtc_device *omap_rtc; variable179 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()