Home
last modified time | relevance | path

Searched refs:dma_res (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dpata_pxa.c166 struct resource *dma_res; in pxa_ata_probe() local
201 dma_res = platform_get_resource(pdev, IORESOURCE_DMA, 0); in pxa_ata_probe()
202 if (unlikely(dma_res == NULL)) in pxa_ata_probe()
228 ap->ioaddr.bmdma_addr = devm_ioremap(&pdev->dev, dma_res->start, in pxa_ata_probe()
229 resource_size(dma_res)); in pxa_ata_probe()
269 config.src_addr = dma_res->start; in pxa_ata_probe()
270 config.dst_addr = dma_res->start; in pxa_ata_probe()
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_tse_main.c1142 struct resource *dma_res; in altera_tse_probe() local
1179 priv->txdescmem = resource_size(dma_res)/2; in altera_tse_probe()
1185 priv->rxdescmem = resource_size(dma_res)/2; in altera_tse_probe()
1186 priv->rxdescmem_busaddr = dma_res->start; in altera_tse_probe()
1203 ret = request_and_map(pdev, "rx_resp", &dma_res, in altera_tse_probe()
1213 priv->txdescmem = resource_size(dma_res); in altera_tse_probe()
1214 priv->txdescmem_busaddr = dma_res->start; in altera_tse_probe()
1221 priv->rxdescmem = resource_size(dma_res); in altera_tse_probe()
1222 priv->rxdescmem_busaddr = dma_res->start; in altera_tse_probe()
1246 ret = request_and_map(pdev, "rx_csr", &dma_res, in altera_tse_probe()
[all …]
/openbmc/linux/drivers/dma/
H A Daltera-msgdma.c810 struct resource *dma_res; in msgdma_probe() local
820 ret = request_and_map(pdev, "csr", &dma_res, &mdev->csr, false); in msgdma_probe()
825 ret = request_and_map(pdev, "desc", &dma_res, &mdev->desc, false); in msgdma_probe()
830 ret = request_and_map(pdev, "resp", &dma_res, &mdev->resp, true); in msgdma_probe()
/openbmc/linux/drivers/vfio/
H A Dvfio_iommu_type1.c189 struct vfio_dma *dma_res = NULL; in vfio_find_dma_first_node() local
196 dma_res = dma; in vfio_find_dma_first_node()
204 if (res && size && dma_res->iova >= start + size) in vfio_find_dma_first_node()