Searched refs:omap_rtc (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-omap.c | 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() 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 *rt [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-omap.c | 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() 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 *rt [all...] |
/kernel/linux/linux-5.10/drivers/soc/ti/ |
H A D | pm33xx.c | 54 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()
|
/kernel/linux/linux-6.6/drivers/soc/ti/ |
H A D | pm33xx.c | 54 static struct rtc_device *omap_rtc; variable 177 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()
|
Completed in 4 milliseconds