Searched refs:mt2712_rtc (Results 1 – 1 of 1) sorted by relevance
77 struct mt2712_rtc { struct85 static inline u32 mt2712_readl(struct mt2712_rtc *mt2712_rtc, u32 reg) in mt2712_readl() argument87 return readl(mt2712_rtc->base + reg); in mt2712_readl()90 static inline void mt2712_writel(struct mt2712_rtc *mt2712_rtc, in mt2712_writel() argument93 writel(val, mt2712_rtc->base + reg); in mt2712_writel()96 static void mt2712_rtc_write_trigger(struct mt2712_rtc *mt2712_rtc) in mt2712_rtc_write_trigger() argument100 mt2712_writel(mt2712_rtc, MT2712_WRTGR, 1); in mt2712_rtc_write_trigger()102 if (!(mt2712_readl(mt2712_rtc, MT2712_BBPU) in mt2712_rtc_write_trigger()107 dev_err(&mt2712_rtc->rtc->dev, in mt2712_rtc_write_trigger()115 static void mt2712_rtc_writeif_unlock(struct mt2712_rtc *mt2712_rtc) in mt2712_rtc_writeif_unlock() argument[all …]