Lines Matching defs:assigned

1398 	pci_regspec_t	*assigned;
1404 "assigned-addresses", (caddr_t)&assigned, &length)
1406 DEBUG1("Failed to get assigned-addresses property %llx\n", dip);
1415 if ((PCI_REG_REG_G(assigned[i].pci_phys_hi) ==
1420 } else if ((PCI_REG_REG_G(assigned[i].pci_phys_hi) ==
1425 } else if ((PCI_REG_REG_G(assigned[i].pci_phys_hi) ==
1435 space_type, assigned[i].pci_phys_low, assigned[i].pci_size_low);
1438 *boundbase = assigned[i].pci_phys_low;
1439 *boundlen = assigned[i].pci_size_low;
1442 kmem_free(assigned, length);
1949 * Now that memory locations are assigned,
1950 * update the assigned address property.
2143 * Now that memory locations are assigned,
2144 * update the assigned address property.
2169 pci_regspec_t *assigned;
2187 DDI_PROP_DONTPASS, "assigned-addresses", (caddr_t)&assigned,
2189 DEBUG0("Failed to read assigned-addresses property\n");
2195 kmem_free(assigned, length);
2222 if ((assigned[i].pci_size_low != 0)||
2223 (assigned[i].pci_size_hi != 0)) {
2225 request.ra_len = assigned[i].pci_size_low;
2227 switch (PCI_REG_ADDR_G(assigned[i].pci_phys_hi)) {
2230 assigned[i].pci_phys_low,
2231 assigned[i].pci_phys_mid);
2233 if (assigned[i].pci_phys_hi & PCI_REG_PF_M) {
2243 kmem_free(assigned, length);
2250 assigned[i].pci_phys_low;
2252 if (assigned[i].pci_phys_hi & PCI_REG_PF_M)
2261 kmem_free(assigned, length);
2268 assigned[i].pci_phys_low;
2275 kmem_free(assigned, length);
2282 kmem_free(assigned, length);
2289 kmem_free(assigned, length);
2586 * assigned-addresses but for now it is better to
2678 pci_regspec_t *assigned;
2685 "assigned-addresses", (caddr_t)&assigned, &length)
2687 DEBUG0("Failed to read assigned-addresses property\n");
2692 * For each "assigned-addresses" property entry with a length,
2703 if ((assigned[i].pci_size_low != 0)||
2704 (assigned[i].pci_size_hi != 0)) {
2705 switch (PCI_REG_ADDR_G(assigned[i].pci_phys_hi)) {
2708 * Check the assigned address for zero.
2711 * register. If the assigned address is
2715 if (assigned[i].pci_phys_low == 0)
2718 if (assigned[i].pci_phys_hi & PCI_REG_PF_M)
2724 (uint64_t)assigned[i].pci_phys_low,
2725 (uint64_t)assigned[i].pci_size_low,
2729 kmem_free(assigned, length);
2735 assigned[i].pci_size_low, mem_type,
2736 assigned[i].pci_phys_low,
2737 PCI_REG_REG_G(assigned[i].pci_phys_hi));
2741 if (assigned[i].pci_phys_hi & PCI_REG_PF_M)
2747 PCICFG_LADDR(assigned[i].pci_phys_low,
2748 assigned[i].pci_phys_mid),
2749 (uint64_t)assigned[i].pci_size_low,
2753 kmem_free(assigned, length);
2759 assigned[i].pci_size_low,
2760 mem_type, assigned[i].pci_phys_mid,
2761 assigned[i].pci_phys_low,
2762 PCI_REG_REG_G(assigned[i].pci_phys_hi));
2767 (uint64_t)assigned[i].pci_phys_low,
2768 (uint64_t)assigned[i].pci_size_low,
2773 kmem_free(assigned, length);
2777 "register 0x%x\n", assigned[i].pci_size_low,
2778 assigned[i].pci_phys_low,
2779 PCI_REG_REG_G(assigned[i].pci_phys_hi));
2783 kmem_free(assigned, length);
2788 kmem_free(assigned, length);
2904 pci_regspec_t *assigned;
2909 "assigned-addresses", (caddr_t)&assigned, &alen);
2914 DEBUG0("no memory for assigned-addresses property\n");
2918 "assigned-addresses", (int *)newone,
2925 * assigned-addresses(s) plus one and then
2931 bcopy(assigned, newreg, alen);
2935 * Write out the new "assigned-addresses" spec
2938 "assigned-addresses", (int *)newreg,
2942 kmem_free(assigned, alen);
3714 * later (after memory is assigned).
3968 * Add to "assigned-addresses" property
4022 * Add to "assigned-addresses" property
4890 DDI_PROP_DONTPASS, "assigned-addresses",
4892 DEBUG0("Node doesn't have assigned-addresses\n");