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()
161 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
162 writel(0, gpio_base | 0x00 | gpio_offs[i]); in spl_init_gpio()
165 for (i = 0; i < ARRAY_SIZE(gpio_set); i++) in spl_init_gpio()
166 writel(gpio_set[i].val, gpio_base | 0x08 | gpio_set[i].off); in spl_init_gpio()
168 for (i = 0; i < ARRAY_SIZE(gpio_clr); i++) in spl_init_gpio()
169 writel(gpio_clr[i].val, gpio_base | 0x04 | gpio_clr[i].off); in spl_init_gpio()
187 unsigned int i; in spl_init_lbsc() local
189 for (i = 0; i < ARRAY_SIZE(lbsc_config); i++) { in spl_init_lbsc()
190 writel(lbsc_config[i].val, in spl_init_lbsc()
191 lbsc_base | lbsc_config[i].off); in spl_init_lbsc()
192 writel(lbsc_config[i].val, in spl_init_lbsc()
193 lbsc_base | (lbsc_config[i].off + 4)); in spl_init_lbsc()
196 for (i = 0; i < ARRAY_SIZE(lbsc_offs); i++) in spl_init_lbsc()
197 writel(0, lbsc_base | lbsc_offs[i]); in spl_init_lbsc()
313 unsigned int i; in spl_init_dbsc() local
315 for (i = 0; i < ARRAY_SIZE(dbsc_config1); i++) in spl_init_dbsc()
316 writel(dbsc_config1[i].val, dbsc3_0_base | dbsc_config1[i].off); in spl_init_dbsc()
320 for (i = 0; i < ARRAY_SIZE(dbsc_config2); i++) in spl_init_dbsc()
321 writel(dbsc_config2[i].val, dbsc3_0_base | dbsc_config2[i].off); in spl_init_dbsc()
323 for (i = 0; i < ARRAY_SIZE(dbsc_config3r2); i++) { in spl_init_dbsc()
324 writel(dbsc_config3r2[i].val, in spl_init_dbsc()
325 dbsc3_0_base | dbsc_config3r2[i].off); in spl_init_dbsc()
328 for (i = 0; i < ARRAY_SIZE(dbsc_config4); i++) in spl_init_dbsc()
329 writel(dbsc_config4[i].val, dbsc3_0_base | dbsc_config4[i].off); in spl_init_dbsc()
333 for (i = 0; i < ARRAY_SIZE(dbsc_config5); i++) in spl_init_dbsc()
334 writel(dbsc_config5[i].val, dbsc3_0_base | dbsc_config5[i].off); in spl_init_dbsc()
338 for (i = 0; i < ARRAY_SIZE(dbsc_config6); i++) in spl_init_dbsc()
339 writel(dbsc_config6[i].val, dbsc3_0_base | dbsc_config6[i].off); in spl_init_dbsc()
343 for (i = 0; i < ARRAY_SIZE(dbsc_config7); i++) in spl_init_dbsc()
344 writel(dbsc_config7[i].val, dbsc3_0_base | dbsc_config7[i].off); in spl_init_dbsc()
348 for (i = 0; i < ARRAY_SIZE(dbsc_config8); i++) in spl_init_dbsc()
349 writel(dbsc_config8[i].val, dbsc3_0_base | dbsc_config8[i].off); in spl_init_dbsc()