/src/sys/arch/arm/fdt/ |
pcihost_fdt.c | 288 uint64_t bus_phys = DECODE64(ranges, 1); local in function:pcihost_config 305 pibs->ranges[pibs->nranges].bpci = bus_phys; 311 bus_phys, size, cpu_phys); 316 if (bus_phys == 0 && size >= 0x10000) { 317 bus_phys += 0x1000; 321 PCICONF_RESOURCE_IO, bus_phys, size); 333 pmbs->ranges[pmbs->nranges].bpci = bus_phys; 342 is64 ? 64 : 32, bus_phys, size, cpu_phys); 347 is64 ? 64 : 32, bus_phys, size, cpu_phys); 349 error = pciconf_resource_add(pcires, type, bus_phys, [all...] |
/src/sys/arch/riscv/fdt/ |
pcihost_fdt.c | 270 uint64_t bus_phys = DECODE64(ranges, 1); local in function:pcihost_config 287 pibs->ranges[pibs->nranges].bpci = bus_phys; 293 bus_phys, size, cpu_phys); 298 if (bus_phys == 0 && size >= 0x10000) { 299 bus_phys += 0x1000; 303 PCICONF_RESOURCE_IO, bus_phys, size); 315 pmbs->ranges[pmbs->nranges].bpci = bus_phys; 324 is64 ? 64 : 32, bus_phys, size, cpu_phys); 329 is64 ? 64 : 32, bus_phys, size, cpu_phys); 331 error = pciconf_resource_add(pcires, type, bus_phys, [all...] |
/src/sys/arch/arm/broadcom/ |
bcm2838_pcie.c | 319 uint64_t bus_phys, cpu_phys, size; local in function:bcmstb_config 334 bus_phys = ((uint64_t)be32toh(ranges[1])) << 32 | be32toh(ranges[2]); 343 if (bcmstb_addrange(&sc->sc_io, bus_phys, cpu_phys, size)) { 351 bus_phys, size, cpu_phys); 353 error = pciconf_resource_add(pcires, type, bus_phys, size); 360 if (bcmstb_addrange(&sc->sc_mem, bus_phys, cpu_phys, size)) { 375 bus_phys, size, cpu_phys); 377 error = pciconf_resource_add(pcires, type, bus_phys, size);
|