Searched refs:phys_base (Results 1 – 10 of 10) sorted by relevance
96 if (addr >= r->phys_base && in range_addr_is_phys()97 addr < (r->phys_base + r->size) && in range_addr_is_phys()118 if (phys_addr >= r->phys_base && in range_addr_phys_to_pci()119 phys_addr < (r->phys_base + r->size)) { in range_addr_phys_to_pci()123 offset = phys_addr - r->phys_base; in range_addr_phys_to_pci()146 return (r->phys_base + offset); in range_addr_pci_to_phys()
269 if (start >= sc->base.ranges[i].phys_base && in thunder_pcie_fdt_alloc_resource()272 start -= sc->base.ranges[i].phys_base; in thunder_pcie_fdt_alloc_resource()274 end -= sc->base.ranges[i].phys_base; in thunder_pcie_fdt_alloc_resource()
852 sc->ranges[0].phys_base = sc->sli_window_base + SLI_PCI_OFFSET + in thunder_pem_attach()859 sc->ranges[1].phys_base = sc->sli_window_base + SLI_PCI_OFFSET + in thunder_pem_attach()885 sc->ranges[tuple].phys_base, in thunder_pem_attach()
225 ranges[0].pci_base, ranges[0].phys_base); in bcm_pcib_check_ranges()238 i, ranges[i].pci_base, ranges[i].phys_base, in bcm_pcib_check_ranges()593 return (((phys_base >> 0x10) & 0xfff0) | in encode_cpu_window_low()594 ((phys_base + size - 1) & 0xfff00000)); in encode_cpu_window_low()598 encode_cpu_window_start_high(pci_addr_t phys_base) in encode_cpu_window_start_high() argument601 return ((phys_base >> 0x20) & 0xff); in encode_cpu_window_start_high()608 return (((phys_base + size - 1) >> 0x20) & 0xff); in encode_cpu_window_end_high()615 pci_addr_t phys_base, pci_base; in bcm_pcib_attach() local703 phys_base = sc->base.base.ranges[0].phys_base; in bcm_pcib_attach()710 encode_cpu_window_low(phys_base, size)); in bcm_pcib_attach()[all …]
83 uint64_t phys_base; in pci_host_generic_core_attach() local173 phys_base = sc->ranges[tuple].phys_base; in pci_host_generic_core_attach()176 if (phys_base == 0 || size == 0) in pci_host_generic_core_attach()404 uint64_t phys_base; in generic_pcie_translate_resource_common() local418 phys_base = sc->ranges[i].phys_base; in generic_pcie_translate_resource_common()438 *new_start = start - pci_base + phys_base; in generic_pcie_translate_resource_common()439 *new_end = end - pci_base + phys_base; in generic_pcie_translate_resource_common()
223 sc->ranges[i].phys_base = 0; in parse_pci_mem_ranges()225 sc->ranges[i].phys_base <<= 32; in parse_pci_mem_ranges()226 sc->ranges[i].phys_base |= base_ranges[j++]; in parse_pci_mem_ranges()238 sc->ranges[i].phys_base = 0; in parse_pci_mem_ranges()247 sc->ranges[tuple].phys_base, in parse_pci_mem_ranges()
57 uint64_t phys_base; member
186 sc->base.ranges[r].phys_base = min + off; in pci_host_generic_acpi_parse_resource()
201 &dmem->phys_base, /* physical address */ in nicvf_alloc_q_desc_mem()216 dmem->phys_base = 0; in nicvf_alloc_q_desc_mem()246 dmem->phys_base = 0; in nicvf_free_q_desc_mem()1389 (uint64_t)(cq->dmem.phys_base)); in nicvf_cmp_queue_config()1438 (uint64_t)(sq->dmem.phys_base)); in nicvf_snd_queue_config()1467 (uint64_t)(rbdr->dmem.phys_base)); in nicvf_rbdr_config()
240 bus_addr_t phys_base; member