Lines Matching full:na
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()
61 na - 1, ns)) in of_bus_pci_map()
65 memcpy(result, range + na, pna * 4); in of_bus_pci_map()
68 for (i = 0; i < na - 1; i++) in of_bus_pci_map()
70 (addr[na - 1 - i] - in of_bus_pci_map()
71 range[na - 1 - i]); 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
204 for (i = 0; i < na; i++) in build_one_resource()
206 addr[na - 1 - i]; 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()
251 int na, ns; in build_device_resources() local
260 bus->count_cells(op->dev.of_node, &na, &ns); in build_device_resources()
270 num_reg /= na + ns; in build_device_resources()
277 const u32 *reg = (preg + (index * ((na + ns) * 4))); in build_device_resources()
286 size = of_read_addr(reg + na, ns); in build_device_resources()
288 memcpy(addr, reg, na * 4); in build_device_resources()
293 result = of_read_addr(addr, na); in build_device_resources()
297 dna = na; in build_device_resources()