Lines Matching refs:rank
367 static void send_command(struct rk3288_ddr_pctl *pctl, u32 rank, in send_command() argument
370 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd); in send_command()
377 u32 rank, u32 cmd, u32 ma, u32 op) in send_command_op() argument
379 send_command(pctl, rank, cmd, (ma & LPDDR2_MA_MASK) << LPDDR2_MA_SHIFT | in send_command_op()
477 u32 rank; in data_training() local
488 rank = sdram_params->ch[channel].rank | 1; in data_training()
502 while ((readl(&publ->datx8[0].dxgsr[0]) & rank) in data_training()
503 != rank) in data_training()
505 while ((readl(&publ->datx8[1].dxgsr[0]) & rank) in data_training()
506 != rank) in data_training()
510 & rank) != rank) in data_training()
513 & rank) != rank) in data_training()
523 for (i = 0; i < (rank > 1 ? 8 : 4); i++) in data_training()
524 send_command(pctl, rank, REF_CMD, 0); in data_training()
603 sys_reg |= (info->rank - 1) << SYS_REG_RANK_SHIFT(chan); in dram_all_config()
638 sdram_params->ch[channel].rank = 1; in sdram_rank_bw_detect()
640 sdram_params->ch[channel].rank << 18); in sdram_rank_bw_detect()
752 (sdram_params->ch[0].rank - 1) + in sdram_get_stride()
860 sdram_params->ch[channel].rank = 2, in sdram_init()
862 (sdram_params->ch[channel].rank | 1) << 18); in sdram_init()
875 sdram_params->ch[channel].rank | 1, in sdram_init()