Searched refs:phys_base (Results 1 – 10 of 10) sorted by relevance
98 if (addr >= r->phys_base && in range_addr_is_phys()99 addr < (r->phys_base + r->size) && in range_addr_is_phys()120 if (phys_addr >= r->phys_base && in range_addr_phys_to_pci()121 phys_addr < (r->phys_base + r->size)) { in range_addr_phys_to_pci()125 offset = phys_addr - r->phys_base; in range_addr_phys_to_pci()148 return (r->phys_base + offset); in range_addr_pci_to_phys()
842 sc->ranges[0].phys_base = sc->sli_window_base + SLI_PCI_OFFSET + in thunder_pem_attach()849 sc->ranges[1].phys_base = sc->sli_window_base + SLI_PCI_OFFSET + in thunder_pem_attach()875 sc->ranges[tuple].phys_base, in thunder_pem_attach()
231 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() argument617 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() local719 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 …]
73 uint64_t phys_base; in pci_host_generic_core_attach() local137 phys_base = sc->ranges[tuple].phys_base; in pci_host_generic_core_attach()140 if (phys_base == 0 || size == 0) in pci_host_generic_core_attach()333 uint64_t phys_base; in generic_pcie_translate_resource() local347 phys_base = sc->ranges[i].phys_base; in generic_pcie_translate_resource()367 *new_start = start - pci_base + phys_base; in generic_pcie_translate_resource()368 *new_end = end - pci_base + phys_base; in generic_pcie_translate_resource()
231 sc->ranges[i].phys_base = 0; in parse_pci_mem_ranges()233 sc->ranges[i].phys_base <<= 32; in parse_pci_mem_ranges()234 sc->ranges[i].phys_base |= base_ranges[j++]; in parse_pci_mem_ranges()246 sc->ranges[i].phys_base = 0; in parse_pci_mem_ranges()255 sc->ranges[tuple].phys_base, in parse_pci_mem_ranges()359 if (start >= sc->base.ranges[i].phys_base && in pci_host_generic_alloc_resource()362 start -= sc->base.ranges[i].phys_base; in pci_host_generic_alloc_resource()364 end -= sc->base.ranges[i].phys_base; in pci_host_generic_alloc_resource()
59 uint64_t phys_base; member
174 sc->base.ranges[r].phys_base = min + off; in pci_host_generic_acpi_parse_resource()
614 uint64_t phys_base; in cf_identify() local619 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()
205 &dmem->phys_base, /* physical address */ in nicvf_alloc_q_desc_mem()220 dmem->phys_base = 0; in nicvf_alloc_q_desc_mem()250 dmem->phys_base = 0; in nicvf_free_q_desc_mem()1388 (uint64_t)(cq->dmem.phys_base)); in nicvf_cmp_queue_config()1437 (uint64_t)(sq->dmem.phys_base)); in nicvf_snd_queue_config()1466 (uint64_t)(rbdr->dmem.phys_base)); in nicvf_rbdr_config()
242 bus_addr_t phys_base; member