Lines Matching defs:dma_slave
235 * @dma_slave: dma_device channels that can do only do slave transfers.
265 struct dma_device dma_slave;
2275 d40_chan_init(base, &base->dma_slave, base->log_chans,
2278 dma_cap_zero(base->dma_slave.cap_mask);
2279 dma_cap_set(DMA_SLAVE, base->dma_slave.cap_mask);
2281 base->dma_slave.device_alloc_chan_resources = d40_alloc_chan_resources;
2282 base->dma_slave.device_free_chan_resources = d40_free_chan_resources;
2283 base->dma_slave.device_prep_dma_memcpy = d40_prep_memcpy;
2284 base->dma_slave.device_prep_slave_sg = d40_prep_slave_sg;
2285 base->dma_slave.device_tx_status = d40_tx_status;
2286 base->dma_slave.device_issue_pending = d40_issue_pending;
2287 base->dma_slave.device_control = d40_control;
2288 base->dma_slave.dev = base->dev;
2290 err = dma_async_device_register(&base->dma_slave);
2356 dma_async_device_unregister(&base->dma_slave);