Lines Matching refs:rank
313 static void send_command(struct rk3288_ddr_pctl *pctl, u32 rank,
316 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd);
323 u32 rank, u32 cmd, u32 ma, u32 op)
325 send_command(pctl, rank, cmd, (ma & LPDDR2_MA_MASK) << LPDDR2_MA_SHIFT |
423 u32 rank;
434 rank = sdram_params->ch[channel].rank | 1;
448 while ((readl(&publ->datx8[0].dxgsr[0]) & rank)
449 != rank)
451 while ((readl(&publ->datx8[1].dxgsr[0]) & rank)
452 != rank)
456 & rank) != rank)
459 & rank) != rank)
469 for (i = 0; i < (rank > 1 ? 8 : 4); i++)
470 send_command(pctl, rank, REF_CMD, 0);
550 sys_reg |= (info->rank - 1) << SYS_REG_RANK_SHIFT(chan);
560 if (sdram_params->ch[0].rank == 2)
581 /* Check the result for rank 0 */
587 /* Check the result for rank 1 */
589 sdram_params->ch[channel].rank = 1;
591 sdram_params->ch[channel].rank << 18);
690 * RK3188 share the rank and row bit15, we use same ddr config for 15bit
765 sdram_params->ch[channel].rank = 2;
767 (sdram_params->ch[channel].rank | 1) << 18);
776 /* Detect the rank and bit-width with data-training */