Lines Matching refs:reg
59 void ath79_ddr_wb_flush(u32 reg) in ath79_ddr_wb_flush() argument
61 void __iomem *flush_reg = ath79_ddr_wb_flush_base + reg; in ath79_ddr_wb_flush()
93 u32 reg; in ath79_device_reset_set() local
97 reg = AR71XX_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
99 reg = AR724X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
101 reg = AR913X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
103 reg = AR933X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
105 reg = AR934X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
107 reg = QCA955X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
112 t = ath79_reset_rr(reg); in ath79_device_reset_set()
113 ath79_reset_wr(reg, t | mask); in ath79_device_reset_set()
121 u32 reg; in ath79_device_reset_clear() local
125 reg = AR71XX_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
127 reg = AR724X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
129 reg = AR913X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
131 reg = AR933X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
133 reg = AR934X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
135 reg = QCA955X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
140 t = ath79_reset_rr(reg); in ath79_device_reset_clear()
141 ath79_reset_wr(reg, t & ~mask); in ath79_device_reset_clear()