Lines Matching defs:common
388 * @common: DMA common channel
427 struct dma_chan common;
487 * @common: DMA device structure
506 struct dma_device common;
525 container_of(chan, struct xilinx_dma_chan, common)
1248 chan->xdev->common.copy_align) {
1254 (1 << chan->xdev->common.copy_align));
2061 dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
2136 dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
2199 dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
2309 dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
2409 dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
2612 list_del(&chan->common.device_node);
2852 xdev->common.copy_align = (enum dmaengine_alignment)fls(width - 1);
2945 chan->common.device = &xdev->common;
2947 list_add_tail(&chan->common.device_node, &xdev->common.channels);
3005 return dma_get_slave_channel(&xdev->chan[chan_id]->common);
3141 xdev->common.desc_metadata_modes = DESC_METADATA_ENGINE;
3151 xdev->common.dev = &pdev->dev;
3153 INIT_LIST_HEAD(&xdev->common.channels);
3155 dma_cap_set(DMA_SLAVE, xdev->common.cap_mask);
3156 dma_cap_set(DMA_PRIVATE, xdev->common.cap_mask);
3159 xdev->common.device_alloc_chan_resources =
3161 xdev->common.device_free_chan_resources =
3163 xdev->common.device_terminate_all = xilinx_dma_terminate_all;
3164 xdev->common.device_synchronize = xilinx_dma_synchronize;
3165 xdev->common.device_tx_status = xilinx_dma_tx_status;
3166 xdev->common.device_issue_pending = xilinx_dma_issue_pending;
3167 xdev->common.device_config = xilinx_dma_device_config;
3169 dma_cap_set(DMA_CYCLIC, xdev->common.cap_mask);
3170 xdev->common.device_prep_slave_sg = xilinx_dma_prep_slave_sg;
3171 xdev->common.device_prep_dma_cyclic =
3174 xdev->common.residue_granularity =
3177 dma_cap_set(DMA_MEMCPY, xdev->common.cap_mask);
3178 xdev->common.device_prep_dma_memcpy = xilinx_cdma_prep_memcpy;
3180 xdev->common.residue_granularity =
3183 xdev->common.device_prep_slave_sg = xilinx_mcdma_prep_slave_sg;
3185 xdev->common.device_prep_interleaved_dma =
3207 err = dma_async_device_register(&xdev->common);
3217 dma_async_device_unregister(&xdev->common);
3255 dma_async_device_unregister(&xdev->common);