Searched refs:mctl_phy (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | dram_sun6i.c | 71 writel(0, &mctl_phy->acdllcr); in mctl_dll_init() 72 writel(0, &mctl_phy->dx0dllcr); in mctl_dll_init() 73 writel(0, &mctl_phy->dx1dllcr); in mctl_dll_init() 75 writel(0, &mctl_phy->dx2dllcr); in mctl_dll_init() 76 writel(0, &mctl_phy->dx3dllcr); in mctl_dll_init() 122 writel(MCTL_MR0, &mctl_phy->mr0); in mctl_channel_init() 123 writel(MCTL_MR1, &mctl_phy->mr1); in mctl_channel_init() 124 writel(MCTL_MR2, &mctl_phy->mr2); in mctl_channel_init() 125 writel(MCTL_MR3, &mctl_phy->mr3); in mctl_channel_init() 128 &mctl_phy->ptr0); in mctl_channel_init() [all …]
|
H A D | dram_sun50i_h6.c | 83 writel(val | BIT(0), &mctl_phy->pir); in mctl_phy_pir_init() 269 &mctl_phy->dtpr[0]); in mctl_set_timing_lpddr3() 273 &mctl_phy->dtpr[3]); in mctl_set_timing_lpddr3() 276 writel(0x0505, &mctl_phy->dtpr[6]); in mctl_set_timing_lpddr3() 476 val = readl(&mctl_phy->dx[i].bdlr0); in mctl_bit_delay_set() 479 writel(val, &mctl_phy->dx[i].bdlr0); in mctl_bit_delay_set() 518 val = readl(&mctl_phy->acbdlr[i]); in mctl_bit_delay_set() 520 writel(val, &mctl_phy->acbdlr[i]); in mctl_bit_delay_set() 567 writel(0x20000, &mctl_phy->odtcr); in mctl_channel_init() 569 writel(0x0, &mctl_phy->rankidr); in mctl_channel_init() [all …]
|
H A D | dram_sun8i_a23.c | 102 writel(0x40b, &mctl_phy->dcr); in mctl_init() 104 writel(0x1000040b, &mctl_phy->dcr); in mctl_init() 107 writel(0x5c000, &mctl_phy->dllgcr); in mctl_init() 109 writel(0xdc000, &mctl_phy->dllgcr); in mctl_init() 138 writel(0x01000081, &mctl_phy->dtcr); in mctl_init() 145 writel(0, &mctl_phy->odtcr); in mctl_init() 231 writel(0x00000003, &mctl_phy->pir); in mctl_init() 235 writel(readl(&mctl_phy->zqsr0) | 0x10000000, &mctl_phy->zqcr2); in mctl_init() 239 writel(0x000005f3, &mctl_phy->pir); in mctl_init() 245 writel(0, &mctl_phy->dx1gcr); in mctl_init() [all …]
|
H A D | dram_sun9i.c | 358 struct sunxi_mctl_phy_reg *mctl_phy; in mctl_channel_init() local 626 &mctl_phy->dcr); in mctl_channel_init() 632 writel(mr[0], &mctl_phy->mr0); in mctl_channel_init() 633 writel(mr[1], &mctl_phy->mr1); in mctl_channel_init() 634 writel(mr[2], &mctl_phy->mr2); in mctl_channel_init() 635 writel(mr[3], &mctl_phy->mr3); in mctl_channel_init() 643 &mctl_phy->dtpr[0]); in mctl_channel_init() 646 &mctl_phy->dtpr[1]); in mctl_channel_init() 651 &mctl_phy->dtpr[2]); in mctl_channel_init() 689 &mctl_phy->dtcr); in mctl_channel_init() [all …]
|