Lines Matching refs:caslat
143 unsigned char caslat, caslat_ctrl; in spd_sdram() local
314 caslat = __ilog2(spd.cas_lat); in spd_sdram()
316 && (caslat > 6)) { in spd_sdram()
320 && (caslat < 2 || caslat > 5)) { in spd_sdram()
325 debug("DDR: caslat SPD bit is %d\n", caslat); in spd_sdram()
338 caslat = 3; in spd_sdram()
340 caslat = 4; in spd_sdram()
353 caslat = caslat; in spd_sdram()
358 caslat = caslat - 1; in spd_sdram()
360 caslat = caslat; in spd_sdram()
365 caslat = caslat - 2; in spd_sdram()
367 caslat = caslat - 1; in spd_sdram()
369 caslat = caslat; in spd_sdram()
374 caslat = caslat - 2; in spd_sdram()
376 caslat = caslat - 1; in spd_sdram()
378 caslat = caslat; in spd_sdram()
384 caslat = caslat; in spd_sdram()
389 caslat = caslat - 1; in spd_sdram()
391 caslat = caslat; in spd_sdram()
396 caslat = caslat - 2; in spd_sdram()
398 caslat = caslat - 1; in spd_sdram()
400 caslat = caslat; in spd_sdram()
411 caslat = caslat; in spd_sdram()
416 caslat = caslat - 1; in spd_sdram()
427 caslat = caslat; in spd_sdram()
432 debug("DDR:The MSB 1 of CAS Latency is: %d\n", caslat); in spd_sdram()
439 if (caslat == 2) in spd_sdram()
441 else if (caslat == 3) in spd_sdram()
443 else if (caslat == 4) in spd_sdram()
456 caslat_ctrl = (caslat + 1) & 0x07; in spd_sdram()
458 caslat_ctrl = (2 * caslat - 1) & 0x0f; in spd_sdram()
463 caslat, caslat_ctrl); in spd_sdram()
559 && (caslat < 4)) { in spd_sdram()
560 add_lat = 4 - caslat; in spd_sdram()
561 if ((add_lat + caslat) < 4) { in spd_sdram()
596 wr_lat = caslat - 1; in spd_sdram()
665 switch (caslat) { in spd_sdram()
702 | (caslat << 4) /* caslat */ in spd_sdram()