/linux-5.19.10/drivers/of/ |
D | fdt_address.c | 43 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 …]
|
D | address.c | 51 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/ |
D | of_device_32.c | 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() [all …]
|
D | of_device_64.c | 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() [all …]
|
D | of_device_common.c | 113 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()
|
D | of_device_common.h | 17 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/ |
D | isa-bridge.c | 191 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/ |
D | uniphier-system-bus.c | 182 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/ |
D | iommu.c | 800 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/ |
D | of_address.h | 18 int pna; member
|
/linux-5.19.10/drivers/pci/controller/ |
D | pci-mvebu.c | 1183 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/ |
D | pci.c | 99 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()
|