/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | of_iommu.c | 39 const __be32 *dma_window, *end; in of_get_dma_window() local 53 dma_window = of_get_property(dn, propname, &bytes); in of_get_dma_window() 54 if (!dma_window) in of_get_dma_window() 56 end = dma_window + bytes / sizeof(*dma_window); in of_get_dma_window() 58 while (dma_window < end) { in of_get_dma_window() 64 *busno = be32_to_cpup(dma_window++); in of_get_dma_window() 73 *addr = of_read_number(dma_window, cells); in of_get_dma_window() 74 dma_window += cells; in of_get_dma_window() 80 *size = of_read_number(dma_window, cells); in of_get_dma_window() 81 dma_window += cells; in of_get_dma_window()
|
D | fsl_pamu_domain.h | 12 struct dma_window { struct 42 struct dma_window *win_arr;
|
D | fsl_pamu_domain.c | 60 struct dma_window *win_ptr = &dma_domain->win_arr[0]; in get_phys_addr() 89 struct dma_window *sub_win_ptr = &dma_domain->win_arr[0]; in map_subwins() 120 struct dma_window *wnd = &dma_domain->win_arr[0]; in map_win() 151 struct dma_window *wnd = &dma_domain->win_arr[wnd_nr]; in update_liodn() 528 struct dma_window *wnd; in fsl_pamu_window_enable()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | iommu.c | 548 const __be32 *dma_window) in iommu_table_setparms_lpar() argument 552 of_parse_dma_window(dn, dma_window, &tbl->it_index, &offset, &size); in iommu_table_setparms_lpar() 693 const __be32 *dma_window = NULL; in pci_dma_bus_setup_pSeriesLP() local 702 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_bus_setup_pSeriesLP() 703 if (dma_window != NULL) in pci_dma_bus_setup_pSeriesLP() 707 if (dma_window == NULL) { in pci_dma_bus_setup_pSeriesLP() 721 ppci->table_group, dma_window); in pci_dma_bus_setup_pSeriesLP() 1300 const __be32 *dma_window = NULL; in pci_dma_dev_setup_pSeriesLP() local 1316 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); in pci_dma_dev_setup_pSeriesLP() 1317 if (dma_window) in pci_dma_dev_setup_pSeriesLP() [all …]
|
D | vio.c | 1169 const __be32 *dma_window; in vio_build_iommu_table() local 1173 dma_window = of_get_property(dev->dev.of_node, in vio_build_iommu_table() 1175 if (!dma_window) in vio_build_iommu_table() 1184 of_parse_dma_window(dev->dev.of_node, dma_window, in vio_build_iommu_table()
|
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.h | 46 struct dma_window { struct 57 struct dma_window window[NUM_DMA_WINDOWS]; argument
|
D | ibmvscsi_tgt.c | 2592 const __be32 *dma_window; in read_dma_window() local 2599 dma_window = (const __be32 *)vio_get_attribute(vdev, in read_dma_window() 2602 if (!dma_window) { in read_dma_window() 2607 vscsi->dds.window[LOCAL].liobn = be32_to_cpu(*dma_window); in read_dma_window() 2608 dma_window++; in read_dma_window() 2614 dma_window++; in read_dma_window() 2616 dma_window += be32_to_cpu(*prop); in read_dma_window() 2623 dma_window++; in read_dma_window() 2625 dma_window += be32_to_cpu(*prop); in read_dma_window() 2629 vscsi->dds.window[REMOTE].liobn = be32_to_cpu(*dma_window); in read_dma_window()
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | ibmvmc.c | 2191 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()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | prom.h | 71 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,
|
/kernel/linux/linux-5.10/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() 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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
D | iommu.c | 602 const __be32 *dma_window; in cell_iommu_get_window() local 606 dma_window = of_get_property(np, "ibm,dma-window", NULL); in cell_iommu_get_window() 607 if (dma_window == NULL) { in cell_iommu_get_window() 613 of_parse_dma_window(np, dma_window, &index, base, size); in cell_iommu_get_window()
|