Lines Matching +full:string +full:- +full:array +full:- +full:property
20 #include <linux/string.h>
29 #include <asm/pci-bridge.h>
31 #include <asm/ppc-pci.h>
77 * The ranges property is laid out as an array of elements, in pci_process_ISA_OF_ranges()
79 * cells 0 - 1: an ISA address in pci_process_ISA_OF_ranges()
80 * cells 2 - 4: a PCI address in pci_process_ISA_OF_ranges()
81 * (size depending on dev->n_addr_cells) in pci_process_ISA_OF_ranges()
84 if ((range->isa_addr.a_hi & ISA_SPACE_MASK) != ISA_SPACE_IO) { in pci_process_ISA_OF_ranges()
86 rlen -= sizeof(struct isa_range); in pci_process_ISA_OF_ranges()
90 if ((range->isa_addr.a_hi & ISA_SPACE_MASK) != ISA_SPACE_IO) in pci_process_ISA_OF_ranges()
93 isa_addr = range->isa_addr.a_lo; in pci_process_ISA_OF_ranges()
94 pci_addr = (unsigned long) range->pci_addr.a_mid << 32 | in pci_process_ISA_OF_ranges()
95 range->pci_addr.a_lo; in pci_process_ISA_OF_ranges()
108 size = PAGE_ALIGN(range->size); in pci_process_ISA_OF_ranges()
125 * isa_bridge_find_early - Find and map the ISA IO space early before
146 if (parent == hose->dn) { in isa_bridge_find_early()
161 /* Now parse the "ranges" property and setup the ISA mapping */ in isa_bridge_find_early()
162 pci_process_ISA_OF_ranges(np, hose->io_base_phys); in isa_bridge_find_early()
167 pr_debug("ISA bridge (early) is %s\n", np->full_name); in isa_bridge_find_early()
171 * isa_bridge_find_late - Find and map the ISA IO space upon discovery of
177 struct pci_controller *hose = pci_bus_to_host(pdev->bus); in isa_bridge_find_late()
183 /* Now parse the "ranges" property and setup the ISA mapping */ in isa_bridge_find_late()
184 pci_process_ISA_OF_ranges(devnode, hose->io_base_phys); in isa_bridge_find_late()
190 devnode->full_name, pci_name(pdev)); in isa_bridge_find_late()
194 * isa_bridge_remove - Remove/unmap an ISA bridge
217 * isa_bridge_notify - Get notified of PCI devices addition/removal
239 if (!isa_bridge_devnode && devnode && devnode->type && in isa_bridge_notify()
240 !strcmp(devnode->type, "isa")) in isa_bridge_notify()
259 * isa_bridge_init - register to be notified of ISA bridge addition/removal