Lines Matching refs:reg
56 void ath79_ddr_wb_flush(u32 reg) in ath79_ddr_wb_flush() argument
58 void __iomem *flush_reg = ath79_ddr_wb_flush_base + (reg * 4); in ath79_ddr_wb_flush()
90 u32 reg; in ath79_device_reset_set() local
94 reg = AR71XX_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
96 reg = AR724X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
98 reg = AR913X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
100 reg = AR933X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
102 reg = AR934X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
104 reg = QCA953X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
106 reg = QCA955X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
108 reg = QCA956X_RESET_REG_RESET_MODULE; in ath79_device_reset_set()
113 t = ath79_reset_rr(reg); in ath79_device_reset_set()
114 ath79_reset_wr(reg, t | mask); in ath79_device_reset_set()
122 u32 reg; in ath79_device_reset_clear() local
126 reg = AR71XX_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
128 reg = AR724X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
130 reg = AR913X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
132 reg = AR933X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
134 reg = AR934X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
136 reg = QCA953X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
138 reg = QCA955X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
140 reg = QCA956X_RESET_REG_RESET_MODULE; in ath79_device_reset_clear()
145 t = ath79_reset_rr(reg); in ath79_device_reset_clear()
146 ath79_reset_wr(reg, t & ~mask); in ath79_device_reset_clear()