Searched refs:dma_window (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/kernel/ |
D | prom_parse.c | 11 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window, in of_parse_dma_window() argument 19 *busno = of_read_number(dma_window, 1); in of_parse_dma_window() 20 dma_window++; in of_parse_dma_window() 27 *phys = of_read_number(dma_window, cells); in of_parse_dma_window() 29 dma_window += cells; in of_parse_dma_window() 33 *size = of_read_number(dma_window, cells); in of_parse_dma_window()
|
/arch/powerpc/platforms/pseries/ |
D | iommu.c | 570 const __be32 *dma_window) in iommu_table_setparms_lpar() argument 574 of_parse_dma_window(dn, dma_window, &tbl->it_index, &offset, &size); in iommu_table_setparms_lpar() 715 const __be32 *dma_window = NULL; in pci_dma_bus_setup_pSeriesLP() local 724 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_bus_setup_pSeriesLP() 725 if (dma_window != NULL) in pci_dma_bus_setup_pSeriesLP() 729 if (dma_window == NULL) { in pci_dma_bus_setup_pSeriesLP() 743 ppci->table_group, dma_window); in pci_dma_bus_setup_pSeriesLP() 1164 const __be32 *dma_window = NULL; in pci_dma_dev_setup_pSeriesLP() local 1180 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_dev_setup_pSeriesLP() 1181 if (dma_window) in pci_dma_dev_setup_pSeriesLP() [all …]
|
D | vio.c | 1185 const __be32 *dma_window; in vio_build_iommu_table() local 1189 dma_window = of_get_property(dev->dev.of_node, in vio_build_iommu_table() 1191 if (!dma_window) in vio_build_iommu_table() 1200 of_parse_dma_window(dev->dev.of_node, dma_window, in vio_build_iommu_table()
|
/arch/powerpc/include/asm/ |
D | prom.h | 75 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,
|
/arch/powerpc/platforms/4xx/ |
D | pci.c | 324 struct resource dma_window; in ppc4xx_probe_pci_bridge() local 385 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pci_bridge() 392 ppc4xx_configure_pci_PTMs(hose, reg, &dma_window); in ppc4xx_probe_pci_bridge() 528 struct resource dma_window; in ppc4xx_probe_pcix_bridge() local 597 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pcix_bridge() 604 ppc4xx_configure_pcix_PIMs(hose, reg, &dma_window, big_pim, msi); in ppc4xx_probe_pcix_bridge() 1917 struct resource dma_window; in ppc4xx_pciex_port_setup_hose() local 2011 if (ppc4xx_parse_dma_ranges(hose, mbase, &dma_window) != 0) in ppc4xx_pciex_port_setup_hose() 2018 ppc4xx_configure_pciex_PIMs(port, hose, mbase, &dma_window); in ppc4xx_pciex_port_setup_hose()
|
/arch/powerpc/platforms/cell/ |
D | iommu.c | 700 const __be32 *dma_window; in cell_iommu_get_window() local 704 dma_window = of_get_property(np, "ibm,dma-window", NULL); in cell_iommu_get_window() 705 if (dma_window == NULL) { in cell_iommu_get_window() 711 of_parse_dma_window(np, dma_window, &index, base, size); in cell_iommu_get_window()
|