Lines Matching defs:newregs

1323 	pci_regspec_t	*regs, *newregs;
1352 newregs = kmem_alloc(rlen + sizeof (pci_regspec_t), KM_SLEEP);
1386 newregs[j].pci_phys_hi = regs[i].pci_phys_hi;
1387 newregs[j].pci_phys_mid =
1389 newregs[j].pci_phys_low =
1391 newregs[j].pci_size_hi = (uint32_t)(dlen >> 32);
1392 newregs[j].pci_size_low = (uint32_t)dlen;
1398 newregs[j].pci_phys_hi = regs[i].pci_phys_hi;
1399 newregs[j].pci_phys_mid =
1401 newregs[j].pci_phys_low =
1403 newregs[j].pci_size_hi = (uint32_t)(dlen >> 32);
1404 newregs[j].pci_size_low = (uint32_t)dlen;
1415 newregs[j] = regs[k];
1423 newregs[j] = regs[i];
1438 kmem_free(newregs, rlen + sizeof (pci_regspec_t));
1457 "available", (int *)newregs,
1461 kmem_free(newregs, rlen + sizeof (pci_regspec_t));
1474 pci_regspec_t *regs, *newregs;
1514 newregs = kmem_alloc(rlen + sizeof (pci_regspec_t), KM_SLEEP);
1600 newregs[j].pci_phys_hi = regs[i].pci_phys_hi;
1601 newregs[j].pci_phys_mid =
1603 newregs[j].pci_phys_low = (uint32_t)(base);
1604 newregs[j].pci_size_hi = (uint32_t)(len >> 32);
1605 newregs[j].pci_size_low = (uint32_t)len;
1614 newregs[k].pci_phys_hi = regs[i].pci_phys_hi;
1615 newregs[k].pci_phys_mid =
1617 newregs[k].pci_phys_low = (uint32_t)(base);
1618 newregs[k].pci_size_hi = (uint32_t)(len >> 32);
1619 newregs[k].pci_size_low = (uint32_t)len;
1625 newregs[j] = regs[i];
1638 newregs[j].pci_phys_hi = type;
1639 newregs[j].pci_phys_hi |= PCI_REG_REL_M;
1641 newregs[j].pci_phys_mid = (uint32_t)(base >> 32);
1642 newregs[j].pci_phys_low = (uint32_t)base;
1643 newregs[j].pci_size_hi = (uint32_t)(len >> 32);
1644 newregs[j].pci_size_low = (uint32_t)len;
1650 "available", (int *)newregs,
1653 kmem_free(newregs, rlen + sizeof (pci_regspec_t));
1661 newregs = kmem_alloc(sizeof (pci_regspec_t), KM_SLEEP);
1667 newregs[0].pci_phys_hi = type;
1668 newregs[0].pci_phys_hi |= PCI_REG_REL_M;
1670 newregs[0].pci_phys_mid = (uint32_t)(base >> 32);
1671 newregs[0].pci_phys_low = (uint32_t)base;
1672 newregs[0].pci_size_hi = (uint32_t)(len >> 32);
1673 newregs[0].pci_size_low = (uint32_t)len;
1676 "available", (int *)newregs,
1678 kmem_free(newregs, sizeof (pci_regspec_t));
1682 kmem_free(newregs, rlen + sizeof (pci_regspec_t));