Searched refs:shdma_dev (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/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() 301 shdma_for_each_chan(schan, &su_dev->shdma_dev, i) { in sudmac_chan_remove() 357 dma_dev = &su_dev->shdma_dev.dma_dev; in sudmac_probe() 366 su_dev->shdma_dev.ops = &sudmac_shdma_ops; in sudmac_probe() 367 su_dev->shdma_dev.desc_size = sizeof(struct sudmac_desc); in sudmac_probe() 368 err = shdma_init(&pdev->dev, &su_dev->shdma_dev, pdata->channel_num); in sudmac_probe() 384 err = dma_async_device_register(&su_dev->shdma_dev.dma_dev); in sudmac_probe() 393 shdma_cleanup(&su_dev->shdma_dev); in sudmac_probe() [all …]
|
D | rcar-hpbdma.c | 102 struct shdma_dev shdma_dev; member 126 struct hpb_dmae_device, shdma_dev.dma_dev) 212 dev_err(hpbdev->shdma_dev.dma_dev.dev, in hpb_dmae_async_reset() 505 struct shdma_dev *sdev = &hpbdev->shdma_dev; in hpb_dmae_chan_probe() 507 to_platform_device(hpbdev->shdma_dev.dma_dev.dev); in hpb_dmae_chan_probe() 515 dev_err(hpbdev->shdma_dev.dma_dev.dev, in hpb_dmae_chan_probe() 581 dma_dev = &hpbdev->shdma_dev.dma_dev; in hpb_dmae_probe() 605 hpbdev->shdma_dev.ops = &hpb_dmae_ops; in hpb_dmae_probe() 606 hpbdev->shdma_dev.desc_size = sizeof(struct hpb_desc); in hpb_dmae_probe() 607 err = shdma_init(&pdev->dev, &hpbdev->shdma_dev, pdata->num_channels); in hpb_dmae_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() 527 struct shdma_dev *sdev = &shdev->shdma_dev; in sh_dmae_chan_probe() 578 shdma_for_each_chan(schan, &shdev->shdma_dev, i) { in sh_dmae_chan_remove() 740 dma_dev = &shdev->shdma_dev.dma_dev; in sh_dmae_probe() 764 shdev->shdma_dev.ops = &sh_dmae_shdma_ops; in sh_dmae_probe() 765 shdev->shdma_dev.desc_size = sizeof(struct sh_dmae_desc); in sh_dmae_probe() 766 err = shdma_init(&pdev->dev, &shdev->shdma_dev, in sh_dmae_probe() 880 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-4.4.14/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);
|