Lines Matching refs:pna
51 int na, int ns, int pna) in of_bus_pci_map() argument
60 if (of_out_of_range(addr + 1, range + 1, range + na + pna, in of_bus_pci_map()
65 memcpy(result, range + na, pna * 4); in of_bus_pci_map()
69 result[pna - 1 - i] += in of_bus_pci_map()
73 memcpy(addr, result, pna * 4); in of_bus_pci_map()
123 int na, int ns, int pna) in of_bus_ambapp_map() argument
125 return of_bus_default_map(addr, range, na, ns, pna); in of_bus_ambapp_map()
192 int na, int ns, int pna) in build_one_resource() argument
203 memset(result, 0, pna * 4); in build_one_resource()
205 result[pna - 1 - i] = in build_one_resource()
208 memcpy(addr, result, pna * 4); in build_one_resource()
214 rone = na + pna + ns; in build_one_resource()
216 if (!bus->map(addr, ranges, na, ns, pna)) in build_one_resource()
284 int pna, pns; in build_device_resources() local
310 pbus->count_cells(dp, &pna, &pns); in build_device_resources()
313 dna, dns, pna)) in build_device_resources()
318 dna = pna; in build_device_resources()