Lines Matching refs:i
213 int i; in board_mmc_init() local
215 for (i = 0; i < CONFIG_SYS_FSL_USDHC_NUM; i++) { in board_mmc_init()
216 switch (i) { in board_mmc_init()
229 i + 1, CONFIG_SYS_FSL_USDHC_NUM); in board_mmc_init()
233 ret = fsl_esdhc_initialize(bis, &usdhc_cfg[i]); in board_mmc_init()
314 int i; in get_board_rev() local
316 for (i = 0, rev = 0; i < 4; i++) in get_board_rev()
317 rev |= (gpio_get_value(IMX_GPIO_NR(2, 12 + i)) << i); in get_board_rev()
605 int i; in pfla02_detect_chiptype() local
607 for (i = 0; i < 2; i++) { in pfla02_detect_chiptype()
609 p1 = (u32 *)(PHYS_SDRAM + (i + 1) * offset); in pfla02_detect_chiptype()
621 return i; in pfla02_detect_chiptype()