Lines Matching refs:ddr_pctl_regs
1769 static int read_mr(struct rk3399_ddr_pctl_regs *ddr_pctl_regs, u32 rank, in read_mr() argument
1775 &ddr_pctl_regs->denali_ctl[118]); in read_mr()
1777 while (0 == (readl(&ddr_pctl_regs->denali_ctl[203]) & in read_mr()
1789 if (!(readl(&ddr_pctl_regs->denali_ctl[203]) & (1 << 12))) { in read_mr()
1790 *buf = readl(&ddr_pctl_regs->denali_ctl[119]) & 0xFF; in read_mr()
1793 readl(&ddr_pctl_regs->denali_ctl[17]) & 0x3); in read_mr()
1797 setbits_le32(&ddr_pctl_regs->denali_ctl[205], (1 << 21) | (1 << 12)); in read_mr()
1811 struct rk3399_ddr_pctl_regs *ddr_pctl_regs = chan->pctl; in lpddr4_mr_detect() local
1871 read_mr(ddr_pctl_regs, rank, 5, &mr5); in lpddr4_mr_detect()
1872 read_mr(ddr_pctl_regs, rank, 12, &mr12); in lpddr4_mr_detect()
1873 read_mr(ddr_pctl_regs, rank, 14, &mr14); in lpddr4_mr_detect()