Lines Matching refs:pregs
26 void __iomem *pregs; member
173 p->pregs = of_ioremap(&op->resource[0], 0, in fhc_probe()
176 if (!p->pregs) { in fhc_probe()
182 reg = upa_readl(p->pregs + FHC_PREGS_BSR); in fhc_probe()
190 if (upa_readl(p->pregs + FHC_PREGS_JCTRL) & FHC_JTAG_CTRL_MENAB) in fhc_probe()
196 (p->pregs + FHC_PREGS_CTRL); in fhc_probe()
213 reg = upa_readl(p->pregs + FHC_PREGS_CTRL); in fhc_probe()
222 upa_writel(reg, p->pregs + FHC_PREGS_CTRL); in fhc_probe()
223 upa_readl(p->pregs + FHC_PREGS_CTRL); in fhc_probe()
225 reg = upa_readl(p->pregs + FHC_PREGS_ID); in fhc_probe()
241 of_iounmap(&op->resource[0], p->pregs, resource_size(&op->resource[0])); in fhc_probe()