Home
last modified time | relevance | path

Searched refs:dma_ranges (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/arch/powerpc/boot/
H A Dtreeboot-currituck.c62 u32 dma_ranges[7]; in ibm_currituck_fixups() local
67 if (getprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)) < 0) { in ibm_currituck_fixups()
72 dma_ranges[5] = ibm_currituck_memsize >> 32; in ibm_currituck_fixups()
73 dma_ranges[6] = ibm_currituck_memsize & 0xffffffffUL; in ibm_currituck_fixups()
75 setprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)); in ibm_currituck_fixups()
/openbmc/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence-host.c408 if (list_empty(&bridge->dma_ranges)) { in cdns_pcie_host_map_dma_ranges()
418 list_sort(NULL, &bridge->dma_ranges, cdns_pcie_host_dma_ranges_cmp); in cdns_pcie_host_map_dma_ranges()
420 resource_list_for_each_entry(entry, &bridge->dma_ranges) { in cdns_pcie_host_map_dma_ranges()
/openbmc/linux/drivers/pci/
H A Dof.c558 INIT_LIST_HEAD(&bridge->dma_ranges); in pci_parse_request_of_pci_ranges()
561 &bridge->dma_ranges, &iobase); in pci_parse_request_of_pci_ranges()
H A Dprobe.c576 pci_free_resource_list(&bridge->dma_ranges); in pci_release_host_bridge_dev()
583 INIT_LIST_HEAD(&bridge->dma_ranges); in pci_init_host_bridge()
/openbmc/u-boot/common/
H A Dfdt_support.c657 u32 dma_ranges[(3 + 2 + 2) * CONFIG_SYS_PCI_NR_INBOUND_WIN]; in fdt_pci_dma_ranges() local
662 dma_range = &dma_ranges[0]; in fdt_pci_dma_ranges()
705 len = dma_range - &dma_ranges[0]; in fdt_pci_dma_ranges()
707 fdt_setprop(blob, phb_off, "dma-ranges", &dma_ranges[0], len*4); in fdt_pci_dma_ranges()
/openbmc/linux/drivers/pci/controller/
H A Dpci-rcar-gen2.c184 entry = resource_list_first_type(&bridge->dma_ranges, IORESOURCE_MEM); in rcar_pci_setup()
H A Dpci-ftpci100.c377 resource_list_for_each_entry(entry, &bridge->dma_ranges) { in faraday_pci_parse_map_dma_ranges()
H A Dpci-ixp4xx.c448 win = resource_list_first_type(&bridge->dma_ranges, IORESOURCE_MEM); in ixp4xx_pci_parse_map_dma_ranges()
H A Dpci-v3-semi.c681 resource_list_for_each_entry(entry, &bridge->dma_ranges) { in v3_pci_parse_map_dma_ranges()
H A Dpcie-rcar-host.c935 resource_list_for_each_entry(entry, &bridge->dma_ranges) { in rcar_pcie_parse_map_dma_ranges()
H A Dpcie-iproc.c1180 resource_list_for_each_entry(entry, &host->dma_ranges) { in iproc_pcie_map_dma_ranges()
H A Dpcie-brcmstb.c788 resource_list_for_each_entry(entry, &bridge->dma_ranges) { in brcm_pcie_get_rc_bar2_size_and_offset()
/openbmc/linux/drivers/iommu/
H A Ddma-iommu.c453 list_sort(NULL, &bridge->dma_ranges, iommu_dma_ranges_sort); in iova_reserve_pci_windows()
454 resource_list_for_each_entry(window, &bridge->dma_ranges) { in iova_reserve_pci_windows()
471 if (window->node.next == &bridge->dma_ranges && in iova_reserve_pci_windows()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-host.c709 resource_list_for_each_entry(entry, &pp->bridge->dma_ranges) { in dw_pcie_iatu_setup()
/openbmc/linux/include/linux/
H A Dpci.h572 struct list_head dma_ranges; /* dma ranges resource list */ member