/drivers/spi/ |
D | spi-pxa2xx-dma.c | 29 struct device *dmadev; in pxa2xx_spi_map_dma_buffer() local 46 dmadev = drv_data->tx_chan->device->dev; in pxa2xx_spi_map_dma_buffer() 51 dmadev = drv_data->rx_chan->device->dev; in pxa2xx_spi_map_dma_buffer() 80 nents = dma_map_sg(dmadev, sgt->sgl, sgt->nents, dir); in pxa2xx_spi_map_dma_buffer() 90 struct device *dmadev; in pxa2xx_spi_unmap_dma_buffer() local 94 dmadev = drv_data->tx_chan->device->dev; in pxa2xx_spi_unmap_dma_buffer() 97 dmadev = drv_data->rx_chan->device->dev; in pxa2xx_spi_unmap_dma_buffer() 101 dma_unmap_sg(dmadev, sgt->sgl, sgt->nents, dir); in pxa2xx_spi_unmap_dma_buffer()
|
/drivers/dma/ |
D | sa11x0-dma.c | 137 static struct sa11x0_dma_dev *to_sa11x0_dma(struct dma_device *dmadev) in to_sa11x0_dma() argument 139 return container_of(dmadev, struct sa11x0_dma_dev, slave); in to_sa11x0_dma() 829 static int sa11x0_dma_init_dmadev(struct dma_device *dmadev, in sa11x0_dma_init_dmadev() argument 834 dmadev->chancnt = ARRAY_SIZE(chan_desc); in sa11x0_dma_init_dmadev() 835 INIT_LIST_HEAD(&dmadev->channels); in sa11x0_dma_init_dmadev() 836 dmadev->dev = dev; in sa11x0_dma_init_dmadev() 837 dmadev->device_alloc_chan_resources = sa11x0_dma_alloc_chan_resources; in sa11x0_dma_init_dmadev() 838 dmadev->device_free_chan_resources = sa11x0_dma_free_chan_resources; in sa11x0_dma_init_dmadev() 839 dmadev->device_control = sa11x0_dma_control; in sa11x0_dma_init_dmadev() 840 dmadev->device_tx_status = sa11x0_dma_tx_status; in sa11x0_dma_init_dmadev() [all …]
|
D | virt-dma.c | 106 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev) in vchan_init() argument 117 vc->chan.device = dmadev; in vchan_init() 118 list_add_tail(&vc->chan.device_node, &dmadev->channels); in vchan_init()
|
D | virt-dma.h | 45 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev);
|
D | mv_xor.h | 92 struct dma_device dmadev; member
|
D | mv_xor.c | 46 ((chan)->dmadev.dev) 1077 struct device *dev = mv_chan->dmadev.dev; in mv_xor_channel_remove() 1079 dma_async_device_unregister(&mv_chan->dmadev); in mv_xor_channel_remove() 1084 list_for_each_entry_safe(chan, _chan, &mv_chan->dmadev.channels, in mv_xor_channel_remove() 1112 dma_dev = &mv_chan->dmadev; in mv_xor_channel_add()
|
D | amba-pl08x.c | 1696 struct dma_device *dmadev, unsigned int channels, bool slave) in pl08x_dma_init_virtual_channels() argument 1701 INIT_LIST_HEAD(&dmadev->channels); in pl08x_dma_init_virtual_channels() 1736 vchan_init(&chan->vc, dmadev); in pl08x_dma_init_virtual_channels() 1743 static void pl08x_free_virtual_channels(struct dma_device *dmadev) in pl08x_free_virtual_channels() argument 1749 next, &dmadev->channels, vc.chan.device_node) { in pl08x_free_virtual_channels()
|
D | mmp_pdma.c | 129 #define to_mmp_pdma_dev(dmadev) container_of(dmadev, struct mmp_pdma_device, device) argument
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
D | dma.c | 213 struct device *dmadev; member 451 return dma_alloc_coherent(di->dmadev, size, pap, GFP_ATOMIC); in dma_alloc_consistent() 486 dma_free_coherent(di->dmadev, size, va, *descpa); in dma_ringalloc() 590 di->dmadev = core->dma_dev; in dma_attach() 755 dma_free_coherent(di->dmadev, di->txdalloc, in dma_detach() 759 dma_free_coherent(di->dmadev, di->rxdalloc, in dma_detach() 897 dma_unmap_single(di->dmadev, pa, di->rxbufsize, DMA_FROM_DEVICE); in dma64_getnextrxp() 1079 pa = dma_map_single(di->dmadev, p->data, di->rxbufsize, in dma_rxfill() 1286 pa = dma_map_single(di->dmadev, data, len, DMA_TO_DEVICE); in dma_txenq() 1518 dma_unmap_single(di->dmadev, pa, size, DMA_TO_DEVICE); in dma_getnexttxp()
|
/drivers/block/ |
D | nvme-core.c | 1026 struct device *dmadev = &dev->pci_dev->dev; in nvme_alloc_queue() local 1033 nvmeq->cqes = dma_alloc_coherent(dmadev, CQ_SIZE(depth), in nvme_alloc_queue() 1039 nvmeq->sq_cmds = dma_alloc_coherent(dmadev, SQ_SIZE(depth), in nvme_alloc_queue() 1044 nvmeq->q_dmadev = dmadev; in nvme_alloc_queue() 1059 dma_free_coherent(dmadev, CQ_SIZE(depth), (void *)nvmeq->cqes, in nvme_alloc_queue() 1821 struct device *dmadev = &dev->pci_dev->dev; in nvme_setup_prp_pools() local 1822 dev->prp_page_pool = dma_pool_create("prp list page", dmadev, in nvme_setup_prp_pools() 1828 dev->prp_small_pool = dma_pool_create("prp list 256", dmadev, in nvme_setup_prp_pools()
|
/drivers/media/platform/ |
D | m2m-deinterlace.c | 228 struct dma_device *dmadev = chan->device; in deinterlace_issue_dma() local 347 tx = dmadev->device_prep_interleaved_dma(chan, ctx->xt, flags); in deinterlace_issue_dma()
|