Home
last modified time | relevance | path

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

/arch/powerpc/platforms/cell/
Dbeat_iommu.c38 const unsigned long *dma_window; in find_dma_window() local
41 dma_window = of_get_property(dn, "toshiba,dma-window", NULL); in find_dma_window()
42 if (dma_window) { in find_dma_window()
43 *io_space_id = (dma_window[0] >> 32) & 0xffffffffUL; in find_dma_window()
44 *ioid = dma_window[0] & 0x7ffUL; in find_dma_window()
45 *base = dma_window[1]; in find_dma_window()
46 *size = dma_window[2]; in find_dma_window()
47 *io_page_size = 1 << dma_window[3]; in find_dma_window()
Diommu.c709 const void *dma_window; in cell_iommu_get_window() local
713 dma_window = of_get_property(np, "ibm,dma-window", NULL); in cell_iommu_get_window()
714 if (dma_window == NULL) { in cell_iommu_get_window()
720 of_parse_dma_window(np, dma_window, &index, base, size); in cell_iommu_get_window()
/arch/powerpc/platforms/pseries/
Diommu.c326 const void *dma_window, in iommu_table_setparms_lpar() argument
332 of_parse_dma_window(dn, dma_window, &tbl->it_index, &offset, &size); in iommu_table_setparms_lpar()
426 const void *dma_window = NULL; in pci_dma_bus_setup_pSeriesLP() local
435 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_bus_setup_pSeriesLP()
436 if (dma_window != NULL) in pci_dma_bus_setup_pSeriesLP()
440 if (dma_window == NULL) { in pci_dma_bus_setup_pSeriesLP()
453 iommu_table_setparms_lpar(ppci->phb, pdn, tbl, dma_window, in pci_dma_bus_setup_pSeriesLP()
507 const void *dma_window = NULL; in pci_dma_dev_setup_pSeriesLP() local
523 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_dev_setup_pSeriesLP()
524 if (dma_window) in pci_dma_dev_setup_pSeriesLP()
[all …]
/arch/powerpc/kernel/
Dprom_parse.c658 const u32 *dma_window; in of_parse_dma_window() local
662 dma_window = dma_window_prop; in of_parse_dma_window()
665 *busno = *(dma_window++); in of_parse_dma_window()
672 *phys = of_read_number(dma_window, cells); in of_parse_dma_window()
674 dma_window += cells; in of_parse_dma_window()
678 *size = of_read_number(dma_window, cells); in of_parse_dma_window()
Dvio.c1044 const unsigned char *dma_window; in vio_build_iommu_table() local
1051 dma_window = of_get_property(dev->dev.archdata.of_node, in vio_build_iommu_table()
1053 if (!dma_window) in vio_build_iommu_table()
1058 of_parse_dma_window(dev->dev.archdata.of_node, dma_window, in vio_build_iommu_table()
/arch/powerpc/sysdev/
Dppc4xx_pci.c317 struct resource dma_window; in ppc4xx_probe_pci_bridge() local
379 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pci_bridge()
386 ppc4xx_configure_pci_PTMs(hose, reg, &dma_window); in ppc4xx_probe_pci_bridge()
522 struct resource dma_window; in ppc4xx_probe_pcix_bridge() local
590 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pcix_bridge()
597 ppc4xx_configure_pcix_PIMs(hose, reg, &dma_window, big_pim, msi); in ppc4xx_probe_pcix_bridge()
1585 struct resource dma_window; in ppc4xx_pciex_port_setup_hose() local
1679 if (ppc4xx_parse_dma_ranges(hose, mbase, &dma_window) != 0) in ppc4xx_pciex_port_setup_hose()
1686 ppc4xx_configure_pciex_PIMs(port, hose, mbase, &dma_window); in ppc4xx_pciex_port_setup_hose()