Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/of/
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()
112 int na, int ns, int pna, const char *rprop) in fdt_translate_one() argument
124 memset(addr, 0, pna * 4); in fdt_translate_one()
133 rone = na + pna + ns; in fdt_translate_one()
135 offset = bus->map(addr, ranges, na, ns, pna); in fdt_translate_one()
143 memcpy(addr, ranges + na, 4 * pna); in fdt_translate_one()
146 of_dump_addr("parent translation for:", addr, pna); in fdt_translate_one()
150 return pbus->translate(addr, offset, pna); in fdt_translate_one()
[all …]
Daddress.c51 int na, int ns, int pna);
71 int na, int ns, int pna) in of_bus_default_map() argument
76 s = of_read_number(range + na + pna, ns); in of_bus_default_map()
168 int pna) in of_bus_pci_map() argument
182 s = of_read_number(range + na + pna, ns); in of_bus_pci_map()
285 int pna) in of_bus_isa_map() argument
295 s = of_read_number(range + na + pna, ns); in of_bus_isa_map()
396 int na, int ns, int pna, const char *rprop) in of_translate_one() argument
430 memset(addr, 0, pna * 4); in of_translate_one()
439 rone = na + pna + ns; in of_translate_one()
[all …]
/linux-5.19.10/arch/sparc/kernel/
Dof_device_32.c51 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()
[all …]
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
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()
[all …]
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()
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-5.19.10/arch/powerpc/kernel/
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-5.19.10/drivers/bus/
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-5.19.10/arch/powerpc/platforms/cell/
Diommu.c800 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local
828 pna = of_n_addr_cells(np); in cell_iommu_get_fixed_address()
829 range_size = naddr + nsize + pna; in cell_iommu_get_fixed_address()
838 size = of_read_number(ranges + i + naddr + pna, nsize); in cell_iommu_get_fixed_address()
/linux-5.19.10/include/linux/
Dof_address.h18 int pna; member
/linux-5.19.10/drivers/pci/controller/
Dpci-mvebu.c1183 int rlen, nranges, rangesz, pna, i; in mvebu_get_tgt_attr() local
1192 pna = of_n_addr_cells(np); in mvebu_get_tgt_attr()
1193 rangesz = pna + na + ns; in mvebu_get_tgt_attr()
1199 u64 cpuaddr = of_read_number(range + na, pna); in mvebu_get_tgt_attr()
/linux-5.19.10/arch/powerpc/platforms/4xx/
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()