Home
last modified time | relevance | path

Searched refs:phys_base (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/arm64/cavium/
H A Dthunder_pcie_common.c99 if (addr >= r->phys_base && in range_addr_is_phys()
100 addr < (r->phys_base + r->size) && in range_addr_is_phys()
121 if (phys_addr >= r->phys_base && in range_addr_phys_to_pci()
122 phys_addr < (r->phys_base + r->size)) { in range_addr_phys_to_pci()
126 offset = phys_addr - r->phys_base; in range_addr_phys_to_pci()
149 return (r->phys_base + offset); in range_addr_pci_to_phys()
H A Dthunder_pcie_pem.c843 sc->ranges[0].phys_base = sc->sli_window_base + SLI_PCI_OFFSET + in thunder_pem_attach()
850 sc->ranges[1].phys_base = sc->sli_window_base + SLI_PCI_OFFSET + in thunder_pem_attach()
876 sc->ranges[tuple].phys_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()
609 return (((phys_base >> 0x10) & 0xfff0) | in encode_cpu_window_low()
610 ((phys_base + size - 1) & 0xfff00000)); in encode_cpu_window_low()
614 encode_cpu_window_start_high(pci_addr_t phys_base) in encode_cpu_window_start_high() argument
617 return ((phys_base >> 0x20) & 0xff); in encode_cpu_window_start_high()
624 return (((phys_base + size - 1) >> 0x20) & 0xff); in encode_cpu_window_end_high()
631 pci_addr_t phys_base, pci_base; in bcm_pcib_attach() local
719 phys_base = sc->base.base.ranges[0].phys_base; in bcm_pcib_attach()
726 encode_cpu_window_low(phys_base, size)); in bcm_pcib_attach()
[all …]
/f-stack/freebsd/mips/cavium/
H A Docteon_ebt3000_cf.c614 uint64_t phys_base; in cf_identify() local
619 phys_base = cvmx_sysinfo_get()->compact_flash_common_base_addr; in cf_identify()
620 if (phys_base == 0) in cf_identify()
622 base_addr = cvmx_phys_to_ptr(phys_base); in cf_identify()
627 if (cfg.s.base == phys_base >> 16) in cf_identify()