Lines Matching refs:i
105 unsigned int i; in spl_init_pfc() local
107 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
108 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
109 writel(pfc_with_unlock[i].val, in spl_init_pfc()
110 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
113 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
114 writel(pfc_without_unlock[i].val, in spl_init_pfc()
115 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
138 unsigned int i; in spl_init_gpio() local
140 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
141 writel(0, gpio_base | 0x20 | gpio_offs[i]); in spl_init_gpio()
143 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
144 writel(0, gpio_base | 0x00 | gpio_offs[i]); in spl_init_gpio()
146 for (i = 0; i < ARRAY_SIZE(gpio_set); i++) in spl_init_gpio()
147 writel(gpio_set[i].val, gpio_base | 0x08 | gpio_set[i].off); in spl_init_gpio()
149 for (i = 0; i < ARRAY_SIZE(gpio_clr); i++) in spl_init_gpio()
150 writel(gpio_clr[i].val, gpio_base | 0x04 | gpio_clr[i].off); in spl_init_gpio()
168 unsigned int i; in spl_init_lbsc() local
170 for (i = 0; i < ARRAY_SIZE(lbsc_config); i++) { in spl_init_lbsc()
171 writel(lbsc_config[i].val, in spl_init_lbsc()
172 lbsc_base | lbsc_config[i].off); in spl_init_lbsc()
173 writel(lbsc_config[i].val, in spl_init_lbsc()
174 lbsc_base | (lbsc_config[i].off + 4)); in spl_init_lbsc()
177 for (i = 0; i < ARRAY_SIZE(lbsc_offs); i++) in spl_init_lbsc()
178 writel(0, lbsc_base | lbsc_offs[i]); in spl_init_lbsc()
286 unsigned int i; in spl_init_dbsc() local
288 for (i = 0; i < ARRAY_SIZE(dbsc_config1); i++) in spl_init_dbsc()
289 writel(dbsc_config1[i].val, dbsc3_0_base | dbsc_config1[i].off); in spl_init_dbsc()
293 for (i = 0; i < ARRAY_SIZE(dbsc_config4); i++) in spl_init_dbsc()
294 writel(dbsc_config4[i].val, dbsc3_0_base | dbsc_config4[i].off); in spl_init_dbsc()
298 for (i = 0; i < ARRAY_SIZE(dbsc_config5); i++) in spl_init_dbsc()
299 writel(dbsc_config5[i].val, dbsc3_0_base | dbsc_config5[i].off); in spl_init_dbsc()
303 for (i = 0; i < ARRAY_SIZE(dbsc_config6); i++) in spl_init_dbsc()
304 writel(dbsc_config6[i].val, dbsc3_0_base | dbsc_config6[i].off); in spl_init_dbsc()
308 for (i = 0; i < ARRAY_SIZE(dbsc_config7); i++) in spl_init_dbsc()
309 writel(dbsc_config7[i].val, dbsc3_0_base | dbsc_config7[i].off); in spl_init_dbsc()
313 for (i = 0; i < ARRAY_SIZE(dbsc_config8); i++) in spl_init_dbsc()
314 writel(dbsc_config8[i].val, dbsc3_0_base | dbsc_config8[i].off); in spl_init_dbsc()