Lines Matching refs:ptr2
387 u32 val1, val2, *ptr1, *ptr2; in mctl_phy_read_training() local
411 ptr2 = (u32*)(SUNXI_DRAM_PHY0_BASE + 0x850); in mctl_phy_read_training()
414 val2 = readl(&ptr2[i]); in mctl_phy_read_training()
419 ptr2 = (u32*)(SUNXI_DRAM_PHY0_BASE + 0x874); in mctl_phy_read_training()
422 val2 = readl(&ptr2[i]); in mctl_phy_read_training()
429 ptr2 = (u32*)(SUNXI_DRAM_PHY0_BASE + 0xa50); in mctl_phy_read_training()
432 val2 = readl(&ptr2[i]); in mctl_phy_read_training()
438 ptr2 = (u32*)(SUNXI_DRAM_PHY0_BASE + 0xa74); in mctl_phy_read_training()
441 val2 = readl(&ptr2[i]); in mctl_phy_read_training()
476 u32 val1, val2, *ptr1, *ptr2; in mctl_phy_write_training() local
501 ptr2 = (u32*)(SUNXI_DRAM_PHY0_BASE + 0x8f0); in mctl_phy_write_training()
504 val2 = readl(&ptr2[i]); in mctl_phy_write_training()
509 ptr2 = (u32*)(SUNXI_DRAM_PHY0_BASE + 0x914); in mctl_phy_write_training()
512 val2 = readl(&ptr2[i]); in mctl_phy_write_training()
519 ptr2 = (u32*)(SUNXI_DRAM_PHY0_BASE + 0xaf0); in mctl_phy_write_training()
522 val2 = readl(&ptr2[i]); in mctl_phy_write_training()
527 ptr2 = (u32*)(SUNXI_DRAM_PHY0_BASE + 0xb14); in mctl_phy_write_training()
530 val2 = readl(&ptr2[i]); in mctl_phy_write_training()