Lines Matching refs:rank
309 static void send_command(struct rk3288_ddr_pctl *pctl, u32 rank, in send_command() argument
312 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd); in send_command()
319 u32 rank, u32 cmd, u32 ma, u32 op) in send_command_op() argument
321 send_command(pctl, rank, cmd, (ma & LPDDR2_MA_MASK) << LPDDR2_MA_SHIFT | in send_command_op()
419 u32 rank; in data_training() local
430 rank = sdram_params->ch[channel].rank | 1; in data_training()
444 while ((readl(&publ->datx8[0].dxgsr[0]) & rank) in data_training()
445 != rank) in data_training()
447 while ((readl(&publ->datx8[1].dxgsr[0]) & rank) in data_training()
448 != rank) in data_training()
452 & rank) != rank) in data_training()
455 & rank) != rank) in data_training()
465 for (i = 0; i < (rank > 1 ? 8 : 4); i++) in data_training()
466 send_command(pctl, rank, REF_CMD, 0); in data_training()
546 sys_reg |= (info->rank - 1) << SYS_REG_RANK_SHIFT(chan); in dram_all_config()
556 if (sdram_params->ch[0].rank == 2) in dram_all_config()
585 sdram_params->ch[channel].rank = 1; in sdram_rank_bw_detect()
587 sdram_params->ch[channel].rank << 18); in sdram_rank_bw_detect()
761 sdram_params->ch[channel].rank = 2, in sdram_init()
763 (sdram_params->ch[channel].rank | 1) << 18); in sdram_init()