Home
last modified time | relevance | path

Searched refs:pci_base (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/arm64/cavium/
H A Dthunder_pcie_common.c79 if (addr >= r->pci_base && in range_addr_is_pci()
80 addr < (r->pci_base + r->size) && in range_addr_is_pci()
127 return (r->pci_base + offset); in range_addr_phys_to_pci()
143 if (pci_addr >= r->pci_base && in range_addr_pci_to_phys()
144 pci_addr < (r->pci_base + r->size)) { in range_addr_pci_to_phys()
148 offset = pci_addr - r->pci_base; in range_addr_pci_to_phys()
H A Dthunder_pcie_pem.c841 sc->ranges[0].pci_base = PCI_MEMORY_BASE; in thunder_pem_attach()
844 sc->ranges[0].pci_base; in thunder_pem_attach()
848 sc->ranges[1].pci_base = PCI_IO_BASE; in thunder_pem_attach()
851 sc->ranges[1].pci_base; in thunder_pem_attach()
855 base = sc->ranges[tuple].pci_base; in thunder_pem_attach()
875 sc->ranges[tuple].pci_base, in thunder_pem_attach()
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2838_pci.c231 ranges[0].pci_base, ranges[0].phys_base); in bcm_pcib_check_ranges()
244 i, ranges[i].pci_base, ranges[i].phys_base, in bcm_pcib_check_ranges()
596 new_base = sc->base.base.ranges[0].pci_base; in bcm_pcib_relocate_bridge_window()
631 pci_addr_t phys_base, pci_base; in bcm_pcib_attach() local
718 pci_base = sc->base.base.ranges[0].pci_base; in bcm_pcib_attach()
722 bcm_pcib_set_reg(sc, REG_BUS_WINDOW_LOW, pci_base & 0xffffffff); in bcm_pcib_attach()
723 bcm_pcib_set_reg(sc, REG_BUS_WINDOW_HIGH, pci_base >> 32); in bcm_pcib_attach()