Lines Matching refs:mem_speed
990 static int lpddr2_wl(uint32_t mem_speed) in lpddr2_wl() argument
992 switch (mem_speed) { in lpddr2_wl()
1016 static int lpddr2_rl(uint32_t mem_speed) in lpddr2_rl() argument
1018 switch (mem_speed) { in lpddr2_rl()
1065 twl = lpddr2_wl(lpddr2_cfg->mem_speed) - 1; in mx6_lpddr2_cfg()
1091 if (lpddr2_cfg->mem_speed == 333) in mx6_lpddr2_cfg()
1114 tcl = lpddr2_rl(lpddr2_cfg->mem_speed) - 3; in mx6_lpddr2_cfg()
1123 debug("memspd:%d\n", lpddr2_cfg->mem_speed); in mx6_lpddr2_cfg()
1288 u16 mem_speed = ddr3_cfg->mem_speed; in mx6_ddr3_cfg() local
1296 if (mem_speed > 1066) in mx6_ddr3_cfg()
1297 mem_speed = 1066; /* 1066 MT/s */ in mx6_ddr3_cfg()
1303 if (mem_speed > 800) in mx6_ddr3_cfg()
1304 mem_speed = 800; /* 800 MT/s */ in mx6_ddr3_cfg()
1309 clock = mem_speed / 2; in mx6_ddr3_cfg()
1349 switch (mem_speed) { in mx6_ddr3_cfg()
1396 debug("memspd:%d\n", mem_speed); in mx6_ddr3_cfg()