/linux-master/arch/alpha/kernel/ |
H A D | core_apecs.c | 94 unsigned long *pci_addr, unsigned char *type1) 100 " pci_addr=0x%p, type1=0x%p)\n", 101 bus, device_fn, where, pci_addr, type1)); 121 *pci_addr = addr; 122 DBGC(("mk_conf_addr: returning pci_addr 0x%lx\n", addr)); 278 unsigned long addr, pci_addr; local 283 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) 288 addr = (pci_addr << 5) + mask + APECS_CONF; 297 unsigned long addr, pci_addr; local 301 if (mk_conf_addr(bus, devfn, where, &pci_addr, 93 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, unsigned long *pci_addr, unsigned char *type1) argument [all...] |
H A D | core_lca.c | 103 unsigned long *pci_addr) 125 *pci_addr = addr; 205 unsigned long addr, pci_addr; local 209 if (mk_conf_addr(bus, devfn, where, &pci_addr)) 214 addr = (pci_addr << 5) + mask + LCA_CONF; 223 unsigned long addr, pci_addr; local 226 if (mk_conf_addr(bus, devfn, where, &pci_addr)) 230 addr = (pci_addr << 5) + mask + LCA_CONF; 102 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, unsigned long *pci_addr) argument
|
H A D | core_mcpcia.c | 171 struct pci_controller *hose, unsigned long *pci_addr, 178 " pci_addr=0x%p, type1=0x%p)\n", 179 bus, devfn, hose->index, where, pci_addr, type1)); 190 *pci_addr = addr; 191 DBG_CFG(("mk_conf_addr: returning pci_addr 0x%lx\n", addr)); 170 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where, struct pci_controller *hose, unsigned long *pci_addr, unsigned char *type1) argument
|
H A D | core_polaris.c | 68 unsigned long *pci_addr, u8 *type1) 73 *pci_addr = (bus << 16) | (device_fn << 8) | (where) | 78 bus, device_fn, where, *pci_addr)); 67 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, unsigned long *pci_addr, u8 *type1) argument
|
H A D | core_t2.c | 142 unsigned long *pci_addr, unsigned char *type1) 149 bus, device_fn, where, pci_addr, type1)); 169 *pci_addr = addr; 170 DBG(("mk_conf_addr: returning pci_addr 0x%lx\n", addr)); 287 unsigned long addr, pci_addr; local 292 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) 297 addr = (pci_addr << 5) + mask + T2_CONF; 306 unsigned long addr, pci_addr; local 310 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) 314 addr = (pci_addr << 141 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, unsigned long *pci_addr, unsigned char *type1) argument [all...] |
H A D | core_tsunami.c | 93 unsigned long *pci_addr, unsigned char *type1) 100 "pci_addr=0x%p, type1=0x%p)\n", 101 bus, device_fn, where, pci_addr, type1)); 110 *pci_addr = addr; 111 DBG_CFG(("mk_conf_addr: returning pci_addr 0x%lx\n", addr)); 92 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, unsigned long *pci_addr, unsigned char *type1) argument
|
H A D | core_cia.c | 91 unsigned long *pci_addr, unsigned char *type1) 96 *pci_addr = (bus << 16) | (device_fn << 8) | where; 100 bus, device_fn, where, *pci_addr)); 212 unsigned long addr, pci_addr; local 217 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) 222 addr = (pci_addr << 5) + mask + CIA_CONF; 231 unsigned long addr, pci_addr; local 235 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) 239 addr = (pci_addr << 5) + mask + CIA_CONF; 90 mk_conf_addr(struct pci_bus *bus_dev, unsigned int device_fn, int where, unsigned long *pci_addr, unsigned char *type1) argument
|
H A D | core_irongate.c | 83 unsigned long *pci_addr, unsigned char *type1) 89 "pci_addr=0x%p, type1=0x%p)\n", 90 bus, device_fn, where, pci_addr, type1)); 97 *pci_addr = addr; 98 DBG_CFG(("mk_conf_addr: returning pci_addr 0x%lx\n", addr)); 82 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, unsigned long *pci_addr, unsigned char *type1) argument
|
H A D | core_titan.c | 118 unsigned long *pci_addr, unsigned char *type1) 125 "pci_addr=0x%p, type1=0x%p)\n", 126 bus, device_fn, where, pci_addr, type1)); 135 *pci_addr = addr; 136 DBG_CFG(("mk_conf_addr: returning pci_addr 0x%lx\n", addr)); 115 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, unsigned long *pci_addr, unsigned char *type1) argument
|
H A D | core_wildfire.c | 359 unsigned long *pci_addr, unsigned char *type1) 366 "pci_addr=0x%p, type1=0x%p)\n", 367 bus, device_fn, where, pci_addr, type1)); 376 *pci_addr = addr; 377 DBG_CFG(("mk_conf_addr: returning pci_addr 0x%lx\n", addr)); 358 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, unsigned long *pci_addr, unsigned char *type1) argument
|
/linux-master/arch/powerpc/boot/ |
H A D | cuboot-pq2.c | 32 u32 pci_addr[2]; member in struct:pci_range 191 out_le32(&pci_regs[0][0], mem->pci_addr[1] >> 12); 195 out_le32(&pci_regs[0][6], mmio->pci_addr[1] >> 12); 199 out_le32(&pci_regs[0][12], io->pci_addr[1] >> 12);
|
/linux-master/arch/mips/include/asm/sn/ |
H A D | ioc3.h | 116 u32 pci_addr; /* 0x00010 */ member in struct:ioc3
|
/linux-master/arch/mips/pci/ |
H A D | pci-octeon.c | 260 union octeon_pci_address pci_addr; local 262 pci_addr.u64 = 0; 263 pci_addr.s.upper = 2; 264 pci_addr.s.io = 1; 265 pci_addr.s.did = 3; 266 pci_addr.s.subdid = 1; 267 pci_addr.s.endian_swap = 1; 268 pci_addr.s.bus = bus->number; 269 pci_addr.s.dev = devfn >> 3; 270 pci_addr 294 union octeon_pci_address pci_addr; local [all...] |
/linux-master/arch/parisc/include/asm/ |
H A D | pdcpat.h | 377 extern int pdc_pat_io_pci_cfg_read(unsigned long pci_addr, int pci_size, u32 *val); 378 extern int pdc_pat_io_pci_cfg_write(unsigned long pci_addr, int pci_size, u32 val);
|
/linux-master/arch/parisc/kernel/ |
H A D | firmware.c | 1648 * @pci_addr: PCI configuration space address for which the read request is being made. 1653 int pdc_pat_io_pci_cfg_read(unsigned long pci_addr, int pci_size, u32 *mem_addr) argument 1660 __pa(pdc_result), pci_addr, pci_size); 1673 * @pci_addr: PCI configuration space address for which the write request is being made. 1679 int pdc_pat_io_pci_cfg_write(unsigned long pci_addr, int pci_size, u32 val) argument 1686 pci_addr, pci_size, val);
|
/linux-master/arch/powerpc/kernel/ |
H A D | pci-common.c | 786 range.pci_addr); 803 /* Expect trouble if pci_addr is not 0 */ 809 * space starting at 0 so we factor in pci_addr 811 hose->pci_io_size = range.pci_addr + range.size; 812 hose->io_base_phys = range.cpu_addr - range.pci_addr; 816 range.cpu_addr = range.pci_addr; 822 range.pci_addr, 833 if (range.pci_addr == 0) { 842 range.pci_addr;
|
/linux-master/arch/powerpc/platforms/4xx/ |
H A D | pci.c | 116 u64 pci_addr = of_read_number(ranges + 1, 2); local 127 /* We currently only support memory at 0, and pci_addr 130 if (cpu_addr != 0 || pci_addr > 0xffffffff) { 134 pci_addr, pci_addr + size - 1, cpu_addr); 144 res->start = pci_addr; 147 (pci_addr + size) > 0x100000000ull) 209 u64 pci_addr, 242 pciha = RES_TO_U32_HIGH(pci_addr); 243 pcila = RES_TO_U32_LOW(pci_addr); 206 ppc4xx_setup_one_pci_PMM(struct pci_controller *hose, void __iomem *reg, u64 plb_addr, u64 pci_addr, u64 size, unsigned int flags, int index) argument 410 ppc4xx_setup_one_pcix_POM(struct pci_controller *hose, void __iomem *reg, u64 plb_addr, u64 pci_addr, u64 size, unsigned int flags, int index) argument 1706 ppc4xx_setup_one_pciex_POM(struct ppc4xx_pciex_port *port, struct pci_controller *hose, void __iomem *mbase, u64 plb_addr, u64 pci_addr, u64 size, unsigned int flags, int index) argument [all...] |
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 361 u64 pci_addr; local 409 pci_addr = of_read_number(r, 2); 410 hose->mem_offset[1] = res->start - pci_addr; 414 phb->ioda.m64_base = pci_addr; 418 res->start, res->end, pci_addr, m64_range[0],
|
/linux-master/arch/powerpc/sysdev/ |
H A D | fsl_pci.c | 149 resource_size_t pci_addr = res->start - offset; local 163 __ffs(pci_addr | phys_addr)); 168 out_be32(&pci->pow[index + i].potar, pci_addr >> 12); 169 out_be32(&pci->pow[index + i].potear, (u64)pci_addr >> 44); 173 pci_addr += (resource_size_t)1U << bits;
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | sysfs.c | 430 static DEVICE_ATTR_RO(pci_addr);
|
/linux-master/drivers/acpi/ |
H A D | pci_root.c | 872 resource_size_t pci_addr = cpu_addr - entry->offset; local 885 entry->offset = port - pci_addr;
|
/linux-master/drivers/of/ |
H A D | unittest.c | 1035 unittest(range.pci_addr == 0x80000000, 1037 range.pci_addr, np); 1045 unittest(range.pci_addr == 0xc0000000, 1047 range.pci_addr, np); 1108 range.pci_addr, np); 1118 range.pci_addr, np); 1160 range.pci_addr, np); 1173 range.pci_addr, np);
|
/linux-master/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-ep.c | 185 phys_addr_t addr, u64 pci_addr, size_t size) 198 cdns_pcie_set_outbound_region(pcie, 0, fn, r, false, addr, pci_addr, size); 388 u64 pci_addr, pci_addr_mask = 0xff; local 409 pci_addr = cdns_pcie_ep_fn_readl(pcie, fn, cap + PCI_MSI_ADDRESS_HI); 410 pci_addr <<= 32; 411 pci_addr |= cdns_pcie_ep_fn_readl(pcie, fn, cap + PCI_MSI_ADDRESS_LO); 412 pci_addr &= GENMASK_ULL(63, 2); 415 if (unlikely(ep->irq_pci_addr != (pci_addr & ~pci_addr_mask) || 421 pci_addr & ~pci_addr_mask, 423 ep->irq_pci_addr = (pci_addr 184 cdns_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, phys_addr_t addr, u64 pci_addr, size_t size) argument 439 u64 pci_addr, pci_addr_mask = 0xff; local [all...] |
H A D | pcie-cadence-host.c | 314 u64 cpu_addr, pci_addr, size, winsize; local 322 pci_addr = entry->res->start - entry->offset; 328 pci_addr, cpu_addr); 467 u64 pci_addr = res->start - entry->offset; local 473 pci_addr, 479 pci_addr,
|
H A D | pcie-cadence.c | 29 u64 cpu_addr, u64 pci_addr, size_t size) 44 (lower_32_bits(pci_addr) & GENMASK(31, 8)); 45 addr1 = upper_32_bits(pci_addr); 27 cdns_pcie_set_outbound_region(struct cdns_pcie *pcie, u8 busnr, u8 fn, u32 r, bool is_io, u64 cpu_addr, u64 pci_addr, size_t size) argument
|