Home
last modified time | relevance | path

Searched refs:dmadev (Results 1 – 11 of 11) sorted by relevance

/drivers/spi/
Dspi-pxa2xx-dma.c29 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/
Dsa11x0-dma.c137 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 …]
Dvirt-dma.c106 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()
Dvirt-dma.h45 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev);
Dmv_xor.h92 struct dma_device dmadev; member
Dmv_xor.c46 ((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()
Damba-pl08x.c1696 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()
Dmmp_pdma.c129 #define to_mmp_pdma_dev(dmadev) container_of(dmadev, struct mmp_pdma_device, device) argument
/drivers/net/wireless/brcm80211/brcmsmac/
Ddma.c213 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/
Dnvme-core.c1026 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/
Dm2m-deinterlace.c228 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()