Lines Matching refs:pna
89 int na, int ns, int pna) in of_bus_simba_map() argument
104 int na, int ns, int pna) in of_bus_pci_map() argument
123 if (of_out_of_range(addr + 1, range + 1, range + na + pna, in of_bus_pci_map()
128 memcpy(result, range + na, pna * 4); in of_bus_pci_map()
132 result[pna - 1 - i] += in of_bus_pci_map()
136 memcpy(addr, result, pna * 4); in of_bus_pci_map()
246 int na, int ns, int pna) in build_one_resource() argument
256 memset(result, 0, pna * 4); in build_one_resource()
258 result[pna - 1 - i] = in build_one_resource()
261 memcpy(addr, result, pna * 4); in build_one_resource()
267 rone = na + pna + ns; in build_one_resource()
269 if (!bus->map(addr, ranges, na, ns, pna)) in build_one_resource()
362 int pna, pns; in build_device_resources() local
387 pbus->count_cells(dp, &pna, &pns); in build_device_resources()
390 dna, dns, pna)) in build_device_resources()
395 dna = pna; in build_device_resources()