Home
last modified time | relevance | path

Searched refs:caslat_ctrl (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dspd_sdram.c134 unsigned char caslat, caslat_ctrl; in spd_sdram() local
447 caslat_ctrl = (caslat + 1) & 0x07; in spd_sdram()
449 caslat_ctrl = (2 * caslat - 1) & 0x0f; in spd_sdram()
454 caslat, caslat_ctrl); in spd_sdram()
533 (caslat_ctrl << 16 ) | /* CASLAT */ in spd_sdram()
/external/u-boot/drivers/ddr/fsl/
Dctrl_regs.c518 unsigned char caslat_ctrl; in set_timing_cfg_1() local
562 caslat_ctrl = (cas_latency + 1) & 0x07; in set_timing_cfg_1()
564 caslat_ctrl = 2 * cas_latency - 1; in set_timing_cfg_1()
572 caslat_ctrl = 2 * cas_latency - 1; in set_timing_cfg_1()
574 caslat_ctrl = (cas_latency - 1) << 1; in set_timing_cfg_1()
623 | ((caslat_ctrl & 0xF) << 16) in set_timing_cfg_1()