Lines Matching refs:reg

61 #define PRR_PRODUCT_ERR(reg)				\  argument
64 "initialize not supported.\n", reg); \
68 #define PRR_CUT_ERR(reg) \ argument
71 "initialize not supported.\n", reg); \
77 uint32_t reg; in rcar_qos_init() local
90 reg = mmio_read_32(PRR); in rcar_qos_init()
92 switch (reg & PRR_PRODUCT_MASK) { in rcar_qos_init()
95 switch (reg & PRR_CUT_MASK) { in rcar_qos_init()
111 switch (reg & PRR_CUT_MASK) { in rcar_qos_init()
118 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
123 switch (reg & PRR_CUT_MASK) { in rcar_qos_init()
136 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
141 switch (reg & PRR_CUT_MASK) { in rcar_qos_init()
148 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
153 switch (reg & PRR_CUT_MASK) { in rcar_qos_init()
161 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
166 switch (reg & PRR_CUT_MASK) { in rcar_qos_init()
173 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
178 switch (reg & PRR_CUT_MASK) { in rcar_qos_init()
185 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
189 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
197 != (reg & (PRR_PRODUCT_MASK | PRR_CUT_MASK))) { in rcar_qos_init()
198 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
204 != (reg & (PRR_PRODUCT_MASK | PRR_CUT_MASK))) { in rcar_qos_init()
205 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
211 != (reg & (PRR_PRODUCT_MASK | PRR_CUT_MASK))) { in rcar_qos_init()
212 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
218 != (reg & (PRR_PRODUCT_MASK))) { in rcar_qos_init()
219 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
226 != (reg & (PRR_PRODUCT_MASK))) { in rcar_qos_init()
227 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
234 != (reg & (PRR_PRODUCT_MASK | PRR_CUT_MASK))) { in rcar_qos_init()
235 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
241 != (reg & (PRR_PRODUCT_MASK | PRR_CUT_MASK))) { in rcar_qos_init()
242 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
248 != (reg & (PRR_PRODUCT_MASK | PRR_CUT_MASK))) { in rcar_qos_init()
249 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
255 != (reg & (PRR_PRODUCT_MASK))) { in rcar_qos_init()
256 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
263 != (reg & (PRR_PRODUCT_MASK))) { in rcar_qos_init()
264 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
270 != (reg & (PRR_PRODUCT_MASK))) { in rcar_qos_init()
271 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
277 != (reg & (PRR_PRODUCT_MASK))) { in rcar_qos_init()
278 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
284 != (reg & (PRR_PRODUCT_MASK))) { in rcar_qos_init()
285 PRR_PRODUCT_ERR(reg); in rcar_qos_init()
300 uint32_t reg; in get_refperiod() local
302 reg = mmio_read_32(PRR); in get_refperiod()
303 switch (reg & PRR_PRODUCT_MASK) { in get_refperiod()
306 switch (reg & PRR_CUT_MASK) { in get_refperiod()
319 switch (reg & PRR_CUT_MASK) { in get_refperiod()
329 switch (reg & PRR_CUT_MASK) { in get_refperiod()
389 io_write_32(qos[i].reg, qos[i].val); in rcar_qos_dbsc_setting()