Home
last modified time | relevance | path

Searched refs:pci_hi (Results 1 – 11 of 11) sorted by relevance

/freebsd-12-stable/sys/dev/ofw/
Dofw_subr.c83 pcell_t pci_hi; in ofw_reg_to_paddr() local
113 pci_hi = pci ? cell[regno] : OFW_PADDR_NOT_PCI; in ofw_reg_to_paddr()
114 spc = pci_hi & OFW_PCI_PHYS_HI_SPACEMASK; in ofw_reg_to_paddr()
139 if (pcib && pci_hi == OFW_PADDR_NOT_PCI) { in ofw_reg_to_paddr()
140 pci_hi = cell[0]; in ofw_reg_to_paddr()
141 spc = pci_hi & OFW_PCI_PHYS_HI_SPACEMASK; in ofw_reg_to_paddr()
184 *ppci_hi = pci_hi; in ofw_reg_to_paddr()
Dofwpci.c232 switch (rp->pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) { in ofw_pci_init()
241 if (rp->pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) { in ofw_pci_init()
255 "error = %d\n", rp->pci_hi & in ofw_pci_init()
498 rp->pci_hi != 0; rp++) { in ofw_pci_translate_resource()
502 switch (rp->pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) { in ofw_pci_translate_resource()
548 rp->pci_hi != 0; rp++) { in ofw_pci_activate_resource()
552 switch (rp->pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) { in ofw_pci_activate_resource()
678 ranges[i].pci_hi = base_ranges[j++]; in ofw_pci_fill_ranges()
Dofwpci.h44 uint32_t pci_hi; member
/freebsd-12-stable/sys/arm/arm/
Dofw_machdep.c45 pcell_t pci_hi; in OF_decode_addr() local
48 res = ofw_reg_to_paddr(dev, regno, &addr, &size, &pci_hi); in OF_decode_addr()
57 if (pci_hi == OFW_PADDR_NOT_PCI) { in OF_decode_addr()
62 flags = (pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) ? in OF_decode_addr()
/freebsd-12-stable/sys/mips/mips/
Dofw_machdep.c45 pcell_t pci_hi; in OF_decode_addr() local
48 res = ofw_reg_to_paddr(dev, regno, &addr, &size, &pci_hi); in OF_decode_addr()
57 if (pci_hi == OFW_PADDR_NOT_PCI) { in OF_decode_addr()
62 flags = (pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) ? in OF_decode_addr()
/freebsd-12-stable/sys/powerpc/ofw/
Dofw_machdep.c757 pcell_t pci_hi; in OF_decode_addr() local
760 res = ofw_reg_to_paddr(dev, regno, &addr, &size, &pci_hi); in OF_decode_addr()
764 if (pci_hi == OFW_PADDR_NOT_PCI) { in OF_decode_addr()
769 flags = (pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) ? in OF_decode_addr()
/freebsd-12-stable/sys/dev/pci/
Dpci_dw.c318 if ((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in pci_dw_decode_ranges()
327 if (((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in pci_dw_decode_ranges()
329 if (ranges[i].pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) { in pci_dw_decode_ranges()
/freebsd-12-stable/sys/arm64/rockchip/
Drk_pcie.c413 if ((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in rk_pcie_decode_ranges()
422 if (((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in rk_pcie_decode_ranges()
424 if (ranges[i].pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) { in rk_pcie_decode_ranges()
/freebsd-12-stable/sys/powerpc/mpc85xx/
Dpci_mpc85xx.c779 switch (sc->pci_sc.sc_range[i].pci_hi & in fsl_pcib_decode_win()
806 sc->pci_sc.sc_range[i].pci_hi & in fsl_pcib_decode_win()
/freebsd-12-stable/sys/arm/nvidia/
Dtegra_pcie.c1097 if ((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in tegra_pcib_decode_ranges()
1106 if (((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in tegra_pcib_decode_ranges()
1108 if (ranges[i].pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) { in tegra_pcib_decode_ranges()
/freebsd-12-stable/sys/powerpc/powernv/
Dopal_pci.c453 rp->pci_hi = OFW_PCI_PHYS_HI_SPACE_MEM64 | in opalpci_attach()