Lines Matching refs:assigned
1497 pci_regspec_t *assigned; in pcicfg_get_ntbridge_child_range() local
1503 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_get_ntbridge_child_range()
1514 if ((PCI_REG_REG_G(assigned[i].pci_phys_hi) == in pcicfg_get_ntbridge_child_range()
1520 if ((PCI_REG_REG_G(assigned[i].pci_phys_hi) == in pcicfg_get_ntbridge_child_range()
1530 space_type, assigned[i].pci_phys_low, assigned[i].pci_size_low); in pcicfg_get_ntbridge_child_range()
1533 *boundbase = assigned[i].pci_phys_low; in pcicfg_get_ntbridge_child_range()
1534 *boundlen = assigned[i].pci_size_low; in pcicfg_get_ntbridge_child_range()
1537 kmem_free(assigned, length); in pcicfg_get_ntbridge_child_range()
2245 pci_regspec_t *assigned; in pcicfg_device_assign_readonly() local
2257 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_device_assign_readonly()
2268 kmem_free((caddr_t)assigned, length); in pcicfg_device_assign_readonly()
2294 if ((assigned[i].pci_size_low != 0)|| in pcicfg_device_assign_readonly()
2295 (assigned[i].pci_size_hi != 0)) { in pcicfg_device_assign_readonly()
2297 request.ra_len = assigned[i].pci_size_low; in pcicfg_device_assign_readonly()
2299 switch (PCI_REG_ADDR_G(assigned[i].pci_phys_hi)) { in pcicfg_device_assign_readonly()
2302 assigned[i].pci_phys_low, in pcicfg_device_assign_readonly()
2303 assigned[i].pci_phys_mid); in pcicfg_device_assign_readonly()
2311 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2318 assigned[i].pci_phys_low; in pcicfg_device_assign_readonly()
2326 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2333 assigned[i].pci_phys_low; in pcicfg_device_assign_readonly()
2341 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2348 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2355 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2915 pci_regspec_t *assigned; in pcicfg_free_device_resources() local
2922 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_free_device_resources()
2940 if ((PCI_REG_REG_G(assigned[i].pci_phys_hi) > PCI_CONF_BASE5) && in pcicfg_free_device_resources()
2941 (PCI_REG_REG_G(assigned[i].pci_phys_hi) != PCI_CONF_ROM)) in pcicfg_free_device_resources()
2944 if (pcicfg_free_resource(dip, assigned[i], flags)) { in pcicfg_free_device_resources()
2946 "%x\n", assigned[i].pci_phys_hi); in pcicfg_free_device_resources()
2950 kmem_free((caddr_t)assigned, length); in pcicfg_free_device_resources()
2955 kmem_free(assigned, length); in pcicfg_free_device_resources()
3072 pci_regspec_t *assigned; in pcicfg_update_assigned_prop() local
3078 "assigned-addresses", (caddr_t)&assigned, &alen); in pcicfg_update_assigned_prop()
3103 bcopy(assigned, newreg, alen); in pcicfg_update_assigned_prop()
3118 kmem_free((caddr_t)assigned, alen); in pcicfg_update_assigned_prop()
6163 pci_regspec_t *assigned; in pcicfg_free_all_resources() local
6169 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_free_all_resources()
6178 if (pcicfg_free_resource(dip, assigned[i], 0)) { in pcicfg_free_all_resources()
6182 kmem_free((caddr_t)assigned, assigned_len); in pcicfg_free_all_resources()
6191 kmem_free((caddr_t)assigned, assigned_len); in pcicfg_free_all_resources()
6198 pci_regspec_t *assigned, *reg; in pcicfg_alloc_new_resources() local
6216 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_alloc_new_resources()
6235 if (assigned[j].pci_phys_hi == reg[i].pci_phys_hi) { in pcicfg_alloc_new_resources()
6244 assigned[j].pci_size_low) { in pcicfg_alloc_new_resources()
6251 assigned[j].pci_phys_hi, in pcicfg_alloc_new_resources()
6252 assigned[j].pci_size_low, in pcicfg_alloc_new_resources()
6259 assigned[j], 0); in pcicfg_alloc_new_resources()
6264 assigned[j].pci_phys_hi, in pcicfg_alloc_new_resources()
6265 assigned[j].pci_size_low, in pcicfg_alloc_new_resources()
6276 if (PCI_REG_BDFR_G(assigned[j].pci_phys_hi) == in pcicfg_alloc_new_resources()
6281 "reg 0x%x\n", assigned[j].pci_phys_hi, in pcicfg_alloc_new_resources()
6287 assigned[j].pci_phys_hi) != in pcicfg_alloc_new_resources()
6304 assigned[j], 0); in pcicfg_alloc_new_resources()
6307 assigned[j].pci_size_low); in pcicfg_alloc_new_resources()
6330 kmem_free((caddr_t)assigned, in pcicfg_alloc_new_resources()
6342 kmem_free((caddr_t)assigned, assigned_len); in pcicfg_alloc_new_resources()
6359 pci_regspec_t *assigned; in pcicfg_alloc_resource() local
6363 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_alloc_resource()
6375 if (assigned[i].pci_phys_hi == phys_spec.pci_phys_hi) { in pcicfg_alloc_resource()
6377 assigned[i].pci_phys_hi); in pcicfg_alloc_resource()
6378 kmem_free(assigned, assigned_len); in pcicfg_alloc_resource()
6382 kmem_free(assigned, assigned_len); in pcicfg_alloc_resource()
6664 pci_regspec_t *assigned, *assigned_copy; in pcicfg_remove_assigned_prop() local
6668 "assigned-addresses", (caddr_t)&assigned, &alen); in pcicfg_remove_assigned_prop()
6684 bcopy(assigned, assigned_copy, alen); in pcicfg_remove_assigned_prop()
6700 kmem_free((caddr_t)assigned, alen); in pcicfg_remove_assigned_prop()
6725 kmem_free((caddr_t)assigned, alen); in pcicfg_remove_assigned_prop()