Searched refs:shdma_dev (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/dma/sh/ |
D | sudmac.c | 37 struct shdma_dev shdma_dev; member 55 struct sudmac_device, shdma_dev.dma_dev) 241 struct shdma_dev *sdev = &su_dev->shdma_dev; in sudmac_chan_probe() 298 shdma_for_each_chan(schan, &su_dev->shdma_dev, i) { in sudmac_chan_remove() 352 dma_dev = &su_dev->shdma_dev.dma_dev; in sudmac_probe() 361 su_dev->shdma_dev.ops = &sudmac_shdma_ops; in sudmac_probe() 362 su_dev->shdma_dev.desc_size = sizeof(struct sudmac_desc); in sudmac_probe() 363 err = shdma_init(&pdev->dev, &su_dev->shdma_dev, pdata->channel_num); in sudmac_probe() 379 err = dma_async_device_register(&su_dev->shdma_dev.dma_dev); in sudmac_probe() 388 shdma_cleanup(&su_dev->shdma_dev); in sudmac_probe() [all …]
|
D | shdma.h | 38 struct shdma_dev shdma_dev; member 63 struct sh_dmae_device, shdma_dev.dma_dev)
|
D | shdmac.c | 169 dev_warn(shdev->shdma_dev.dma_dev.dev, "Can't initialize DMAOR.\n"); in sh_dmae_rst() 173 dev_warn(shdev->shdma_dev.dma_dev.dev, in sh_dmae_rst() 439 ret = shdma_reset(&shdev->shdma_dev); in sh_dmae_reset() 525 struct shdma_dev *sdev = &shdev->shdma_dev; in sh_dmae_chan_probe() 573 shdma_for_each_chan(schan, &shdev->shdma_dev, i) { in sh_dmae_chan_remove() 730 dma_dev = &shdev->shdma_dev.dma_dev; in sh_dmae_probe() 754 shdev->shdma_dev.ops = &sh_dmae_shdma_ops; in sh_dmae_probe() 755 shdev->shdma_dev.desc_size = sizeof(struct sh_dmae_desc); in sh_dmae_probe() 756 err = shdma_init(&pdev->dev, &shdev->shdma_dev, in sh_dmae_probe() 869 err = dma_async_device_register(&shdev->shdma_dev.dma_dev); in sh_dmae_probe() [all …]
|
D | shdma-base.c | 40 #define to_shdma_dev(d) container_of(d, struct shdma_dev, dma_dev) 57 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_chan_xfer_ld_queue() 130 struct shdma_dev *sdev = in shdma_tx_submit() 176 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_setup_slave() 209 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_alloc_chan_resources() 280 struct shdma_dev *sdev; in shdma_chan_filter() 456 struct shdma_dev *sdev = to_shdma_dev(chan->device); in shdma_free_chan_resources() 508 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_add_desc() 669 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_prep_slave_sg() 700 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_prep_dma_cyclic() [all …]
|
/Linux-v4.19/include/linux/ |
D | shdma-base.h | 109 struct shdma_dev { struct 121 bool shdma_reset(struct shdma_dev *sdev); argument 122 void shdma_chan_probe(struct shdma_dev *sdev, 125 int shdma_init(struct device *dev, struct shdma_dev *sdev, 127 void shdma_cleanup(struct shdma_dev *sdev);
|