Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dspd_sdram.c136 unsigned char caslat, caslat_ctrl; in spd_sdram() local
449 caslat_ctrl = (caslat + 1) & 0x07; in spd_sdram()
451 caslat_ctrl = (2 * caslat - 1) & 0x0f; in spd_sdram()
456 caslat, caslat_ctrl); in spd_sdram()
535 (caslat_ctrl << 16 ) | /* CASLAT */ in spd_sdram()
/openbmc/u-boot/drivers/ddr/fsl/
H A 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()