Searched refs:dma_res (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/ata/ |
D | pata_pxa.c | 166 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()
|
/Linux-v6.6/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 1142 struct resource *dma_res; in altera_tse_probe() local 1171 ret = request_and_map(pdev, "s1", &dma_res, &descmap); in altera_tse_probe() 1179 priv->txdescmem = resource_size(dma_res)/2; in altera_tse_probe() 1181 priv->txdescmem_busaddr = (dma_addr_t)dma_res->start; 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() 1208 ret = request_and_map(pdev, "tx_desc", &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() [all …]
|
/Linux-v6.6/drivers/dma/ |
D | altera-msgdma.c | 811 struct resource *dma_res; in msgdma_probe() local 821 ret = request_and_map(pdev, "csr", &dma_res, &mdev->csr, false); in msgdma_probe() 826 ret = request_and_map(pdev, "desc", &dma_res, &mdev->desc, false); in msgdma_probe() 831 ret = request_and_map(pdev, "resp", &dma_res, &mdev->resp, true); in msgdma_probe()
|
/Linux-v6.6/drivers/vfio/ |
D | vfio_iommu_type1.c | 189 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()
|