Home
last modified time | relevance | path

Searched refs:dma_window (Results 1 – 9 of 9) sorted by relevance

/linux/arch/powerpc/kernel/
A Dprom_parse.c11 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()
/linux/arch/powerpc/platforms/pseries/
A Diommu.c567 const __be32 *dma_window) in iommu_table_setparms_lpar() argument
709 const __be32 *dma_window = NULL; in pci_dma_bus_setup_pSeriesLP() local
721 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_bus_setup_pSeriesLP()
722 if (dma_window != NULL) in pci_dma_bus_setup_pSeriesLP()
726 if (dma_window == NULL) { in pci_dma_bus_setup_pSeriesLP()
740 ppci->table_group, dma_window); in pci_dma_bus_setup_pSeriesLP()
1493 const __be32 *dma_window = NULL; in pci_dma_dev_setup_pSeriesLP() local
1510 if (dma_window) in pci_dma_dev_setup_pSeriesLP()
1527 pci->table_group, dma_window); in pci_dma_dev_setup_pSeriesLP()
1544 const __be32 *dma_window = NULL; in iommu_bypass_supported_pSeriesLP() local
[all …]
A Dvio.c1171 const __be32 *dma_window; in vio_build_iommu_table() local
1175 dma_window = of_get_property(dev->dev.of_node, in vio_build_iommu_table()
1177 if (!dma_window) in vio_build_iommu_table()
1186 of_parse_dma_window(dev->dev.of_node, dma_window, in vio_build_iommu_table()
/linux/drivers/scsi/ibmvscsi_tgt/
A Dibmvscsi_tgt.h46 struct dma_window { struct
57 struct dma_window window[NUM_DMA_WINDOWS]; argument
A Dibmvscsi_tgt.c2593 const __be32 *dma_window; in read_dma_window() local
2600 dma_window = (const __be32 *)vio_get_attribute(vdev, in read_dma_window()
2603 if (!dma_window) { in read_dma_window()
2608 vscsi->dds.window[LOCAL].liobn = be32_to_cpu(*dma_window); in read_dma_window()
2609 dma_window++; in read_dma_window()
2615 dma_window++; in read_dma_window()
2617 dma_window += be32_to_cpu(*prop); in read_dma_window()
2624 dma_window++; in read_dma_window()
2626 dma_window += be32_to_cpu(*prop); in read_dma_window()
2630 vscsi->dds.window[REMOTE].liobn = be32_to_cpu(*dma_window); in read_dma_window()
/linux/drivers/misc/
A Dibmvmc.c2191 const __be32 *dma_window; in read_dma_window() local
2198 dma_window = in read_dma_window()
2201 if (!dma_window) { in read_dma_window()
2206 adapter->liobn = be32_to_cpu(*dma_window); in read_dma_window()
2207 dma_window++; in read_dma_window()
2213 dma_window++; in read_dma_window()
2215 dma_window += be32_to_cpu(*prop); in read_dma_window()
2222 dma_window++; in read_dma_window()
2224 dma_window += be32_to_cpu(*prop); in read_dma_window()
2228 adapter->riobn = be32_to_cpu(*dma_window); in read_dma_window()
/linux/arch/powerpc/platforms/4xx/
A Dpci.c324 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()
1914 struct resource dma_window; in ppc4xx_pciex_port_setup_hose() local
2008 if (ppc4xx_parse_dma_ranges(hose, mbase, &dma_window) != 0) in ppc4xx_pciex_port_setup_hose()
2015 ppc4xx_configure_pciex_PIMs(port, hose, mbase, &dma_window); in ppc4xx_pciex_port_setup_hose()
/linux/arch/powerpc/include/asm/
A Dprom.h71 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,
/linux/arch/powerpc/platforms/cell/
A Diommu.c603 const __be32 *dma_window; in cell_iommu_get_window() local
607 dma_window = of_get_property(np, "ibm,dma-window", NULL); in cell_iommu_get_window()
608 if (dma_window == NULL) { in cell_iommu_get_window()
614 of_parse_dma_window(np, dma_window, &index, base, size); in cell_iommu_get_window()

Completed in 27 milliseconds