Lines Matching refs:dma_dev

150 	struct dma_device dma_dev;  member
157 dma_dev); in chan_to_axi_dmac()
324 dev_dbg(dmac->dma_dev.dev, in axi_dmac_dequeue_partial_xfers()
328 dev_warn(dmac->dma_dev.dev, in axi_dmac_dequeue_partial_xfers()
882 dev_err(dmac->dma_dev.dev, in axi_dmac_detect_caps()
890 dev_err(dmac->dma_dev.dev, in axi_dmac_detect_caps()
911 struct dma_device *dma_dev; in axi_dmac_probe() local
955 dma_dev = &dmac->dma_dev; in axi_dmac_probe()
956 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask); in axi_dmac_probe()
957 dma_cap_set(DMA_CYCLIC, dma_dev->cap_mask); in axi_dmac_probe()
958 dma_cap_set(DMA_INTERLEAVE, dma_dev->cap_mask); in axi_dmac_probe()
959 dma_dev->device_free_chan_resources = axi_dmac_free_chan_resources; in axi_dmac_probe()
960 dma_dev->device_tx_status = dma_cookie_status; in axi_dmac_probe()
961 dma_dev->device_issue_pending = axi_dmac_issue_pending; in axi_dmac_probe()
962 dma_dev->device_prep_slave_sg = axi_dmac_prep_slave_sg; in axi_dmac_probe()
963 dma_dev->device_prep_dma_cyclic = axi_dmac_prep_dma_cyclic; in axi_dmac_probe()
964 dma_dev->device_prep_interleaved_dma = axi_dmac_prep_interleaved; in axi_dmac_probe()
965 dma_dev->device_terminate_all = axi_dmac_terminate_all; in axi_dmac_probe()
966 dma_dev->device_synchronize = axi_dmac_synchronize; in axi_dmac_probe()
967 dma_dev->dev = &pdev->dev; in axi_dmac_probe()
968 dma_dev->chancnt = 1; in axi_dmac_probe()
969 dma_dev->src_addr_widths = BIT(dmac->chan.src_width); in axi_dmac_probe()
970 dma_dev->dst_addr_widths = BIT(dmac->chan.dest_width); in axi_dmac_probe()
971 dma_dev->directions = BIT(dmac->chan.direction); in axi_dmac_probe()
972 dma_dev->residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR; in axi_dmac_probe()
973 INIT_LIST_HEAD(&dma_dev->channels); in axi_dmac_probe()
976 vchan_init(&dmac->chan.vchan, dma_dev); in axi_dmac_probe()
982 dma_dev->copy_align = (dmac->chan.address_align_mask + 1); in axi_dmac_probe()
991 dev_err(dmac->dma_dev.dev, in axi_dmac_probe()
998 ret = dma_async_device_register(dma_dev); in axi_dmac_probe()
1003 of_dma_xlate_by_chan_id, dma_dev); in axi_dmac_probe()
1028 dma_async_device_unregister(&dmac->dma_dev); in axi_dmac_probe()
1042 dma_async_device_unregister(&dmac->dma_dev); in axi_dmac_remove()