Lines Matching refs:pregs
29 void __iomem *pregs; member
174 p->pregs = of_ioremap(&op->resource[0], 0, in fhc_probe()
177 if (!p->pregs) { in fhc_probe()
183 reg = upa_readl(p->pregs + FHC_PREGS_BSR); in fhc_probe()
191 if (upa_readl(p->pregs + FHC_PREGS_JCTRL) & FHC_JTAG_CTRL_MENAB) in fhc_probe()
197 (p->pregs + FHC_PREGS_CTRL); in fhc_probe()
214 reg = upa_readl(p->pregs + FHC_PREGS_CTRL); in fhc_probe()
223 upa_writel(reg, p->pregs + FHC_PREGS_CTRL); in fhc_probe()
224 upa_readl(p->pregs + FHC_PREGS_CTRL); in fhc_probe()
226 reg = upa_readl(p->pregs + FHC_PREGS_ID); in fhc_probe()
242 of_iounmap(&op->resource[0], p->pregs, resource_size(&op->resource[0])); in fhc_probe()