Home
last modified time | relevance | path

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

/freebsd/sys/dev/ofw/
H A 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()
H A Dofw_pcib.c233 switch (rp->pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) { in ofw_pcib_init()
242 if (rp->pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) { in ofw_pcib_init()
256 "error = %d\n", rp->pci_hi & in ofw_pcib_init()
473 rp->pci_hi != 0; rp++) { in ofw_pcib_translate_resource()
477 switch (rp->pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) { in ofw_pcib_translate_resource()
547 rp->pci_hi != 0; rp++) { in ofw_pcib_map_resource()
551 switch (rp->pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) { in ofw_pcib_map_resource()
685 ranges[i].pci_hi = base_ranges[j++]; in ofw_pcib_fill_ranges()
H A Dofwpci.h42 uint32_t pci_hi; member
/freebsd/sys/arm/arm/
H A Dofw_machdep.c42 pcell_t pci_hi; in OF_decode_addr() local
45 res = ofw_reg_to_paddr(dev, regno, &addr, &size, &pci_hi); in OF_decode_addr()
54 if (pci_hi == OFW_PADDR_NOT_PCI) { in OF_decode_addr()
59 flags = (pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) ? in OF_decode_addr()
/freebsd/sys/powerpc/ofw/
H A Dofw_machdep.c853 pcell_t pci_hi; in OF_decode_addr() local
856 res = ofw_reg_to_paddr(dev, regno, &addr, &size, &pci_hi); in OF_decode_addr()
860 if (pci_hi == OFW_PADDR_NOT_PCI) { in OF_decode_addr()
865 flags = (pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) ? in OF_decode_addr()
/freebsd/sys/dev/pci/
H A Dpci_dw.c438 if ((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in pci_dw_decode_ranges()
449 if ((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in pci_dw_decode_ranges()
467 if ((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in pci_dw_decode_ranges()
/freebsd/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c710 switch (sc->pci_sc.sc_range[i].pci_hi & in fsl_pcib_decode_win()
737 sc->pci_sc.sc_range[i].pci_hi & in fsl_pcib_decode_win()
/freebsd/sys/arm/nvidia/
H A Dtegra_pcie.c1077 if ((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in tegra_pcib_decode_ranges()
1086 if (((ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) == in tegra_pcib_decode_ranges()
1088 if (ranges[i].pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) { in tegra_pcib_decode_ranges()
/freebsd/sys/arm64/rockchip/
H A Drk_pcie.c405 switch(ranges[i].pci_hi & OFW_PCI_PHYS_HI_SPACEMASK) { in rk_pcie_decode_ranges()
416 if (ranges[i].pci_hi & OFW_PCI_PHYS_HI_PREFETCHABLE) { in rk_pcie_decode_ranges()
/freebsd/sys/powerpc/powernv/
H A Dopal_pci.c486 rp->pci_hi = OFW_PCI_PHYS_HI_SPACE_MEM64 | in opalpci_attach()