Lines Matching refs:mem_speed
942 static int lpddr2_wl(uint32_t mem_speed) in lpddr2_wl() argument
944 switch (mem_speed) { in lpddr2_wl()
968 static int lpddr2_rl(uint32_t mem_speed) in lpddr2_rl() argument
970 switch (mem_speed) { in lpddr2_rl()
1017 twl = lpddr2_wl(lpddr2_cfg->mem_speed) - 1; in mx6_lpddr2_cfg()
1043 if (lpddr2_cfg->mem_speed == 333) in mx6_lpddr2_cfg()
1066 tcl = lpddr2_rl(lpddr2_cfg->mem_speed) - 3; in mx6_lpddr2_cfg()
1075 debug("memspd:%d\n", lpddr2_cfg->mem_speed); in mx6_lpddr2_cfg()
1238 u16 mem_speed = ddr3_cfg->mem_speed; in mx6_ddr3_cfg() local
1246 if (mem_speed > 1066) in mx6_ddr3_cfg()
1247 mem_speed = 1066; /* 1066 MT/s */ in mx6_ddr3_cfg()
1253 if (mem_speed > 800) in mx6_ddr3_cfg()
1254 mem_speed = 800; /* 800 MT/s */ in mx6_ddr3_cfg()
1259 clock = mem_speed / 2; in mx6_ddr3_cfg()
1299 switch (mem_speed) { in mx6_ddr3_cfg()
1346 debug("memspd:%d\n", mem_speed); in mx6_ddr3_cfg()