Lines Matching refs:pamu_regs
418 struct pamu_mmap_regs *pamu_regs; in setup_one_pamu() local
421 pamu_regs = (struct pamu_mmap_regs *) in setup_one_pamu()
426 out_be32(&pamu_regs->ppbah, upper_32_bits(ppaact_phys)); in setup_one_pamu()
427 out_be32(&pamu_regs->ppbal, lower_32_bits(ppaact_phys)); in setup_one_pamu()
429 out_be32(&pamu_regs->pplah, upper_32_bits(ppaact_phys)); in setup_one_pamu()
430 out_be32(&pamu_regs->pplal, lower_32_bits(ppaact_phys)); in setup_one_pamu()
432 out_be32(&pamu_regs->spbah, upper_32_bits(spaact_phys)); in setup_one_pamu()
433 out_be32(&pamu_regs->spbal, lower_32_bits(spaact_phys)); in setup_one_pamu()
435 out_be32(&pamu_regs->splah, upper_32_bits(spaact_phys)); in setup_one_pamu()
436 out_be32(&pamu_regs->splal, lower_32_bits(spaact_phys)); in setup_one_pamu()
438 out_be32(&pamu_regs->obah, upper_32_bits(omt_phys)); in setup_one_pamu()
439 out_be32(&pamu_regs->obal, lower_32_bits(omt_phys)); in setup_one_pamu()
441 out_be32(&pamu_regs->olah, upper_32_bits(omt_phys)); in setup_one_pamu()
442 out_be32(&pamu_regs->olal, lower_32_bits(omt_phys)); in setup_one_pamu()
746 void __iomem *pamu_regs = NULL; in fsl_pamu_probe() local
774 pamu_regs = of_iomap(dev->of_node, 0); in fsl_pamu_probe()
775 if (!pamu_regs) { in fsl_pamu_probe()
792 data->pamu_reg_base = pamu_regs; in fsl_pamu_probe()
818 get_pamu_cap_values((unsigned long)pamu_regs); in fsl_pamu_probe()
883 pamu_reg_base = (unsigned long)pamu_regs + pamu_reg_off; in fsl_pamu_probe()
911 if (pamu_regs) in fsl_pamu_probe()
912 iounmap(pamu_regs); in fsl_pamu_probe()