Lines Matching +full:qman +full:- +full:portal
1 /*-
2 * Copyright (c) 2011-2012 Semihalf.
42 #include "qman.h"
63 "qman",
68 EARLY_DRIVER_MODULE(qman, simplebus, qman_driver, 0, 0, BUS_PASS_SUPPORTDEV);
74 if (!ofw_bus_is_compatible(dev, "fsl,qman")) in qman_fdt_probe()
83 * QMAN Portals
85 #define QMAN_PORT_DEVSTR "Freescale Queue Manager - Portals"
100 "qman-portals",
114 OF_getencprop(node, "#address-cells", addrp, sizeof(*addrp)); in get_addr_props()
115 OF_getencprop(node, "#size-cells", sizep, sizeof(*sizep)); in get_addr_props()
123 if (ofw_bus_is_compatible(dev, "simple-bus")) { in qman_portals_fdt_probe()
126 if (ofw_bus_node_is_compatible(node, "fsl,qman-portal")) in qman_portals_fdt_probe()
131 } else if (!ofw_bus_is_compatible(dev, "fsl,qman-portals")) in qman_portals_fdt_probe()
146 if (node == -1) in qman_portal_find_cpu()
147 return (-1); in qman_portal_find_cpu()
155 return (-1); in qman_portal_find_cpu()
176 sc->sc_dev = dev; in qman_portals_fdt_attach()
204 sc->sc_dp_size = portal_size; in qman_portals_fdt_attach()
205 sc->sc_dp_pa = portal_pa; in qman_portals_fdt_attach()
211 if (!ofw_bus_node_is_compatible(child, "fsl,qman-portal")) { in qman_portals_fdt_attach()
215 if (OF_getprop(child, "cpu-handle", (void *)&cpu, in qman_portals_fdt_attach()