pciaddr
if (pciaddr.extent_port != NULL)
ex = pciaddr.extent_port;
if (pciaddr.extent_mem != NULL)
ex = pciaddr.extent_mem;
if (pciaddr.extent_mem != NULL)
ex = pciaddr.extent_mem;
if (pciaddr.extent_port != NULL)
ex = pciaddr.extent_port;
bus_addr_t pciaddr;
pciaddr =
WR4(sc, PLDA_ATR_AXI4_SLV0_TRSL_ADDR_LO(n), BUS_ADDR_LO32(pciaddr));
WR4(sc, PLDA_ATR_AXI4_SLV0_TRSL_ADDR_HI(n), BUS_ADDR_HI32(pciaddr));
bus_addr_t pciaddr;
pciaddr = (bus_addr_t)sc->sc_reg[i].phys_lo + offset;
if (pciaddr + size > sc->sc_reg[i].phys_lo
(uint32_t)pciaddr));
return (bus_space_map2(t->parent, pciaddr, size,
bus_addr_t pciaddr, bus_size_t size)
offset = pciaddr - m->pcibase;
bus_addr_t pciaddr;
pciaddr = ((bus_addr_t)sc->sc_range[i].phys_mid << 32UL) |
pciaddr += offset;
(uint32_t)pciaddr));
return (bus_space_map(t, pciaddr, size, flags, hp));
aprint_debug(verbose_footer, pciaddr.nbogus);
error = extent_alloc_region(pciaddr.extent_mem, srp->start,
pciaddr.mem_alloc_start = (start + 0x100000 + 1) & ~(0x100000 - 1);
pciaddr.port_alloc_start = PCIADDR_ISAPORT_RESERVE;
(unsigned)pciaddr.mem_alloc_start);
if (pciaddr.nbogus == 0)
pciaddr.nbogus = 0;
aprint_debug(verbose_footer, pciaddr.nbogus);
&pciaddr);
&pciaddr);
pciaddr.nbogus++;
pciaddr.nbogus++;
struct pciaddr *pciaddrmap = (struct pciaddr *)ctx;
struct pciaddr *pciaddrmap = (struct pciaddr *)ctx;
struct pciaddr pciaddr;
pciaddr.extent_mem = extent_create("PCI I/O memory space",
KASSERT(pciaddr.extent_mem);
pciaddr.extent_port = extent_create("PCI I/O port space",
KASSERT(pciaddr.extent_port);
extern struct pciaddr pciaddr;
pciaddr.extent_port = NULL;
pciaddr.extent_mem = NULL;