Lines Matching refs:i
160 int i; in ddrphy_config() local
178 for (i = 0; i < 4; ++i) { in ddrphy_config()
179 writel(0xcc, &phy->reg[0x20 + i * 0x10]); in ddrphy_config()
180 writel(0x44, &phy->reg[0x21 + i * 0x10]); in ddrphy_config()
189 int i; in copy_to_reg() local
191 for (i = 0; i < n / sizeof(u32); i++) in copy_to_reg()
664 int i; in msch_biu_config() local
728 for (i = 0; i < ARRAY_SIZE(ddrconf_table); i++) { in msch_biu_config()
732 if (ddrconf_table[i].type != params->memory_schedule) in msch_biu_config()
741 match = (ddrconf_table[i].columns == cols) && in msch_biu_config()
742 (ddrconf_table[i].rows == rows); in msch_biu_config()
746 match = (ddrconf_table[i].columns == cols) && in msch_biu_config()
747 (ddrconf_table[i].rows <= rows); in msch_biu_config()
751 match = (ddrconf_table[i].columns == cols) || in msch_biu_config()
752 ((ddrconf_table[i].columns <= cols) && in msch_biu_config()
753 (ddrconf_table[i].rows == rows)); in msch_biu_config()
761 debug("%s: setting ddrconf 0x%x\n", __func__, i); in msch_biu_config()
762 writel(i, &msch->ddrconf); in msch_biu_config()