Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/kernel/
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-6.6.21/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h46 struct dma_window { struct
57 struct dma_window window[NUM_DMA_WINDOWS]; argument
Dibmvscsi_tgt.c2590 const __be32 *dma_window; in read_dma_window() local
2597 dma_window = (const __be32 *)vio_get_attribute(vdev, in read_dma_window()
2600 if (!dma_window) { in read_dma_window()
2605 vscsi->dds.window[LOCAL].liobn = be32_to_cpu(*dma_window); in read_dma_window()
2606 dma_window++; in read_dma_window()
2612 dma_window++; in read_dma_window()
2614 dma_window += be32_to_cpu(*prop); in read_dma_window()
2621 dma_window++; in read_dma_window()
2623 dma_window += be32_to_cpu(*prop); in read_dma_window()
2627 vscsi->dds.window[REMOTE].liobn = be32_to_cpu(*dma_window); in read_dma_window()
/linux-6.6.21/drivers/misc/
Dibmvmc.c2193 const __be32 *dma_window; in read_dma_window() local
2200 dma_window = in read_dma_window()
2203 if (!dma_window) { in read_dma_window()
2208 adapter->liobn = be32_to_cpu(*dma_window); in read_dma_window()
2209 dma_window++; in read_dma_window()
2215 dma_window++; in read_dma_window()
2217 dma_window += be32_to_cpu(*prop); in read_dma_window()
2224 dma_window++; in read_dma_window()
2226 dma_window += be32_to_cpu(*prop); in read_dma_window()
2230 adapter->riobn = be32_to_cpu(*dma_window); in read_dma_window()
/linux-6.6.21/arch/powerpc/include/asm/
Dprom.h66 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,
/linux-6.6.21/arch/powerpc/platforms/4xx/
Dpci.c325 struct resource dma_window; in ppc4xx_probe_pci_bridge() local
386 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pci_bridge()
393 ppc4xx_configure_pci_PTMs(hose, reg, &dma_window); in ppc4xx_probe_pci_bridge()
529 struct resource dma_window; in ppc4xx_probe_pcix_bridge() local
595 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pcix_bridge()
602 ppc4xx_configure_pcix_PIMs(hose, reg, &dma_window, big_pim, msi); in ppc4xx_probe_pcix_bridge()
1912 struct resource dma_window; in ppc4xx_pciex_port_setup_hose() local
2005 if (ppc4xx_parse_dma_ranges(hose, mbase, &dma_window) != 0) in ppc4xx_pciex_port_setup_hose()
2012 ppc4xx_configure_pciex_PIMs(port, hose, mbase, &dma_window); in ppc4xx_pciex_port_setup_hose()
/linux-6.6.21/arch/powerpc/platforms/cell/
Diommu.c605 const __be32 *dma_window; in cell_iommu_get_window() local
609 dma_window = of_get_property(np, "ibm,dma-window", NULL); in cell_iommu_get_window()
610 if (dma_window == NULL) { in cell_iommu_get_window()
616 of_parse_dma_window(np, dma_window, &index, base, size); in cell_iommu_get_window()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dvio.c1172 const __be32 *dma_window; in vio_build_iommu_table() local
1176 dma_window = of_get_property(dev->dev.of_node, in vio_build_iommu_table()
1178 if (!dma_window) in vio_build_iommu_table()
1187 of_parse_dma_window(dev->dev.of_node, dma_window, in vio_build_iommu_table()