Lines Matching refs:reg

40 #define PRR_PRODUCT_ERR(reg)				\  argument
43 reg); \
47 #define PRR_CUT_ERR(reg) \ argument
50 reg); \
56 uint32_t reg; in rcar_pfc_init() local
58 reg = mmio_read_32(RCAR_PRR); in rcar_pfc_init()
60 switch (reg & PRR_PRODUCT_MASK) { in rcar_pfc_init()
62 switch (reg & PRR_CUT_MASK) { in rcar_pfc_init()
84 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
89 switch (reg & PRR_PRODUCT_MASK) { in rcar_pfc_init()
92 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
94 switch (reg & PRR_CUT_MASK) { in rcar_pfc_init()
109 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
116 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
123 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
130 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
137 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
143 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
152 != (reg & (PRR_PRODUCT_MASK | PRR_CUT_MASK))) { in rcar_pfc_init()
153 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
159 != (reg & (PRR_PRODUCT_MASK | PRR_CUT_MASK))) { in rcar_pfc_init()
160 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
165 if (PRR_PRODUCT_H3 != (reg & PRR_PRODUCT_MASK)) { in rcar_pfc_init()
166 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
171 if ((PRR_PRODUCT_M3) != (reg & PRR_PRODUCT_MASK)) { in rcar_pfc_init()
172 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
176 if ((PRR_PRODUCT_M3N) != (reg & PRR_PRODUCT_MASK)) { in rcar_pfc_init()
177 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
181 if ((PRR_PRODUCT_V3M) != (reg & PRR_PRODUCT_MASK)) { in rcar_pfc_init()
182 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
186 if ((PRR_PRODUCT_E3) != (reg & PRR_PRODUCT_MASK)) { in rcar_pfc_init()
187 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()
191 if ((PRR_PRODUCT_D3) != (reg & PRR_PRODUCT_MASK)) { in rcar_pfc_init()
192 PRR_PRODUCT_ERR(reg); in rcar_pfc_init()