Lines Matching refs:dma_dev

209 	struct dma_device	dma_dev;  member
358 dev_warn(sdev->dma_dev.dev, in sprd_dma_pause_resume()
422 dev_warn(sdev->dma_dev.dev, "incorrect dma interrupt type\n"); in sprd_dma_get_int_type()
481 dev_err(sdev->dma_dev.dev, "invalid channel mode setting %d\n", in sprd_dma_set_2stage_config()
762 dev_err(sdev->dma_dev.dev, "invalid source step\n"); in sprd_dma_fill_desc()
778 dev_err(sdev->dma_dev.dev, "invalid destination step\n"); in sprd_dma_fill_desc()
786 dev_err(sdev->dma_dev.dev, "invalid source datawidth\n"); in sprd_dma_fill_desc()
792 dev_err(sdev->dma_dev.dev, "invalid destination datawidth\n"); in sprd_dma_fill_desc()
1177 dma_cap_set(DMA_MEMCPY, sdev->dma_dev.cap_mask); in sprd_dma_probe()
1179 INIT_LIST_HEAD(&sdev->dma_dev.channels); in sprd_dma_probe()
1180 INIT_LIST_HEAD(&sdev->dma_dev.global_node); in sprd_dma_probe()
1181 sdev->dma_dev.dev = &pdev->dev; in sprd_dma_probe()
1182 sdev->dma_dev.device_alloc_chan_resources = sprd_dma_alloc_chan_resources; in sprd_dma_probe()
1183 sdev->dma_dev.device_free_chan_resources = sprd_dma_free_chan_resources; in sprd_dma_probe()
1184 sdev->dma_dev.device_tx_status = sprd_dma_tx_status; in sprd_dma_probe()
1185 sdev->dma_dev.device_issue_pending = sprd_dma_issue_pending; in sprd_dma_probe()
1186 sdev->dma_dev.device_prep_dma_memcpy = sprd_dma_prep_dma_memcpy; in sprd_dma_probe()
1187 sdev->dma_dev.device_prep_slave_sg = sprd_dma_prep_slave_sg; in sprd_dma_probe()
1188 sdev->dma_dev.device_config = sprd_dma_slave_config; in sprd_dma_probe()
1189 sdev->dma_dev.device_pause = sprd_dma_pause; in sprd_dma_probe()
1190 sdev->dma_dev.device_resume = sprd_dma_resume; in sprd_dma_probe()
1191 sdev->dma_dev.device_terminate_all = sprd_dma_terminate_all; in sprd_dma_probe()
1202 vchan_init(&dma_chn->vc, &sdev->dma_dev); in sprd_dma_probe()
1217 ret = dma_async_device_register(&sdev->dma_dev); in sprd_dma_probe()
1223 sprd_dma_info.dma_cap = sdev->dma_dev.cap_mask; in sprd_dma_probe()
1233 dma_async_device_unregister(&sdev->dma_dev); in sprd_dma_probe()
1253 list_for_each_entry_safe(c, cn, &sdev->dma_dev.channels, in sprd_dma_remove()
1260 dma_async_device_unregister(&sdev->dma_dev); in sprd_dma_remove()
1288 dev_err(sdev->dma_dev.dev, "enable dma failed\n"); in sprd_dma_runtime_resume()