Searched refs:guts_regs (Results 1 – 2 of 2) sorted by relevance
1001 struct ccsr_guts __iomem *guts_regs = NULL; in fsl_pamu_probe() local1063 guts_regs = of_iomap(guts_node, 0); in fsl_pamu_probe()1065 if (!guts_regs) { in fsl_pamu_probe()1143 pamubypenr = in_be32(&guts_regs->pamubypenr); in fsl_pamu_probe()1158 out_be32(&guts_regs->pamubypenr, pamubypenr); in fsl_pamu_probe()1160 iounmap(guts_regs); in fsl_pamu_probe()1185 if (guts_regs) in fsl_pamu_probe()1186 iounmap(guts_regs); in fsl_pamu_probe()
1842 struct ccsr_guts __iomem *guts_regs; in fman_reset() local1855 guts_regs = of_iomap(guts_node, 0); in fman_reset()1856 if (!guts_regs) { in fman_reset()1859 goto guts_regs; in fman_reset()1864 devdisr2 = ioread32be(&guts_regs->devdisr2); in fman_reset()1871 iowrite32be(reg, &guts_regs->devdisr2); in fman_reset()1885 iounmap(guts_regs); in fman_reset()1894 iowrite32be(devdisr2, &guts_regs->devdisr2); in fman_reset()1896 iounmap(guts_regs); in fman_reset()1903 guts_regs: in fman_reset()