Home
last modified time | relevance | path

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

/drivers/ata/
Dpata_pxa.c164 struct resource *dma_res; in pxa_ata_probe() local
199 dma_res = platform_get_resource(pdev, IORESOURCE_DMA, 0); in pxa_ata_probe()
200 if (unlikely(dma_res == NULL)) in pxa_ata_probe()
226 ap->ioaddr.bmdma_addr = devm_ioremap(&pdev->dev, dma_res->start, in pxa_ata_probe()
227 resource_size(dma_res)); in pxa_ata_probe()
267 config.src_addr = dma_res->start; in pxa_ata_probe()
268 config.dst_addr = dma_res->start; in pxa_ata_probe()
/drivers/net/ethernet/altera/
Daltera_tse_main.c1352 struct resource *dma_res; in altera_tse_probe() local
1380 ret = request_and_map(pdev, "s1", &dma_res, &descmap); in altera_tse_probe()
1388 priv->txdescmem = resource_size(dma_res)/2; in altera_tse_probe()
1390 priv->txdescmem_busaddr = (dma_addr_t)dma_res->start; in altera_tse_probe()
1394 priv->rxdescmem = resource_size(dma_res)/2; in altera_tse_probe()
1395 priv->rxdescmem_busaddr = dma_res->start; in altera_tse_probe()
1412 ret = request_and_map(pdev, "rx_resp", &dma_res, in altera_tse_probe()
1417 ret = request_and_map(pdev, "tx_desc", &dma_res, in altera_tse_probe()
1422 priv->txdescmem = resource_size(dma_res); in altera_tse_probe()
1423 priv->txdescmem_busaddr = dma_res->start; in altera_tse_probe()
[all …]
/drivers/dma/
Daltera-msgdma.c795 struct resource *dma_res; in msgdma_probe() local
805 ret = request_and_map(pdev, "csr", &dma_res, &mdev->csr); in msgdma_probe()
810 ret = request_and_map(pdev, "desc", &dma_res, &mdev->desc); in msgdma_probe()
815 ret = request_and_map(pdev, "resp", &dma_res, &mdev->resp); in msgdma_probe()