Searched refs:dma_window (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/kernel/ |
D | prom_parse.c | 10 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window, in of_parse_dma_window() argument 18 *busno = of_read_number(dma_window, 1); in of_parse_dma_window() 19 dma_window++; in of_parse_dma_window() 26 *phys = of_read_number(dma_window, cells); in of_parse_dma_window() 28 dma_window += cells; in of_parse_dma_window() 32 *size = of_read_number(dma_window, cells); in of_parse_dma_window()
|
D | vio.c | 1174 const __be32 *dma_window; in vio_build_iommu_table() local 1178 dma_window = of_get_property(dev->dev.of_node, in vio_build_iommu_table() 1180 if (!dma_window) in vio_build_iommu_table() 1187 of_parse_dma_window(dev->dev.of_node, dma_window, in vio_build_iommu_table()
|
/arch/powerpc/platforms/pseries/ |
D | iommu.c | 619 const __be32 *dma_window) in iommu_table_setparms_lpar() argument 623 of_parse_dma_window(dn, dma_window, &tbl->it_index, &offset, &size); in iommu_table_setparms_lpar() 731 const __be32 *dma_window = NULL; in pci_dma_bus_setup_pSeriesLP() local 740 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_bus_setup_pSeriesLP() 741 if (dma_window != NULL) in pci_dma_bus_setup_pSeriesLP() 745 if (dma_window == NULL) { in pci_dma_bus_setup_pSeriesLP() 758 iommu_table_setparms_lpar(ppci->phb, pdn, tbl, dma_window); in pci_dma_bus_setup_pSeriesLP() 1179 const __be32 *dma_window = NULL; in pci_dma_dev_setup_pSeriesLP() local 1195 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_dev_setup_pSeriesLP() 1196 if (dma_window) in pci_dma_dev_setup_pSeriesLP() [all …]
|
/arch/powerpc/include/asm/ |
D | prom.h | 75 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,
|
/arch/powerpc/sysdev/ |
D | ppc4xx_pci.c | 328 struct resource dma_window; in ppc4xx_probe_pci_bridge() local 390 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pci_bridge() 397 ppc4xx_configure_pci_PTMs(hose, reg, &dma_window); in ppc4xx_probe_pci_bridge() 534 struct resource dma_window; in ppc4xx_probe_pcix_bridge() local 603 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pcix_bridge() 610 ppc4xx_configure_pcix_PIMs(hose, reg, &dma_window, big_pim, msi); in ppc4xx_probe_pcix_bridge() 1925 struct resource dma_window; in ppc4xx_pciex_port_setup_hose() local 2019 if (ppc4xx_parse_dma_ranges(hose, mbase, &dma_window) != 0) in ppc4xx_pciex_port_setup_hose() 2026 ppc4xx_configure_pciex_PIMs(port, hose, mbase, &dma_window); in ppc4xx_pciex_port_setup_hose()
|
/arch/powerpc/platforms/cell/ |
D | iommu.c | 710 const __be32 *dma_window; in cell_iommu_get_window() local 714 dma_window = of_get_property(np, "ibm,dma-window", NULL); in cell_iommu_get_window() 715 if (dma_window == NULL) { in cell_iommu_get_window() 721 of_parse_dma_window(np, dma_window, &index, base, size); in cell_iommu_get_window()
|