Searched refs:dma_window (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/arch/powerpc/platforms/cell/ |
D | beat_iommu.c | 38 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()
|
D | iommu.c | 701 const void *dma_window; in cell_iommu_get_window() local 705 dma_window = of_get_property(np, "ibm,dma-window", NULL); in cell_iommu_get_window() 706 if (dma_window == NULL) { in cell_iommu_get_window() 712 of_parse_dma_window(np, dma_window, &index, base, size); in cell_iommu_get_window()
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | prom_parse.c | 14 const u32 *dma_window; in of_parse_dma_window() local 18 dma_window = dma_window_prop; in of_parse_dma_window() 21 *busno = *(dma_window++); in of_parse_dma_window() 28 *phys = of_read_number(dma_window, cells); in of_parse_dma_window() 30 dma_window += cells; in of_parse_dma_window() 34 *size = of_read_number(dma_window, cells); in of_parse_dma_window()
|
D | vio.c | 1053 const unsigned char *dma_window; in vio_build_iommu_table() local 1060 dma_window = of_get_property(dev->dev.of_node, in vio_build_iommu_table() 1062 if (!dma_window) in vio_build_iommu_table() 1069 of_parse_dma_window(dev->dev.of_node, dma_window, in vio_build_iommu_table()
|
/linux-2.6.39/arch/microblaze/kernel/ |
D | prom_parse.c | 14 const u32 *dma_window; in of_parse_dma_window() local 18 dma_window = dma_window_prop; in of_parse_dma_window() 21 *busno = *(dma_window++); in of_parse_dma_window() 28 *phys = of_read_number(dma_window, cells); in of_parse_dma_window() 30 dma_window += cells; in of_parse_dma_window() 34 *size = of_read_number(dma_window, cells); in of_parse_dma_window()
|
/linux-2.6.39/arch/powerpc/platforms/pseries/ |
D | iommu.c | 474 const void *dma_window) in iommu_table_setparms_lpar() argument 478 of_parse_dma_window(dn, dma_window, &tbl->it_index, &offset, &size); in iommu_table_setparms_lpar() 573 const void *dma_window = NULL; in pci_dma_bus_setup_pSeriesLP() local 582 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_bus_setup_pSeriesLP() 583 if (dma_window != NULL) in pci_dma_bus_setup_pSeriesLP() 587 if (dma_window == NULL) { in pci_dma_bus_setup_pSeriesLP() 600 iommu_table_setparms_lpar(ppci->phb, pdn, tbl, dma_window); in pci_dma_bus_setup_pSeriesLP() 973 const void *dma_window = NULL; in pci_dma_dev_setup_pSeriesLP() local 989 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_dev_setup_pSeriesLP() 990 if (dma_window) in pci_dma_dev_setup_pSeriesLP() [all …]
|
/linux-2.6.39/arch/powerpc/sysdev/ |
D | ppc4xx_pci.c | 318 struct resource dma_window; in ppc4xx_probe_pci_bridge() local 380 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pci_bridge() 387 ppc4xx_configure_pci_PTMs(hose, reg, &dma_window); in ppc4xx_probe_pci_bridge() 523 struct resource dma_window; in ppc4xx_probe_pcix_bridge() local 592 if (ppc4xx_parse_dma_ranges(hose, reg, &dma_window) != 0) in ppc4xx_probe_pcix_bridge() 599 ppc4xx_configure_pcix_PIMs(hose, reg, &dma_window, big_pim, msi); in ppc4xx_probe_pcix_bridge() 1706 struct resource dma_window; in ppc4xx_pciex_port_setup_hose() local 1800 if (ppc4xx_parse_dma_ranges(hose, mbase, &dma_window) != 0) in ppc4xx_pciex_port_setup_hose() 1807 ppc4xx_configure_pciex_PIMs(port, hose, mbase, &dma_window); in ppc4xx_pciex_port_setup_hose()
|