Searched refs:zq (Results 1 – 17 of 17) sorted by relevance
/u-boot/arch/arm/mach-uniphier/dram/ |
A D | cmd_ddrmphy.c | 95 int phy, zq, i; in zq_dump() local 104 for (zq = 0; zq < param->phy[phy].nr_zq; zq++) { in zq_dump() 105 printf("PHY%dZQ%d:", phy, zq); in zq_dump()
|
A D | umc-pxs2.c | 149 int zq, dx; in ddrphy_init() local 209 for (zq = 0; zq < 4; zq++) { in ddrphy_init()
|
/u-boot/arch/arm/mach-sunxi/ |
A D | dram_sun50i_h6.c | 482 clrsetbits_le32(&mctl_phy->zq[0].zqcr, 0x700, val); in mctl_channel_init() 483 clrsetbits_le32(&mctl_phy->zq[0].zqpr[0], 0xff, in mctl_channel_init() 485 clrbits_le32(&mctl_phy->zq[0].zqor[0], 0xfffff); in mctl_channel_init() 486 setbits_le32(&mctl_phy->zq[0].zqor[0], (CONFIG_DRAM_ZQ >> 8) & 0xff); in mctl_channel_init() 487 setbits_le32(&mctl_phy->zq[0].zqor[0], (CONFIG_DRAM_ZQ & 0xf00) - 0x100); in mctl_channel_init() 488 setbits_le32(&mctl_phy->zq[0].zqor[0], (CONFIG_DRAM_ZQ & 0xff00) << 4); in mctl_channel_init() 489 clrbits_le32(&mctl_phy->zq[1].zqpr[0], 0xfffff); in mctl_channel_init() 490 setbits_le32(&mctl_phy->zq[1].zqpr[0], (CONFIG_DRAM_ZQ >> 16) & 0xff); in mctl_channel_init() 491 setbits_le32(&mctl_phy->zq[1].zqpr[0], ((CONFIG_DRAM_ZQ >> 8) & 0xf00) - 0x100); in mctl_channel_init() 492 setbits_le32(&mctl_phy->zq[1].zqpr[0], (CONFIG_DRAM_ZQ & 0xff0000) >> 4); in mctl_channel_init()
|
A D | dram_sun8i_a23.c | 34 .zq = CONFIG_DRAM_ZQ, 231 writel((dram_para.zq >> 8) & 0xff, &mctl_phy->zqcr1); in mctl_init() 238 writel(dram_para.zq & 0xff, &mctl_phy->zqcr1); in mctl_init() 248 writel(dram_para.zq & 0xff, &mctl_phy->zqcr1); in mctl_init()
|
A D | dram_sunxi_dw.c | 338 u8 zq = (CONFIG_DRAM_ZQ >> (i * 4)) & 0xf; in mctl_h3_zq_calibration_quirk() local 340 writel((zq << 20) | (zq << 16) | (zq << 12) | in mctl_h3_zq_calibration_quirk() 341 (zq << 8) | (zq << 4) | (zq << 0), in mctl_h3_zq_calibration_quirk()
|
A D | dram_sun9i.c | 698 clrsetbits_le32(&mctl_phy->zq[0].pr, 0xff, in mctl_channel_init() 700 clrsetbits_le32(&mctl_phy->zq[1].pr, 0xff, in mctl_channel_init() 702 clrsetbits_le32(&mctl_phy->zq[2].pr, 0xff, in mctl_channel_init() 728 writel(0x04058D02, &mctl_phy->zq[0].cr); /* CK/CA */ in mctl_channel_init() 729 writel(0x04058D02, &mctl_phy->zq[1].cr); /* DX0/DX1 */ in mctl_channel_init() 730 writel(0x04058D02, &mctl_phy->zq[2].cr); /* DX2/DX3 */ in mctl_channel_init()
|
A D | dram_sun4i.c | 512 static void mctl_set_impedance(u32 zq, bool odt_en) in mctl_set_impedance() argument 516 u32 zprog = zq & 0xFF, zdata = (zq >> 8) & 0xFFFFF; in mctl_set_impedance() 624 mctl_set_impedance(para->zq, para->odt_en); in dramc_init_helper()
|
A D | Kconfig | 490 int "sunxi dram zq value" 500 Set the dram zq value.
|
/u-boot/board/sunxi/ |
A D | dram_sun4i_auto.c | 12 .zq = CONFIG_DRAM_ZQ,
|
A D | dram_sun5i_auto.c | 15 .zq = CONFIG_DRAM_ZQ,
|
/u-boot/arch/arm/mach-omap2/ |
A D | emif-common.c | 783 u32 zq = 0, val = 0; in get_zq_config_reg() local 792 zq |= val << EMIF_REG_ZQ_REFINTERVAL_SHIFT; in get_zq_config_reg() 794 zq |= (REG_ZQ_ZQCL_MULT - 1) << EMIF_REG_ZQ_ZQCL_MULT_SHIFT; in get_zq_config_reg() 796 zq |= (REG_ZQ_ZQINIT_MULT - 1) << EMIF_REG_ZQ_ZQINIT_MULT_SHIFT; in get_zq_config_reg() 798 zq |= REG_ZQ_SFEXITEN_ENABLE << EMIF_REG_ZQ_SFEXITEN_SHIFT; in get_zq_config_reg() 808 zq |= REG_ZQ_DUALCALEN_DISABLE << EMIF_REG_ZQ_DUALCALEN_SHIFT; in get_zq_config_reg() 810 zq |= REG_ZQ_CS0EN_ENABLE << EMIF_REG_ZQ_CS0EN_SHIFT; in get_zq_config_reg() 812 zq |= (cs1_device ? 1 : 0) << EMIF_REG_ZQ_CS1EN_SHIFT; in get_zq_config_reg() 814 return zq; in get_zq_config_reg()
|
/u-boot/arch/arm/dts/ |
A D | k3-am654-ddr.dtsi | 199 ti,phy-zq = <
|
/u-boot/arch/arm/include/asm/arch-sunxi/ |
A D | dram_sun4i.h | 76 u32 zq; member
|
A D | dram_sun9i.h | 144 } zq[4]; /* 0x240, 0x250, 0x260, 0x270 */ member
|
A D | dram_sun50i_h6.h | 242 } zq[2]; /* 0x680, 0x6a0 */ member
|
A D | dram_sun8i_a23.h | 19 u32 zq; member
|
/u-boot/drivers/ram/ |
A D | k3-am654-ddrss.c | 206 struct ddrss_ddrphy_zq_params *zq = &ddrss->params.phy_zq; in am654_ddrss_phy_configuration() local 237 ddrss_phy_writel(DDRSS_DDRPHY_ZQCR, zq->ddrphy_zqcr); in am654_ddrss_phy_configuration() 238 ddrss_phy_writel(DDRSS_DDRPHY_ZQ0PR0, zq->ddrphy_zq0pr0); in am654_ddrss_phy_configuration() 239 ddrss_phy_writel(DDRSS_DDRPHY_ZQ1PR0, zq->ddrphy_zq1pr0); in am654_ddrss_phy_configuration()
|
Completed in 44 milliseconds