| /netbsd-src/sys/dev/ofw/ |
| H A D | ofw_pci_subr.c | 53 uint32_t phys_hi; in ofw_pci_bus_get_child_devhandle() local 72 phys_hi = be32toh(opr.phys_hi); in ofw_pci_bus_get_child_devhandle() 74 if (d != OFW_PCI_PHYS_HI_DEVICE(phys_hi) || in ofw_pci_bus_get_child_devhandle() 75 f != OFW_PCI_PHYS_HI_FUNCTION(phys_hi)) { in ofw_pci_bus_get_child_devhandle()
|
| H A D | ofw_pci.h | 94 u_int32_t phys_hi; member
|
| /netbsd-src/sys/arch/macppc/pci/ |
| H A D | pci_machdep.c | 163 u_int32_t phys_hi, phys_mid, phys_lo; in fixpci() member 167 u_int32_t phys_hi, phys_mid, phys_lo; in fixpci() member 224 tag = pci_make_tag(pc, pcibus(addr[0].phys_hi), in fixpci() 225 pcidev(addr[0].phys_hi), in fixpci() 226 pcifunc(addr[0].phys_hi)); in fixpci() 235 switch (addr[i].phys_hi & OFW_PCI_PHYS_HI_SPACEMASK) { in fixpci() 260 iaddr.phys_hi = addr[0].phys_hi; in fixpci() 271 len = find_node_intr(node, &iaddr.phys_hi, irqs); in fixpci() 281 len = find_node_intr(node, &addr[0].phys_hi, irqs); in fixpci()
|
| /netbsd-src/sys/arch/sparc/sparc/ |
| H A D | pci_machdep.c | 281 OFW_PCI_PHYS_HI_BUS(reg.phys_hi), in pci_make_tag() 282 OFW_PCI_PHYS_HI_DEVICE(reg.phys_hi), in pci_make_tag() 283 OFW_PCI_PHYS_HI_FUNCTION(reg.phys_hi)); in pci_make_tag() 300 if (b != OFW_PCI_PHYS_HI_BUS(reg.phys_hi)) in pci_make_tag() 302 if (d != OFW_PCI_PHYS_HI_DEVICE(reg.phys_hi)) in pci_make_tag() 304 if (f != OFW_PCI_PHYS_HI_FUNCTION(reg.phys_hi)) in pci_make_tag() 460 if (OFW_PCI_PHYS_HI_BUS(reg.phys_hi) == w->mpiw_bus in pci_intr_map() 461 && OFW_PCI_PHYS_HI_DEVICE(reg.phys_hi) in pci_intr_map() 463 && OFW_PCI_PHYS_HI_FUNCTION(reg.phys_hi) in pci_intr_map()
|
| H A D | pci_fixup.c | 118 bus = OFW_PCI_PHYS_HI_BUS(reg.phys_hi); in mspcic_pci_scan() 119 dev = OFW_PCI_PHYS_HI_DEVICE(reg.phys_hi); in mspcic_pci_scan() 120 fun = OFW_PCI_PHYS_HI_FUNCTION(reg.phys_hi); in mspcic_pci_scan() 264 bus = OFW_PCI_PHYS_HI_BUS(reg.phys_hi); in mspcic_pci_scan() 265 dev = OFW_PCI_PHYS_HI_DEVICE(reg.phys_hi); in mspcic_pci_scan() 266 fun = OFW_PCI_PHYS_HI_FUNCTION(reg.phys_hi); in mspcic_pci_scan()
|
| H A D | promlib.c | 1175 prom_pa_location(u_int phys_lo, u_int phys_hi) in prom_pa_location() argument 1194 if (unum == NULL || (str = unum(phys_lo, phys_hi)) == NULL) in prom_pa_location()
|
| /netbsd-src/sys/arch/sparc64/sparc64/ |
| H A D | ofw_machdep.c | 159 cell_t phys_hi; in prom_vtop() member 178 (int)(args.mode>>32), (int)args.mode, (int)(args.phys_hi>>32), (int)args.phys_hi, in prom_vtop() 181 return (paddr_t)CELL2HDQ(args.phys_hi, args.phys_lo); in prom_vtop() 340 cell_t phys_hi; in prom_map_phys() member 356 args.phys_hi = HDQ2CELL_HI(paddr); in prom_map_phys() 382 cell_t phys_hi; in prom_alloc_phys() member 399 return (paddr_t)CELL2HDQ(args.phys_hi, args.phys_lo); in prom_alloc_phys() 418 cell_t phys_hi; in prom_claim_phys() member 436 args.phys_hi = HDQ2CELL_HI(phys); in prom_claim_phys() 458 cell_t phys_hi; in prom_free_phys() member [all …]
|
| /netbsd-src/sys/arch/sparc64/dev/ |
| H A D | pci_machdep.c | 218 if (b != OFW_PCI_PHYS_HI_BUS(reg.phys_hi)) in pci_make_tag() 220 if (d != OFW_PCI_PHYS_HI_DEVICE(reg.phys_hi)) in pci_make_tag() 222 if (f != OFW_PCI_PHYS_HI_FUNCTION(reg.phys_hi)) in pci_make_tag() 316 b = OFW_PCI_PHYS_HI_BUS(reg.phys_hi); in sparc64_pci_enumerate_bus1() 317 d = OFW_PCI_PHYS_HI_DEVICE(reg.phys_hi); in sparc64_pci_enumerate_bus1() 318 f = OFW_PCI_PHYS_HI_FUNCTION(reg.phys_hi); in sparc64_pci_enumerate_bus1()
|
| H A D | psychoreg.h | 384 uint32_t phys_hi; member 395 uint32_t phys_hi; member 402 uint32_t phys_hi; member 411 uint32_t phys_hi; member
|
| H A D | pyrovar.h | 33 u_int32_t phys_hi; member
|
| H A D | vpcivar.h | 33 u_int32_t phys_hi; member
|
| H A D | ebus_mainbus.c | 242 ss = (range[i].phys_hi>>24)&3; in ebus_mainbus_bus_map() 259 addr = ((bus_addr_t)range[i].phys_hi << 32UL) | in ebus_mainbus_bus_map()
|
| H A D | vpci.c | 223 pbm->vp_range[range].phys_hi, in vpci_init() 523 paddr = BUS_ADDR(pr->phys_hi, pr->phys_lo + offset); in vpci_bus_map() 556 paddr = BUS_ADDR(pr->phys_hi, pr->phys_lo + offset); in vpci_bus_mmap()
|
| H A D | psycho.c | 672 printf("memory range: %08x %08x\n", pr->phys_hi, pr->phys_lo); in psycho_attach() 674 mem_base = ((uint64_t)pr->phys_hi) << 32 | pr->phys_lo; in psycho_attach() 806 if (((pa[i].phys_hi >> 24) & 0x03) == ss) { in psycho_alloc_extent() 1165 paddr = BUS_ADDR(pr->phys_hi, pr->phys_lo + offset); in _psycho_bus_map() 1196 paddr = BUS_ADDR(pr->phys_hi, pr->phys_lo + offset); in psycho_bus_mmap()
|
| H A D | schizoreg.h | 322 u_int32_t phys_hi; member
|
| H A D | pyro.c | 506 paddr = BUS_ADDR(pr->phys_hi, pr->phys_lo + offset); in pyro_bus_map() 545 paddr = BUS_ADDR(pr->phys_hi, pr->phys_lo + offset); in pyro_bus_mmap()
|
| H A D | ebus.c | 410 ss = (sc->sc_range[i].phys_hi>>24)&3; in _ebus_bus_map()
|
| H A D | schizo.c | 742 paddr = BUS_ADDR(sr->phys_hi, sr->phys_lo + offset); in schizo_bus_map() 777 paddr = BUS_ADDR(sr->phys_hi, sr->phys_lo + offset); in schizo_bus_mmap()
|
| /netbsd-src/sys/dev/ebus/ |
| H A D | ebusreg.h | 85 uint32_t phys_hi; /* parent high phys addr */ member 94 u_int32_t phys_hi; member
|
| /netbsd-src/sys/arch/sparc/stand/ofwboot/ |
| H A D | Locore.c | 709 cell_t phys_hi; in OF_alloc_phys() member 728 return (paddr_t)CELL2HDQ(args.phys_hi, args.phys_lo); in OF_alloc_phys() 747 cell_t phys_hi; in OF_claim_phys() member 768 args.phys_hi = HDQ2CELL_HI(phys); in OF_claim_phys() 790 cell_t phys_hi; in OF_free_phys() member 806 args.phys_hi = HDQ2CELL_HI(phys); in OF_free_phys()
|
| /netbsd-src/sys/arch/arm/fdt/ |
| H A D | pcihost_fdt.c | 287 const uint32_t phys_hi = DECODE32(ranges, 0); in pcihost_config() local 297 const bool is64 = (__SHIFTOUT(phys_hi, PHYS_HI_SPACE) == in pcihost_config() 299 switch (__SHIFTOUT(phys_hi, PHYS_HI_SPACE)) { in pcihost_config() 337 if ((phys_hi & PHYS_HI_PREFETCH) != 0 || in pcihost_config() 338 __SHIFTOUT(phys_hi, PHYS_HI_SPACE) == PHYS_HI_SPACE_MEM64) { in pcihost_config()
|
| /netbsd-src/sys/arch/arm/broadcom/ |
| H A D | bcm2838_pcie.c | 318 uint32_t phys_hi; in bcmstb_config() local 333 phys_hi = be32toh(ranges[0]); in bcmstb_config() 341 switch (__SHIFTOUT(phys_hi, PHYS_HI_SPACE)) { in bcmstb_config() 364 if ((phys_hi & PHYS_HI_PREFETCH) != 0 || in bcmstb_config() 365 __SHIFTOUT(phys_hi, PHYS_HI_SPACE) == PHYS_HI_SPACE_MEM64) { in bcmstb_config() 373 __SHIFTOUT(phys_hi, PHYS_HI_SPACE) == PHYS_HI_SPACE_MEM64 ? 64 : 32, in bcmstb_config()
|
| /netbsd-src/sys/arch/sparc/dev/ |
| H A D | ebus.c | 484 ss = sc->sc_reg[i].phys_hi & OFW_PCI_PHYS_HI_SPACEMASK; in _ebus_bus_map() 488 if (bar != (sc->sc_reg[i].phys_hi in _ebus_bus_map()
|
| /netbsd-src/sys/arch/ofppc/ofppc/ |
| H A D | mainbus.c | 130 (aadr.phys_hi & OFW_PCI_PHYS_HI_SPACEMASK) && in init_openpic()
|