Searched refs:guts_regs (Results 1 – 2 of 2) sorted by relevance
748 struct ccsr_guts __iomem *guts_regs = NULL; in fsl_pamu_probe() local810 guts_regs = of_iomap(guts_node, 0); in fsl_pamu_probe()812 if (!guts_regs) { in fsl_pamu_probe()879 pamubypenr = in_be32(&guts_regs->pamubypenr); in fsl_pamu_probe()894 out_be32(&guts_regs->pamubypenr, pamubypenr); in fsl_pamu_probe()896 iounmap(guts_regs); in fsl_pamu_probe()915 if (guts_regs) in fsl_pamu_probe()916 iounmap(guts_regs); in fsl_pamu_probe()
1822 struct ccsr_guts __iomem *guts_regs; in fman_reset() local1835 guts_regs = of_iomap(guts_node, 0); in fman_reset()1836 if (!guts_regs) { in fman_reset()1839 goto guts_regs; in fman_reset()1844 devdisr2 = ioread32be(&guts_regs->devdisr2); in fman_reset()1851 iowrite32be(reg, &guts_regs->devdisr2); in fman_reset()1865 iounmap(guts_regs); in fman_reset()1874 iowrite32be(devdisr2, &guts_regs->devdisr2); in fman_reset()1876 iounmap(guts_regs); in fman_reset()1883 guts_regs: in fman_reset()