Home
last modified time | relevance | path

Searched refs:pna (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/of/
A Dfdt_address.c43 int na, int ns, int pna);
71 int na, int ns, int pna) in fdt_bus_default_map() argument
76 s = of_read_number(range + na + pna, ns); in fdt_bus_default_map()
124 memset(addr, 0, pna * 4); in fdt_translate_one()
133 rone = na + pna + ns; in fdt_translate_one()
143 memcpy(addr, ranges + na, 4 * pna); in fdt_translate_one()
150 return pbus->translate(addr, offset, pna); in fdt_translate_one()
169 int na, ns, pna, pns; in fdt_translate_address() local
217 if (!OF_CHECK_COUNTS(pna, pns)) { in fdt_translate_address()
228 addr, na, ns, pna, "ranges")) in fdt_translate_address()
[all …]
A Daddress.c51 int na, int ns, int pna);
71 int na, int ns, int pna) in of_bus_default_map() argument
168 int pna) in of_bus_pci_map() argument
285 int pna) in of_bus_isa_map() argument
430 memset(addr, 0, pna * 4); in of_translate_one()
439 rone = na + pna + ns; in of_translate_one()
449 memcpy(addr, ranges + na, 4 * pna); in of_translate_one()
481 int na, ns, pna, pns; in __of_translate_address() local
540 if (!OF_CHECK_COUNTS(pna, pns)) { in __of_translate_address()
553 na = pna; in __of_translate_address()
[all …]
/linux-6.3-rc2/arch/sparc/kernel/
A Dof_device_32.c51 int na, int ns, int pna) in of_bus_pci_map() argument
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
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()
284 int pna, pns; in build_device_resources() local
313 dna, dns, pna)) in build_device_resources()
[all …]
A Dof_device_64.c89 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
132 result[pna - 1 - i] += in of_bus_pci_map()
136 memcpy(addr, result, pna * 4); in of_bus_pci_map()
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()
362 int pna, pns; in build_device_resources() local
390 dna, dns, pna)) in build_device_resources()
[all …]
A Dof_device_common.c113 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna) in of_bus_default_map() argument
123 if (of_out_of_range(addr, range, range + na + pna, na, ns)) in of_bus_default_map()
127 memcpy(result, range + na, pna * 4); in of_bus_default_map()
131 result[pna - 1 - i] += in of_bus_default_map()
135 memcpy(addr, result, pna * 4); in of_bus_default_map()
A Dof_device_common.h17 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna);
33 int na, int ns, int pna);
/linux-6.3-rc2/arch/powerpc/kernel/
A Disa-bridge.c191 u32 na, ns, pna; in isa_bridge_init_non_pci() local
198 pna = of_n_addr_cells(np); in isa_bridge_init_non_pci()
212 rs = na + ns + pna; in isa_bridge_init_non_pci()
227 size = of_read_number(ranges + i + na + pna, ns); in isa_bridge_init_non_pci()
/linux-6.3-rc2/drivers/bus/
A Duniphier-system-bus.c182 int pna, bank, rlen, rone, ret; in uniphier_system_bus_probe() local
194 pna = of_n_addr_cells(dev->of_node); in uniphier_system_bus_probe()
223 rone = pna + 2; in uniphier_system_bus_probe()
231 ranges += pna; in uniphier_system_bus_probe()
/linux-6.3-rc2/arch/powerpc/platforms/cell/
A Diommu.c802 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local
830 pna = of_n_addr_cells(np); in cell_iommu_get_fixed_address()
831 range_size = naddr + nsize + pna; in cell_iommu_get_fixed_address()
840 size = of_read_number(ranges + i + naddr + pna, nsize); in cell_iommu_get_fixed_address()
/linux-6.3-rc2/include/linux/
A Dof_address.h18 int pna; member
/linux-6.3-rc2/drivers/pci/controller/
A Dpci-mvebu.c1185 int rlen, nranges, rangesz, pna, i; in mvebu_get_tgt_attr() local
1194 pna = of_n_addr_cells(np); in mvebu_get_tgt_attr()
1195 rangesz = pna + na + ns; in mvebu_get_tgt_attr()
1201 u64 cpuaddr = of_read_number(range + na, pna); in mvebu_get_tgt_attr()
/linux-6.3-rc2/arch/powerpc/platforms/4xx/
A Dpci.c99 int pna = of_n_addr_cells(hose->dn); in ppc4xx_parse_dma_ranges() local
100 int np = pna + 5; in ppc4xx_parse_dma_ranges()
118 size = of_read_number(ranges + pna + 3, 2); in ppc4xx_parse_dma_ranges()

Completed in 33 milliseconds