Lines Matching refs:i
114 unsigned int i; in spl_init_pfc() local
116 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
117 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
118 writel(pfc_with_unlock[i].val, in spl_init_pfc()
119 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
122 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
123 writel(pfc_without_unlock[i].val, in spl_init_pfc()
124 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
126 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock2); i++) { in spl_init_pfc()
127 writel(~pfc_with_unlock2[i].val, pfc_base); in spl_init_pfc()
128 writel(pfc_with_unlock2[i].val, in spl_init_pfc()
129 pfc_base | pfc_with_unlock2[i].off); in spl_init_pfc()
155 unsigned int i; in spl_init_gpio() local
157 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
158 writel(0, gpio_base | 0x20 | gpio_offs[i]); in spl_init_gpio()
160 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
161 writel(0, gpio_base | 0x00 | gpio_offs[i]); in spl_init_gpio()
163 for (i = 0; i < ARRAY_SIZE(gpio_set); i++) in spl_init_gpio()
164 writel(gpio_set[i].val, gpio_base | 0x08 | gpio_set[i].off); in spl_init_gpio()
166 for (i = 0; i < ARRAY_SIZE(gpio_clr); i++) in spl_init_gpio()
167 writel(gpio_clr[i].val, gpio_base | 0x04 | gpio_clr[i].off); in spl_init_gpio()
185 unsigned int i; in spl_init_lbsc() local
187 for (i = 0; i < ARRAY_SIZE(lbsc_config); i++) { in spl_init_lbsc()
188 writel(lbsc_config[i].val, in spl_init_lbsc()
189 lbsc_base | lbsc_config[i].off); in spl_init_lbsc()
190 writel(lbsc_config[i].val, in spl_init_lbsc()
191 lbsc_base | (lbsc_config[i].off + 4)); in spl_init_lbsc()
194 for (i = 0; i < ARRAY_SIZE(lbsc_offs); i++) in spl_init_lbsc()
195 writel(0, lbsc_base | lbsc_offs[i]); in spl_init_lbsc()
304 unsigned int i; in spl_init_dbsc() local
306 for (i = 0; i < ARRAY_SIZE(dbsc_config1); i++) in spl_init_dbsc()
307 writel(dbsc_config1[i].val, dbsc3_0_base | dbsc_config1[i].off); in spl_init_dbsc()
311 for (i = 0; i < ARRAY_SIZE(dbsc_config2); i++) in spl_init_dbsc()
312 writel(dbsc_config2[i].val, dbsc3_0_base | dbsc_config2[i].off); in spl_init_dbsc()
314 for (i = 0; i < ARRAY_SIZE(dbsc_config4); i++) in spl_init_dbsc()
315 writel(dbsc_config4[i].val, dbsc3_0_base | dbsc_config4[i].off); in spl_init_dbsc()
319 for (i = 0; i < ARRAY_SIZE(dbsc_config5); i++) in spl_init_dbsc()
320 writel(dbsc_config5[i].val, dbsc3_0_base | dbsc_config5[i].off); in spl_init_dbsc()
324 for (i = 0; i < ARRAY_SIZE(dbsc_config6); i++) in spl_init_dbsc()
325 writel(dbsc_config6[i].val, dbsc3_0_base | dbsc_config6[i].off); in spl_init_dbsc()
329 for (i = 0; i < ARRAY_SIZE(dbsc_config7); i++) in spl_init_dbsc()
330 writel(dbsc_config7[i].val, dbsc3_0_base | dbsc_config7[i].off); in spl_init_dbsc()
334 for (i = 0; i < ARRAY_SIZE(dbsc_config8); i++) in spl_init_dbsc()
335 writel(dbsc_config8[i].val, dbsc3_0_base | dbsc_config8[i].off); in spl_init_dbsc()