Lines Matching refs:reg_spec
339 pci_regspec_t *reg_spec, *addr_spec;
374 reg_spec = kmem_alloc(new_rsize, KM_SLEEP);
377 (caddr_t)reg_spec, &orig_rsize) != DDI_SUCCESS)
383 if ((reg_spec[rnum].pci_phys_hi & PCI_ADDR_MASK) ==
408 reg_spec[rnum].pci_phys_hi = (addr_spec[anum].pci_phys_hi &
410 reg_spec[rnum].pci_phys_mid = 0;
411 reg_spec[rnum].pci_phys_low = 0;
412 reg_spec[rnum].pci_size_hi = addr_spec[anum].pci_size_hi;
413 reg_spec[rnum].pci_size_low = addr_spec[anum].pci_size_low;
415 /* Create the new reg_spec data and update the property */
417 (int *)reg_spec, (new_rsize / sizeof (int))) != DDI_SUCCESS)
471 kmem_free(reg_spec, new_rsize);