Lines Matching full:pamu
7 #define pr_fmt(fmt) "fsl-pamu: %s: " fmt, __func__
26 void __iomem *pamu_reg_base; /* Base address of PAMU regs */
33 static bool probed; /* Has PAMU been probed? */
616 * table where each table index corresponds to a particular device. PAMU uses
655 * and subwindows supported by PAMU
666 /* Setup PAMU registers pointing to PAACT, SPAACT and OMT */
699 * set PAMU enable bit, in setup_one_pamu()
701 * & enable PAMU access violation interrupts. in setup_one_pamu()
1020 * enumerate all PAMUs and allocate and setup PAMU tables in fsl_pamu_probe()
1030 dev_err(dev, "ioremap of PAMU node failed\n"); in fsl_pamu_probe()
1037 dev_warn(dev, "no interrupts listed in PAMU node\n"); in fsl_pamu_probe()
1050 ret = request_irq(irq, pamu_av_isr, 0, "pamu", data); in fsl_pamu_probe()
1071 /* read in the PAMU capability registers */ in fsl_pamu_probe()
1151 /* Disable PAMU bypass for this PAMU */ in fsl_pamu_probe()
1157 /* Enable all relevant PAMU(s) */ in fsl_pamu_probe()
1195 .name = "fsl-of-pamu",
1209 * too late for us, because PAMU clients (like the Qman driver) in fsl_pamu_init()
1210 * depend on PAMU being initialized early. in fsl_pamu_init()
1217 * We assume that there is only one PAMU node in the device tree. A in fsl_pamu_init()
1218 * single PAMU node represents all of the PAMU devices in the SOC in fsl_pamu_init()
1220 * binding for the PAMU nodes doesn't allow for any parent-child in fsl_pamu_init()
1222 * PAMU node would require significant changes to a lot of code. in fsl_pamu_init()
1225 np = of_find_compatible_node(NULL, NULL, "fsl,pamu"); in fsl_pamu_init()
1227 pr_err("could not find a PAMU node\n"); in fsl_pamu_init()
1237 pdev = platform_device_alloc("fsl-of-pamu", 0); in fsl_pamu_init()