/arch/ia64/sn/pci/pcibr/ |
D | pcibr_dma.c | 56 u64 pci_addr; in pcibr_dmamap_ate32() local 113 pci_addr = PCI32_MAPPED_BASE + offset + IOPGSIZE * ate_index; in pcibr_dmamap_ate32() 120 ATE_SWAP_ON(pci_addr); in pcibr_dmamap_ate32() 123 return pci_addr; in pcibr_dmamap_ate32() 132 u64 pci_addr; in pcibr_dmatrans_direct64() local 136 pci_addr = IS_PIC_SOFT(pcibus_info) ? in pcibr_dmatrans_direct64() 140 pci_addr = paddr; in pcibr_dmatrans_direct64() 141 pci_addr |= dma_attributes; in pcibr_dmatrans_direct64() 145 pci_addr &= ~PCI64_ATTR_PREF; in pcibr_dmatrans_direct64() 149 pci_addr |= in pcibr_dmatrans_direct64() [all …]
|
/arch/alpha/kernel/ |
D | core_apecs.c | 92 unsigned long *pci_addr, unsigned char *type1) in mk_conf_addr() argument 99 bus, device_fn, where, pci_addr, type1)); in mk_conf_addr() 119 *pci_addr = addr; in mk_conf_addr() 276 unsigned long addr, pci_addr; in apecs_read_config() local 281 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) in apecs_read_config() 286 addr = (pci_addr << 5) + mask + APECS_CONF; in apecs_read_config() 295 unsigned long addr, pci_addr; in apecs_write_config() local 299 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) in apecs_write_config() 303 addr = (pci_addr << 5) + mask + APECS_CONF; in apecs_write_config()
|
D | core_lca.c | 102 unsigned long *pci_addr) in mk_conf_addr() argument 124 *pci_addr = addr; in mk_conf_addr() 204 unsigned long addr, pci_addr; in lca_read_config() local 208 if (mk_conf_addr(bus, devfn, where, &pci_addr)) in lca_read_config() 213 addr = (pci_addr << 5) + mask + LCA_CONF; in lca_read_config() 222 unsigned long addr, pci_addr; in lca_write_config() local 225 if (mk_conf_addr(bus, devfn, where, &pci_addr)) in lca_write_config() 229 addr = (pci_addr << 5) + mask + LCA_CONF; in lca_write_config()
|
D | core_t2.c | 142 unsigned long *pci_addr, unsigned char *type1) in mk_conf_addr() argument 149 bus, device_fn, where, pci_addr, type1)); in mk_conf_addr() 169 *pci_addr = addr; in mk_conf_addr() 287 unsigned long addr, pci_addr; in t2_read_config() local 292 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) in t2_read_config() 297 addr = (pci_addr << 5) + mask + T2_CONF; in t2_read_config() 306 unsigned long addr, pci_addr; in t2_write_config() local 310 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) in t2_write_config() 314 addr = (pci_addr << 5) + mask + T2_CONF; in t2_write_config()
|
D | core_polaris.c | 67 unsigned long *pci_addr, u8 *type1) in mk_conf_addr() argument 72 *pci_addr = (bus << 16) | (device_fn << 8) | (where) | in mk_conf_addr() 77 bus, device_fn, where, *pci_addr)); in mk_conf_addr()
|
D | core_cia.c | 89 unsigned long *pci_addr, unsigned char *type1) in mk_conf_addr() argument 94 *pci_addr = (bus << 16) | (device_fn << 8) | where; in mk_conf_addr() 98 bus, device_fn, where, *pci_addr)); in mk_conf_addr() 210 unsigned long addr, pci_addr; in cia_read_config() local 215 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) in cia_read_config() 220 addr = (pci_addr << 5) + mask + CIA_CONF; in cia_read_config() 229 unsigned long addr, pci_addr; in cia_write_config() local 233 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) in cia_write_config() 237 addr = (pci_addr << 5) + mask + CIA_CONF; in cia_write_config()
|
D | core_irongate.c | 83 unsigned long *pci_addr, unsigned char *type1) in mk_conf_addr() argument 90 bus, device_fn, where, pci_addr, type1)); in mk_conf_addr() 97 *pci_addr = addr; in mk_conf_addr()
|
D | core_tsunami.c | 91 unsigned long *pci_addr, unsigned char *type1) in mk_conf_addr() argument 99 bus, device_fn, where, pci_addr, type1)); in mk_conf_addr() 108 *pci_addr = addr; in mk_conf_addr()
|
D | core_mcpcia.c | 170 struct pci_controller *hose, unsigned long *pci_addr, in mk_conf_addr() argument 178 bus, devfn, hose->index, where, pci_addr, type1)); in mk_conf_addr() 189 *pci_addr = addr; in mk_conf_addr()
|
D | core_wildfire.c | 356 unsigned long *pci_addr, unsigned char *type1) in mk_conf_addr() argument 364 bus, device_fn, where, pci_addr, type1)); in mk_conf_addr() 373 *pci_addr = addr; in mk_conf_addr()
|
D | core_titan.c | 116 unsigned long *pci_addr, unsigned char *type1) in mk_conf_addr() argument 124 bus, device_fn, where, pci_addr, type1)); in mk_conf_addr() 133 *pci_addr = addr; in mk_conf_addr()
|
/arch/powerpc/kernel/ |
D | isa-bridge.c | 61 struct pci_address pci_addr; in pci_process_ISA_OF_ranges() member 66 unsigned long pci_addr; in pci_process_ISA_OF_ranges() local 93 pci_addr = (unsigned long) range->pci_addr.a_mid << 32 | in pci_process_ISA_OF_ranges() 94 range->pci_addr.a_lo; in pci_process_ISA_OF_ranges() 100 if ((pci_addr != 0) || (isa_addr != 0)) { in pci_process_ISA_OF_ranges()
|
D | pci-common.c | 681 unsigned long long pci_addr, cpu_addr, pci_next, cpu_next, size; in pci_process_bridge_OF_ranges() local 697 pci_addr = of_read_number(ranges + 1, 2); in pci_process_bridge_OF_ranges() 717 if (pci_next != pci_addr + size || in pci_process_bridge_OF_ranges() 729 cpu_addr, cpu_addr + size - 1, pci_addr); in pci_process_bridge_OF_ranges() 753 hose->pci_io_size = pci_addr + size; in pci_process_bridge_OF_ranges() 754 hose->io_base_phys = cpu_addr - pci_addr; in pci_process_bridge_OF_ranges() 759 res->start = pci_addr; in pci_process_bridge_OF_ranges() 765 cpu_addr, cpu_addr + size - 1, pci_addr, in pci_process_bridge_OF_ranges() 775 if (pci_addr == 0) { in pci_process_bridge_OF_ranges() 789 (isa_hole >= 0 && pci_addr != 0 && in pci_process_bridge_OF_ranges() [all …]
|
/arch/ia64/sn/kernel/ |
D | msi_sn.c | 22 u64 pci_addr; member 49 sn_msi_info[irq].pci_addr, in sn_teardown_msi_irq() 51 sn_msi_info[irq].pci_addr = 0; in sn_teardown_msi_irq() 135 sn_msi_info[irq].pci_addr = bus_addr; in sn_setup_msi_irq() 184 sn_msi_info[irq].pci_addr = 0; in sn_set_msi_irq_affinity() 203 sn_msi_info[irq].pci_addr = bus_addr; in sn_set_msi_irq_affinity()
|
/arch/powerpc/boot/ |
D | cuboot-pq2.c | 35 u32 pci_addr[2]; member 194 out_le32(&pci_regs[0][0], mem->pci_addr[1] >> 12); in fixup_pci() 198 out_le32(&pci_regs[0][6], mmio->pci_addr[1] >> 12); in fixup_pci() 202 out_le32(&pci_regs[0][12], io->pci_addr[1] >> 12); in fixup_pci()
|
/arch/powerpc/sysdev/ |
D | fsl_pci.c | 35 resource_size_t pci_addr = res->start - offset; in setup_one_atmu() local 49 __ffs(pci_addr | phys_addr)); in setup_one_atmu() 54 out_be32(&pci->pow[index + i].potar, pci_addr >> 12); in setup_one_atmu() 55 out_be32(&pci->pow[index + i].potear, (u64)pci_addr >> 44); in setup_one_atmu() 59 pci_addr += (resource_size_t)1U << bits; in setup_one_atmu()
|
D | ppc4xx_pci.c | 115 u64 pci_addr = of_read_number(ranges + 1, 2); in ppc4xx_parse_dma_ranges() local 129 if (cpu_addr != 0 || pci_addr > 0xffffffff) { in ppc4xx_parse_dma_ranges() 133 pci_addr, pci_addr + size - 1, cpu_addr); in ppc4xx_parse_dma_ranges() 143 res->start = pci_addr; in ppc4xx_parse_dma_ranges() 146 (pci_addr + size) > 0x100000000ull) in ppc4xx_parse_dma_ranges() 200 u64 pci_addr, in ppc4xx_setup_one_pci_PMM() argument 234 pciha = RES_TO_U32_HIGH(pci_addr); in ppc4xx_setup_one_pci_PMM() 235 pcila = RES_TO_U32_LOW(pci_addr); in ppc4xx_setup_one_pci_PMM() 406 u64 pci_addr, in ppc4xx_setup_one_pcix_POM() argument 423 pciah = RES_TO_U32_HIGH(pci_addr); in ppc4xx_setup_one_pcix_POM() [all …]
|
/arch/parisc/include/asm/ |
D | pdcpat.h | 297 extern int pdc_pat_io_pci_cfg_read(unsigned long pci_addr, int pci_size, u32 *val); 298 extern int pdc_pat_io_pci_cfg_write(unsigned long pci_addr, int pci_size, u32 val);
|
/arch/ia64/include/asm/sn/ |
D | ioc3.h | 60 uint32_t pci_addr; member
|
/arch/parisc/kernel/ |
D | firmware.c | 1362 int pdc_pat_io_pci_cfg_read(unsigned long pci_addr, int pci_size, u32 *mem_addr) in pdc_pat_io_pci_cfg_read() argument 1369 __pa(pdc_result), pci_addr, pci_size); in pdc_pat_io_pci_cfg_read() 1388 int pdc_pat_io_pci_cfg_write(unsigned long pci_addr, int pci_size, u32 val) in pdc_pat_io_pci_cfg_write() argument 1395 pci_addr, pci_size, val); in pdc_pat_io_pci_cfg_write()
|
/arch/ia64/hp/common/ |
D | sba_iommu.c | 924 unsigned long pci_addr = virt_to_phys(addr); in sba_map_single_attrs() local 932 if (likely((pci_addr & ~to_pci_dev(dev)->dma_mask) == 0)) { in sba_map_single_attrs() 939 to_pci_dev(dev)->dma_mask, pci_addr); in sba_map_single_attrs() 940 return pci_addr; in sba_map_single_attrs()
|