Lines Matching refs:dma_device

524 	struct dma_device		dma_device;  member
2141 dma_cap_mask_t mask = sdma->dma_device.cap_mask; in sdma_xlate()
2232 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); in sdma_probe()
2233 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); in sdma_probe()
2234 dma_cap_set(DMA_MEMCPY, sdma->dma_device.cap_mask); in sdma_probe()
2236 INIT_LIST_HEAD(&sdma->dma_device.channels); in sdma_probe()
2254 vchan_init(&sdmac->vc, &sdma->dma_device); in sdma_probe()
2268 sdma->dma_device.dev = &pdev->dev; in sdma_probe()
2270 sdma->dma_device.device_alloc_chan_resources = sdma_alloc_chan_resources; in sdma_probe()
2271 sdma->dma_device.device_free_chan_resources = sdma_free_chan_resources; in sdma_probe()
2272 sdma->dma_device.device_tx_status = sdma_tx_status; in sdma_probe()
2273 sdma->dma_device.device_prep_slave_sg = sdma_prep_slave_sg; in sdma_probe()
2274 sdma->dma_device.device_prep_dma_cyclic = sdma_prep_dma_cyclic; in sdma_probe()
2275 sdma->dma_device.device_config = sdma_config; in sdma_probe()
2276 sdma->dma_device.device_terminate_all = sdma_terminate_all; in sdma_probe()
2277 sdma->dma_device.device_synchronize = sdma_channel_synchronize; in sdma_probe()
2278 sdma->dma_device.src_addr_widths = SDMA_DMA_BUSWIDTHS; in sdma_probe()
2279 sdma->dma_device.dst_addr_widths = SDMA_DMA_BUSWIDTHS; in sdma_probe()
2280 sdma->dma_device.directions = SDMA_DMA_DIRECTIONS; in sdma_probe()
2281 sdma->dma_device.residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT; in sdma_probe()
2282 sdma->dma_device.device_prep_dma_memcpy = sdma_prep_memcpy; in sdma_probe()
2283 sdma->dma_device.device_issue_pending = sdma_issue_pending; in sdma_probe()
2284 sdma->dma_device.copy_align = 2; in sdma_probe()
2285 dma_set_max_seg_size(sdma->dma_device.dev, SDMA_BD_MAX_CNT); in sdma_probe()
2289 ret = dma_async_device_register(&sdma->dma_device); in sdma_probe()
2329 dma_async_device_unregister(&sdma->dma_device); in sdma_probe()
2345 dma_async_device_unregister(&sdma->dma_device); in sdma_remove()