Lines Matching refs:calib
1041 const struct mx6_mmdc_calibration *calib, in mx6_lpddr2_cfg() argument
1150 mmdc0->mpwldectrl0 = calib->p0_mpwldectrl0; in mx6_lpddr2_cfg()
1151 mmdc0->mpwldectrl1 = calib->p0_mpwldectrl1; in mx6_lpddr2_cfg()
1152 mmdc0->mpdgctrl0 = calib->p0_mpdgctrl0; in mx6_lpddr2_cfg()
1153 mmdc0->mpdgctrl1 = calib->p0_mpdgctrl1; in mx6_lpddr2_cfg()
1154 mmdc0->mprddlctl = calib->p0_mprddlctl; in mx6_lpddr2_cfg()
1155 mmdc0->mpwrdlctl = calib->p0_mpwrdlctl; in mx6_lpddr2_cfg()
1156 mmdc0->mpzqlp2ctl = calib->mpzqlp2ctl; in mx6_lpddr2_cfg()
1270 const struct mx6_mmdc_calibration *calib, in mx6_ddr3_cfg() argument
1436 mmdc0->mpwldectrl0 = calib->p0_mpwldectrl0; in mx6_ddr3_cfg()
1437 mmdc0->mpwldectrl1 = calib->p0_mpwldectrl1; in mx6_ddr3_cfg()
1438 mmdc0->mpdgctrl0 = calib->p0_mpdgctrl0; in mx6_ddr3_cfg()
1439 mmdc0->mpdgctrl1 = calib->p0_mpdgctrl1; in mx6_ddr3_cfg()
1440 mmdc0->mprddlctl = calib->p0_mprddlctl; in mx6_ddr3_cfg()
1441 mmdc0->mpwrdlctl = calib->p0_mpwrdlctl; in mx6_ddr3_cfg()
1443 MMDC1(mpwldectrl0, calib->p1_mpwldectrl0); in mx6_ddr3_cfg()
1444 MMDC1(mpwldectrl1, calib->p1_mpwldectrl1); in mx6_ddr3_cfg()
1445 MMDC1(mpdgctrl0, calib->p1_mpdgctrl0); in mx6_ddr3_cfg()
1446 MMDC1(mpdgctrl1, calib->p1_mpdgctrl1); in mx6_ddr3_cfg()
1447 MMDC1(mprddlctl, calib->p1_mprddlctl); in mx6_ddr3_cfg()
1448 MMDC1(mpwrdlctl, calib->p1_mpwrdlctl); in mx6_ddr3_cfg()
1650 struct mx6_mmdc_calibration *calib) in mmdc_read_calibration() argument
1655 calib->p0_mpwldectrl0 = readl(&mmdc0->mpwldectrl0); in mmdc_read_calibration()
1656 calib->p0_mpwldectrl1 = readl(&mmdc0->mpwldectrl1); in mmdc_read_calibration()
1657 calib->p0_mpdgctrl0 = readl(&mmdc0->mpdgctrl0); in mmdc_read_calibration()
1658 calib->p0_mpdgctrl1 = readl(&mmdc0->mpdgctrl1); in mmdc_read_calibration()
1659 calib->p0_mprddlctl = readl(&mmdc0->mprddlctl); in mmdc_read_calibration()
1660 calib->p0_mpwrdlctl = readl(&mmdc0->mpwrdlctl); in mmdc_read_calibration()
1663 calib->p1_mpwldectrl0 = readl(&mmdc1->mpwldectrl0); in mmdc_read_calibration()
1664 calib->p1_mpwldectrl1 = readl(&mmdc1->mpwldectrl1); in mmdc_read_calibration()
1665 calib->p1_mpdgctrl0 = readl(&mmdc1->mpdgctrl0); in mmdc_read_calibration()
1666 calib->p1_mpdgctrl1 = readl(&mmdc1->mpdgctrl1); in mmdc_read_calibration()
1667 calib->p1_mprddlctl = readl(&mmdc1->mprddlctl); in mmdc_read_calibration()
1668 calib->p1_mpwrdlctl = readl(&mmdc1->mpwrdlctl); in mmdc_read_calibration()
1673 const struct mx6_mmdc_calibration *calib, in mx6_dram_cfg() argument
1677 mx6_ddr3_cfg(sysinfo, calib, ddr_cfg); in mx6_dram_cfg()
1679 mx6_lpddr2_cfg(sysinfo, calib, ddr_cfg); in mx6_dram_cfg()