Lines Matching refs:reg
148 void ath79_ddr_wb_flush(unsigned int reg);
154 static inline void ath79_pll_wr(unsigned reg, u32 val)
156 __raw_writel(val, ath79_pll_base + reg);
159 static inline u32 ath79_pll_rr(unsigned reg)
161 return __raw_readl(ath79_pll_base + reg);
164 static inline void ath79_reset_wr(unsigned reg, u32 val)
166 __raw_writel(val, ath79_reset_base + reg);
167 (void) __raw_readl(ath79_reset_base + reg); /* flush */
170 static inline u32 ath79_reset_rr(unsigned reg)
172 return __raw_readl(ath79_reset_base + reg);