Lines Matching refs:dma_dev

170 	struct dma_device dma_dev;  member
177 dma_dev); in chan_to_axi_dmac()
357 dev_dbg(dmac->dma_dev.dev, in axi_dmac_dequeue_partial_xfers()
361 dev_warn(dmac->dma_dev.dev, in axi_dmac_dequeue_partial_xfers()
534 struct device *dev = dmac->dma_dev.dev; in axi_dmac_alloc_desc()
573 struct device *dev = dmac->dma_dev.dev; in axi_dmac_free_desc()
1017 dev_err(dmac->dma_dev.dev, in axi_dmac_detect_caps()
1025 dev_err(dmac->dma_dev.dev, in axi_dmac_detect_caps()
1056 struct dma_device *dma_dev; in axi_dmac_probe() local
1095 dma_dev = &dmac->dma_dev; in axi_dmac_probe()
1096 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask); in axi_dmac_probe()
1097 dma_cap_set(DMA_CYCLIC, dma_dev->cap_mask); in axi_dmac_probe()
1098 dma_cap_set(DMA_INTERLEAVE, dma_dev->cap_mask); in axi_dmac_probe()
1099 dma_dev->device_free_chan_resources = axi_dmac_free_chan_resources; in axi_dmac_probe()
1100 dma_dev->device_tx_status = dma_cookie_status; in axi_dmac_probe()
1101 dma_dev->device_issue_pending = axi_dmac_issue_pending; in axi_dmac_probe()
1102 dma_dev->device_prep_slave_sg = axi_dmac_prep_slave_sg; in axi_dmac_probe()
1103 dma_dev->device_prep_peripheral_dma_vec = axi_dmac_prep_peripheral_dma_vec; in axi_dmac_probe()
1104 dma_dev->device_prep_dma_cyclic = axi_dmac_prep_dma_cyclic; in axi_dmac_probe()
1105 dma_dev->device_prep_interleaved_dma = axi_dmac_prep_interleaved; in axi_dmac_probe()
1106 dma_dev->device_terminate_all = axi_dmac_terminate_all; in axi_dmac_probe()
1107 dma_dev->device_synchronize = axi_dmac_synchronize; in axi_dmac_probe()
1108 dma_dev->dev = &pdev->dev; in axi_dmac_probe()
1109 dma_dev->src_addr_widths = BIT(dmac->chan.src_width); in axi_dmac_probe()
1110 dma_dev->dst_addr_widths = BIT(dmac->chan.dest_width); in axi_dmac_probe()
1111 dma_dev->directions = BIT(dmac->chan.direction); in axi_dmac_probe()
1112 dma_dev->residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR; in axi_dmac_probe()
1113 dma_dev->max_sg_burst = 31; /* 31 SGs maximum in one burst */ in axi_dmac_probe()
1114 INIT_LIST_HEAD(&dma_dev->channels); in axi_dmac_probe()
1117 vchan_init(&dmac->chan.vchan, dma_dev); in axi_dmac_probe()
1123 dma_dev->copy_align = (dmac->chan.address_align_mask + 1); in axi_dmac_probe()
1135 dev_err(dmac->dma_dev.dev, in axi_dmac_probe()
1141 ret = dmaenginem_async_device_register(dma_dev); in axi_dmac_probe()
1155 of_dma_xlate_by_chan_id, dma_dev); in axi_dmac_probe()