Lines Matching full:pamu
7 #define pr_fmt(fmt) "fsl-pamu: %s: " fmt, __func__
29 void __iomem *pamu_reg_base; /* Base address of PAMU regs */
36 static bool probed; /* Has PAMU been probed? */
363 * table where each table index corresponds to a particular device. PAMU uses
402 * and subwindows supported by PAMU
413 /* Setup PAMU registers pointing to PAACT, SPAACT and OMT */
446 * set PAMU enable bit, in setup_one_pamu()
448 * & enable PAMU access violation interrupts. in setup_one_pamu()
767 * enumerate all PAMUs and allocate and setup PAMU tables in fsl_pamu_probe()
777 dev_err(dev, "ioremap of PAMU node failed\n"); in fsl_pamu_probe()
784 dev_warn(dev, "no interrupts listed in PAMU node\n"); in fsl_pamu_probe()
797 ret = request_irq(irq, pamu_av_isr, 0, "pamu", data); in fsl_pamu_probe()
818 /* read in the PAMU capability registers */ in fsl_pamu_probe()
887 /* Disable PAMU bypass for this PAMU */ in fsl_pamu_probe()
893 /* Enable all relevant PAMU(s) */ in fsl_pamu_probe()
928 .name = "fsl-of-pamu",
942 * too late for us, because PAMU clients (like the Qman driver) in fsl_pamu_init()
943 * depend on PAMU being initialized early. in fsl_pamu_init()
950 * We assume that there is only one PAMU node in the device tree. A in fsl_pamu_init()
951 * single PAMU node represents all of the PAMU devices in the SOC in fsl_pamu_init()
953 * binding for the PAMU nodes doesn't allow for any parent-child in fsl_pamu_init()
955 * PAMU node would require significant changes to a lot of code. in fsl_pamu_init()
958 np = of_find_compatible_node(NULL, NULL, "fsl,pamu"); in fsl_pamu_init()
960 pr_err("could not find a PAMU node\n"); in fsl_pamu_init()
970 pdev = platform_device_alloc("fsl-of-pamu", 0); in fsl_pamu_init()