/arch/sparc/kernel/ |
D | of_device_32.c | 95 int na, int ns, int pna); 129 int na, int ns, int pna) in of_bus_default_map() argument 139 if (of_out_of_range(addr, range, range + na + pna, na, ns)) in of_bus_default_map() 143 memcpy(result, range + na, pna * 4); in of_bus_default_map() 147 result[pna - 1 - i] += in of_bus_default_map() 151 memcpy(addr, result, pna * 4); in of_bus_default_map() 195 int na, int ns, int pna) in of_bus_pci_map() argument 204 if (of_out_of_range(addr + 1, range + 1, range + na + pna, in of_bus_pci_map() 209 memcpy(result, range + na, pna * 4); in of_bus_pci_map() 213 result[pna - 1 - i] += in of_bus_pci_map() [all …]
|
D | of_device_64.c | 121 int na, int ns, int pna); 155 int na, int ns, int pna) in of_bus_default_map() argument 165 if (of_out_of_range(addr, range, range + na + pna, na, ns)) in of_bus_default_map() 169 memcpy(result, range + na, pna * 4); in of_bus_default_map() 173 result[pna - 1 - i] += in of_bus_default_map() 177 memcpy(addr, result, pna * 4); in of_bus_default_map() 235 int na, int ns, int pna) in of_bus_simba_map() argument 250 int na, int ns, int pna) in of_bus_pci_map() argument 259 if (of_out_of_range(addr + 1, range + 1, range + na + pna, in of_bus_pci_map() 264 memcpy(result, range + na, pna * 4); in of_bus_pci_map() [all …]
|
/arch/powerpc/kernel/ |
D | prom_parse.c | 57 int na, int ns, int pna); 77 int na, int ns, int pna) in of_bus_default_map() argument 82 s = of_read_number(range + na + pna, ns); in of_bus_default_map() 150 static u64 of_bus_pci_map(u32 *addr, const u32 *range, int na, int ns, int pna) in of_bus_pci_map() argument 164 s = of_read_number(range + na + pna, ns); in of_bus_pci_map() 334 static u64 of_bus_isa_map(u32 *addr, const u32 *range, int na, int ns, int pna) in of_bus_isa_map() argument 344 s = of_read_number(range + na + pna, ns); in of_bus_isa_map() 424 int na, int ns, int pna, const char *rprop) in of_translate_one() argument 446 memset(addr, 0, pna * 4); in of_translate_one() 455 rone = na + pna + ns; in of_translate_one() [all …]
|
D | pci-common.c | 677 int pna = of_n_addr_cells(dev); in pci_process_bridge_OF_ranges() local 678 int np = pna + 5; in pci_process_bridge_OF_ranges() 699 size = of_read_number(ranges + pna + 3, 2); in pci_process_bridge_OF_ranges() 720 size += of_read_number(ranges + pna + 3, 2); in pci_process_bridge_OF_ranges()
|
/arch/powerpc/platforms/cell/ |
D | iommu.c | 905 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local 929 pna = of_n_addr_cells(np); in cell_iommu_get_fixed_address() 930 range_size = naddr + nsize + pna; in cell_iommu_get_fixed_address() 939 size = of_read_number(ranges + i + naddr + pna, nsize); in cell_iommu_get_fixed_address()
|
/arch/powerpc/sysdev/ |
D | ppc4xx_pci.c | 98 int pna = of_n_addr_cells(hose->dn); in ppc4xx_parse_dma_ranges() local 99 int np = pna + 5; in ppc4xx_parse_dma_ranges() 117 size = of_read_number(ranges + pna + 3, 2); in ppc4xx_parse_dma_ranges()
|