Searched refs:guts_regs (Results 1 – 2 of 2) sorted by relevance
747 struct ccsr_guts __iomem *guts_regs = NULL; in fsl_pamu_probe() local809 guts_regs = of_iomap(guts_node, 0); in fsl_pamu_probe()811 if (!guts_regs) { in fsl_pamu_probe()878 pamubypenr = in_be32(&guts_regs->pamubypenr); in fsl_pamu_probe()893 out_be32(&guts_regs->pamubypenr, pamubypenr); in fsl_pamu_probe()895 iounmap(guts_regs); in fsl_pamu_probe()914 if (guts_regs) in fsl_pamu_probe()915 iounmap(guts_regs); in fsl_pamu_probe()
1821 struct ccsr_guts __iomem *guts_regs; in fman_reset() local1834 guts_regs = of_iomap(guts_node, 0); in fman_reset()1835 if (!guts_regs) { in fman_reset()1838 goto guts_regs; in fman_reset()1843 devdisr2 = ioread32be(&guts_regs->devdisr2); in fman_reset()1850 iowrite32be(reg, &guts_regs->devdisr2); in fman_reset()1864 iounmap(guts_regs); in fman_reset()1873 iowrite32be(devdisr2, &guts_regs->devdisr2); in fman_reset()1875 iounmap(guts_regs); in fman_reset()1882 guts_regs: in fman_reset()