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()
2243 pci_regspec_t *assigned; in pcicfg_device_assign_readonly() local
2255 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_device_assign_readonly()
2266 kmem_free((caddr_t)assigned, length); in pcicfg_device_assign_readonly()
2292 if ((assigned[i].pci_size_low != 0)|| in pcicfg_device_assign_readonly()
2293 (assigned[i].pci_size_hi != 0)) { in pcicfg_device_assign_readonly()
2295 request.ra_len = assigned[i].pci_size_low; in pcicfg_device_assign_readonly()
2297 switch (PCI_REG_ADDR_G(assigned[i].pci_phys_hi)) { in pcicfg_device_assign_readonly()
2300 assigned[i].pci_phys_low, in pcicfg_device_assign_readonly()
2301 assigned[i].pci_phys_mid); in pcicfg_device_assign_readonly()
2309 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2316 assigned[i].pci_phys_low; in pcicfg_device_assign_readonly()
2324 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2331 assigned[i].pci_phys_low; in pcicfg_device_assign_readonly()
2339 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2346 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2353 kmem_free(assigned, length); in pcicfg_device_assign_readonly()
2910 pci_regspec_t *assigned; in pcicfg_free_device_resources() local
2917 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_free_device_resources()
2935 if ((PCI_REG_REG_G(assigned[i].pci_phys_hi) > PCI_CONF_BASE5) && in pcicfg_free_device_resources()
2936 (PCI_REG_REG_G(assigned[i].pci_phys_hi) != PCI_CONF_ROM)) in pcicfg_free_device_resources()
2939 if (pcicfg_free_resource(dip, assigned[i], flags)) { in pcicfg_free_device_resources()
2941 "%x\n", assigned[i].pci_phys_hi); in pcicfg_free_device_resources()
2945 kmem_free((caddr_t)assigned, length); in pcicfg_free_device_resources()
2950 kmem_free(assigned, length); in pcicfg_free_device_resources()
3066 pci_regspec_t *assigned; in pcicfg_update_assigned_prop() local
3072 "assigned-addresses", (caddr_t)&assigned, &alen); in pcicfg_update_assigned_prop()
3097 bcopy(assigned, newreg, alen); in pcicfg_update_assigned_prop()
3112 kmem_free((caddr_t)assigned, alen); in pcicfg_update_assigned_prop()
6166 pci_regspec_t *assigned; in pcicfg_free_all_resources() local
6172 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_free_all_resources()
6181 if (pcicfg_free_resource(dip, assigned[i], 0)) { in pcicfg_free_all_resources()
6185 kmem_free((caddr_t)assigned, assigned_len); in pcicfg_free_all_resources()
6194 kmem_free((caddr_t)assigned, assigned_len); in pcicfg_free_all_resources()
6201 pci_regspec_t *assigned, *reg; in pcicfg_alloc_new_resources() local
6219 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_alloc_new_resources()
6238 if (assigned[j].pci_phys_hi == reg[i].pci_phys_hi) { in pcicfg_alloc_new_resources()
6247 assigned[j].pci_size_low) { in pcicfg_alloc_new_resources()
6254 assigned[j].pci_phys_hi, in pcicfg_alloc_new_resources()
6255 assigned[j].pci_size_low, in pcicfg_alloc_new_resources()
6262 assigned[j], 0); in pcicfg_alloc_new_resources()
6267 assigned[j].pci_phys_hi, in pcicfg_alloc_new_resources()
6268 assigned[j].pci_size_low, in pcicfg_alloc_new_resources()
6279 if (PCI_REG_BDFR_G(assigned[j].pci_phys_hi) == in pcicfg_alloc_new_resources()
6284 "reg 0x%x\n", assigned[j].pci_phys_hi, in pcicfg_alloc_new_resources()
6290 assigned[j].pci_phys_hi) != in pcicfg_alloc_new_resources()
6307 assigned[j], 0); in pcicfg_alloc_new_resources()
6310 assigned[j].pci_size_low); in pcicfg_alloc_new_resources()
6333 kmem_free((caddr_t)assigned, in pcicfg_alloc_new_resources()
6345 kmem_free((caddr_t)assigned, assigned_len); in pcicfg_alloc_new_resources()
6362 pci_regspec_t *assigned; in pcicfg_alloc_resource() local
6366 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned, in pcicfg_alloc_resource()
6378 if (assigned[i].pci_phys_hi == phys_spec.pci_phys_hi) { in pcicfg_alloc_resource()
6380 assigned[i].pci_phys_hi); in pcicfg_alloc_resource()
6381 kmem_free(assigned, assigned_len); in pcicfg_alloc_resource()
6385 kmem_free(assigned, assigned_len); in pcicfg_alloc_resource()
6667 pci_regspec_t *assigned, *assigned_copy; in pcicfg_remove_assigned_prop() local
6671 "assigned-addresses", (caddr_t)&assigned, &alen); in pcicfg_remove_assigned_prop()
6687 bcopy(assigned, assigned_copy, alen); in pcicfg_remove_assigned_prop()
6703 kmem_free((caddr_t)assigned, alen); in pcicfg_remove_assigned_prop()
6728 kmem_free((caddr_t)assigned, alen); in pcicfg_remove_assigned_prop()