Lines Matching refs:i
113 unsigned int i; in spl_init_pfc() local
115 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
116 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
117 writel(pfc_with_unlock[i].val, in spl_init_pfc()
118 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
121 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
122 writel(pfc_without_unlock[i].val, in spl_init_pfc()
123 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
151 unsigned int i; in spl_init_gpio() local
153 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
154 writel(0, gpio_base | 0x20 | gpio_offs[i]); in spl_init_gpio()
156 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
157 writel(0, gpio_base | 0x00 | gpio_offs[i]); in spl_init_gpio()
159 for (i = 0; i < ARRAY_SIZE(gpio_set); i++) in spl_init_gpio()
160 writel(gpio_set[i].val, gpio_base | 0x08 | gpio_set[i].off); in spl_init_gpio()
162 for (i = 0; i < ARRAY_SIZE(gpio_clr); i++) in spl_init_gpio()
163 writel(gpio_clr[i].val, gpio_base | 0x04 | gpio_clr[i].off); in spl_init_gpio()
181 unsigned int i; in spl_init_lbsc() local
183 for (i = 0; i < ARRAY_SIZE(lbsc_config); i++) { in spl_init_lbsc()
184 writel(lbsc_config[i].val, in spl_init_lbsc()
185 lbsc_base | lbsc_config[i].off); in spl_init_lbsc()
186 writel(lbsc_config[i].val, in spl_init_lbsc()
187 lbsc_base | (lbsc_config[i].off + 4)); in spl_init_lbsc()
190 for (i = 0; i < ARRAY_SIZE(lbsc_offs); i++) in spl_init_lbsc()
191 writel(0, lbsc_base | lbsc_offs[i]); in spl_init_lbsc()
288 unsigned int i; in spl_init_dbsc() local
290 for (i = 0; i < ARRAY_SIZE(dbsc_config1); i++) { in spl_init_dbsc()
291 writel(dbsc_config1[i].val, dbsc3_0_base | dbsc_config1[i].off); in spl_init_dbsc()
292 writel(dbsc_config1[i].val, dbsc3_1_base | dbsc_config1[i].off); in spl_init_dbsc()
297 for (i = 0; i < ARRAY_SIZE(dbsc_config5); i++) { in spl_init_dbsc()
298 writel(dbsc_config5[i].val, dbsc3_0_base | dbsc_config5[i].off); in spl_init_dbsc()
299 writel(dbsc_config5[i].val, dbsc3_1_base | dbsc_config5[i].off); in spl_init_dbsc()
304 for (i = 0; i < ARRAY_SIZE(dbsc_config6); i++) { in spl_init_dbsc()
305 writel(dbsc_config6[i].val, dbsc3_0_base | dbsc_config6[i].off); in spl_init_dbsc()
306 writel(dbsc_config6[i].val, dbsc3_1_base | dbsc_config6[i].off); in spl_init_dbsc()
311 for (i = 0; i < ARRAY_SIZE(dbsc_config7); i++) { in spl_init_dbsc()
312 writel(dbsc_config7[i].val, dbsc3_0_base | dbsc_config7[i].off); in spl_init_dbsc()
313 writel(dbsc_config7[i].val, dbsc3_1_base | dbsc_config7[i].off); in spl_init_dbsc()
318 for (i = 0; i < ARRAY_SIZE(dbsc_config8); i++) { in spl_init_dbsc()
319 writel(dbsc_config8[i].val, dbsc3_0_base | dbsc_config8[i].off); in spl_init_dbsc()
320 writel(dbsc_config8[i].val, dbsc3_1_base | dbsc_config8[i].off); in spl_init_dbsc()
350 int i; in board_init_f() local
367 for (i = 0; i < 100000; i++) in board_init_f()