Home
last modified time | relevance | path

Searched refs:sdram_mode (Results 1 – 9 of 9) sorted by relevance

/external/arm-trusted-firmware/plat/nxp/soc-lx2160a/lx2162aqds/
Dddr_init.c46 .sdram_mode[0] = U(0x06010C50),
47 .sdram_mode[1] = U(0x00280400),
48 .sdram_mode[2] = U(0x00),
49 .sdram_mode[3] = U(0x00),
50 .sdram_mode[4] = U(0x00),
51 .sdram_mode[5] = U(0x00),
52 .sdram_mode[6] = U(0x00),
53 .sdram_mode[7] = U(0x00),
54 .sdram_mode[8] = U(0x0500),
55 .sdram_mode[9] = U(0x10240000),
[all …]
/external/arm-trusted-firmware/plat/nxp/soc-lx2160a/lx2160aqds/
Dddr_init.c46 .sdram_mode[0] = U(0x06010C50),
47 .sdram_mode[1] = U(0x00280400),
48 .sdram_mode[2] = U(0x00),
49 .sdram_mode[3] = U(0x00),
50 .sdram_mode[4] = U(0x00),
51 .sdram_mode[5] = U(0x00),
52 .sdram_mode[6] = U(0x00),
53 .sdram_mode[7] = U(0x00),
54 .sdram_mode[8] = U(0x0500),
55 .sdram_mode[9] = U(0x10240000),
[all …]
/external/arm-trusted-firmware/plat/nxp/soc-ls1028a/ls1028ardb/
Dddr_init.c28 .sdram_mode[0] = U(0x3010210),
29 .sdram_mode[9] = U(0x4000000),
30 .sdram_mode[8] = U(0x500),
31 .sdram_mode[2] = U(0x10210),
32 .sdram_mode[10] = U(0x400),
33 .sdram_mode[11] = U(0x4000000),
34 .sdram_mode[4] = U(0x10210),
35 .sdram_mode[12] = U(0x400),
36 .sdram_mode[13] = U(0x4000000),
37 .sdram_mode[6] = U(0x10210),
[all …]
/external/arm-trusted-firmware/drivers/nxp/ddr/nxp-ddr/
Dregs.c633 regs->sdram_mode[0] = (((esdmode & 0xFFFF) << 16) | in cal_ddr_sdram_mode()
635 debug("sdram_mode[0] = 0x%x\n", regs->sdram_mode[0]); in cal_ddr_sdram_mode()
673 regs->sdram_mode[1] = ((esdmode2 & 0xFFFF) << 16) | in cal_ddr_sdram_mode()
675 debug("sdram_mode[1] = 0x%x\n", regs->sdram_mode[1]); in cal_ddr_sdram_mode()
684 regs->sdram_mode[9] = ((esdmode6 & 0xffff) << 16) | in cal_ddr_sdram_mode()
686 debug("sdram_mode[9] = 0x%x\n", regs->sdram_mode[9]); in cal_ddr_sdram_mode()
756 regs->sdram_mode[8] = ((esdmode4 & 0xffff) << 16) | in cal_ddr_sdram_mode()
758 debug("sdram_mode[8] = 0x%x\n", regs->sdram_mode[8]); in cal_ddr_sdram_mode()
761 regs->sdram_mode[2] = (((esdmode & 0xFFFF) << 16) | in cal_ddr_sdram_mode()
763 regs->sdram_mode[3] = ((esdmode2 & 0xFFFF) << 16) | in cal_ddr_sdram_mode()
[all …]
Dddrc.c243 ddr_out32(&ddr->sdram_mode, regs->sdram_mode[0]); in ddrc_set_regs()
244 ddr_out32(&ddr->sdram_mode_2, regs->sdram_mode[1]); in ddrc_set_regs()
245 ddr_out32(&ddr->sdram_mode_3, regs->sdram_mode[2]); in ddrc_set_regs()
246 ddr_out32(&ddr->sdram_mode_4, regs->sdram_mode[3]); in ddrc_set_regs()
247 ddr_out32(&ddr->sdram_mode_5, regs->sdram_mode[4]); in ddrc_set_regs()
248 ddr_out32(&ddr->sdram_mode_6, regs->sdram_mode[5]); in ddrc_set_regs()
249 ddr_out32(&ddr->sdram_mode_7, regs->sdram_mode[6]); in ddrc_set_regs()
250 ddr_out32(&ddr->sdram_mode_8, regs->sdram_mode[7]); in ddrc_set_regs()
251 ddr_out32(&ddr->sdram_mode_9, regs->sdram_mode[8]); in ddrc_set_regs()
252 ddr_out32(&ddr->sdram_mode_10, regs->sdram_mode[9]); in ddrc_set_regs()
[all …]
/external/arm-trusted-firmware/plat/nxp/soc-lx2160a/lx2160ardb/
Dddr_init.c40 .sdram_mode[0] = U(0x6010210),
41 .sdram_mode[8] = U(0x500),
42 .sdram_mode[9] = U(0x4240000),
/external/arm-trusted-firmware/include/drivers/nxp/ddr/
Dimmap.h36 unsigned int sdram_mode; /* SDRAM Mode Configuration */ member
Dddr.h58 unsigned int sdram_mode[16]; member
/external/arm-trusted-firmware/drivers/nxp/ddr/phy-gen2/
Dphy.c2507 input.mr[0] = regs->sdram_mode[0] & U(0xffff); in compute_ddr_phy()
2508 input.mr[1] = regs->sdram_mode[0] >> 16U; in compute_ddr_phy()
2509 input.mr[2] = regs->sdram_mode[1] >> 16U; in compute_ddr_phy()
2510 input.mr[3] = regs->sdram_mode[1] & U(0xffff); in compute_ddr_phy()
2511 input.mr[4] = regs->sdram_mode[8] >> 16U; in compute_ddr_phy()
2512 input.mr[5] = regs->sdram_mode[8] & U(0xffff); in compute_ddr_phy()
2513 input.mr[6] = regs->sdram_mode[9] >> 16U; in compute_ddr_phy()