Lines Matching defs:ramc
167 __raw_readl(soc_pm.data.ramc[id] + field)
170 __raw_writel(value, soc_pm.data.ramc[id] + field)
722 : "r" (0), "r" (soc_pm.data.ramc[0]),
745 if (soc_pm.data.ramc[1]) {
763 if (soc_pm.data.ramc[1])
770 if (soc_pm.data.ramc[1]) {
800 if (soc_pm.data.ramc[1]) {
812 if (soc_pm.data.ramc[1])
818 if (soc_pm.data.ramc[1])
826 pwrtmg = readl(soc_pm.data.ramc[0] + UDDRC_PWRCTL);
835 soc_pm.data.ramc[0] + UDDRC_PWRCTL);
843 writel(pwrtmg, soc_pm.data.ramc[0] + UDDRC_PWRCTL);
879 const struct ramc_info *ramc;
883 soc_pm.data.ramc[idx] = of_iomap(np, 0);
884 if (!soc_pm.data.ramc[idx]) {
885 pr_err("unable to map ramc[%d] cpu registers\n", idx);
891 ramc = of_id->data;
892 if (ramc) {
894 standby = ramc->idle;
895 soc_pm.data.memctrl = ramc->memctrl;
911 pr_err("unable to map ramc phy cpu registers\n");
925 pr_warn("ramc no standby function available\n");
935 iounmap(soc_pm.data.ramc[--idx]);