Lines Matching refs:dma_device

468 	struct dma_device dma_device;  member
2201 INIT_LIST_HEAD(&gpi_dev->dma_device.channels); in gpi_probe()
2234 vchan_init(&gchan->vc, &gpi_dev->dma_device); in gpi_probe()
2253 dma_cap_zero(gpi_dev->dma_device.cap_mask); in gpi_probe()
2254 dma_cap_set(DMA_SLAVE, gpi_dev->dma_device.cap_mask); in gpi_probe()
2257 gpi_dev->dma_device.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in gpi_probe()
2258 gpi_dev->dma_device.residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR; in gpi_probe()
2259 gpi_dev->dma_device.src_addr_widths = DMA_SLAVE_BUSWIDTH_8_BYTES; in gpi_probe()
2260 gpi_dev->dma_device.dst_addr_widths = DMA_SLAVE_BUSWIDTH_8_BYTES; in gpi_probe()
2261 gpi_dev->dma_device.device_alloc_chan_resources = gpi_alloc_chan_resources; in gpi_probe()
2262 gpi_dev->dma_device.device_free_chan_resources = gpi_free_chan_resources; in gpi_probe()
2263 gpi_dev->dma_device.device_tx_status = dma_cookie_status; in gpi_probe()
2264 gpi_dev->dma_device.device_issue_pending = gpi_issue_pending; in gpi_probe()
2265 gpi_dev->dma_device.device_prep_slave_sg = gpi_prep_slave_sg; in gpi_probe()
2266 gpi_dev->dma_device.device_config = gpi_peripheral_config; in gpi_probe()
2267 gpi_dev->dma_device.device_terminate_all = gpi_terminate_all; in gpi_probe()
2268 gpi_dev->dma_device.dev = gpi_dev->dev; in gpi_probe()
2269 gpi_dev->dma_device.device_pause = gpi_pause; in gpi_probe()
2270 gpi_dev->dma_device.device_resume = gpi_resume; in gpi_probe()
2273 ret = dma_async_device_register(&gpi_dev->dma_device); in gpi_probe()