Lines Matching refs:nroutes
68 pci_bios_get_irq_routing(pci_irq_route_t *routes, int nroutes, int *nneededp)
87 n = nroutes * sizeof (pci_irq_route_t);
113 if (n <= nroutes) {
128 int nroutes;
137 nroutes = pci_bios_get_irq_routing(routes, n, &nneeded);
138 if (nroutes == 0 && nneeded > n) {
149 nroutes = pci_bios_get_irq_routing(routes, n, NULL);
150 if (nroutes == 0) {
158 if (nroutes > 0) {
160 pci_irq_nroutes = nroutes;