Lines Matching refs:i
89 int i; in copy_to_reg() local
91 for (i = 0; i < n / sizeof(u32); i++) { in copy_to_reg()
127 int i; in phy_pctrl_reset() local
132 for (i = 0; i < 4; i++) in phy_pctrl_reset()
133 clrbits_le32(&publ->datx8[i].dxdllcr, DXDLLCR_DLLSRST); in phy_pctrl_reset()
137 for (i = 0; i < 4; i++) in phy_pctrl_reset()
138 setbits_le32(&publ->datx8[i].dxdllcr, DXDLLCR_DLLSRST); in phy_pctrl_reset()
150 int i; in phy_dll_bypass_set() local
158 for (i = 0; i < 4; i++) in phy_dll_bypass_set()
159 setbits_le32(&publ->datx8[i].dxdllcr, in phy_dll_bypass_set()
166 for (i = 0; i < 4; i++) { in phy_dll_bypass_set()
167 clrbits_le32(&publ->datx8[i].dxdllcr, in phy_dll_bypass_set()
265 int i; in phy_cfg() local
292 for (i = 0; i < 4; i++) in phy_cfg()
293 setbits_le32(&publ->datx8[i].dxgcr, DQSRTT | DQRTT); in phy_cfg()
296 for (i = 0; i < 4; i++) in phy_cfg()
297 clrbits_le32(&publ->datx8[i].dxgcr, DQSRTT | DQRTT); in phy_cfg()
423 int i; in data_training() local
468 for (i = 0; i < (rank > 1 ? 8 : 4); i++) in data_training()
685 int i, tmp, size, row, ret = 0; in sdram_get_biu_config() local
698 for (i = 0; i < size; i++) in sdram_get_biu_config()
699 if (tmp == ddrconf_table[i]) in sdram_get_biu_config()
701 if (i >= size) { in sdram_get_biu_config()
705 debug("biu config %d\n", i); in sdram_get_biu_config()
706 sdram_params->base.ddrconfig = i; in sdram_get_biu_config()
780 u32 i; in sdram_init() local
782 for (i = 0; i < 17; i++) in sdram_init()
783 send_command_op(pctl, 1, MRR_CMD, i, 0); in sdram_init()