Home
last modified time | relevance | path

Searched refs:shdma_dev (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/
H A Dshdma-base.h106 struct shdma_dev { struct
118 bool shdma_reset(struct shdma_dev *sdev); argument
119 void shdma_chan_probe(struct shdma_dev *sdev,
122 int shdma_init(struct device *dev, struct shdma_dev *sdev,
124 void shdma_cleanup(struct shdma_dev *sdev);
/openbmc/linux/drivers/dma/sh/
H A Dshdma.h34 struct shdma_dev shdma_dev; member
59 struct sh_dmae_device, shdma_dev.dma_dev)
H A Dshdmac.c168 dev_warn(shdev->shdma_dev.dma_dev.dev, in sh_dmae_rst()
434 ret = shdma_reset(&shdev->shdma_dev); in sh_dmae_reset()
520 struct shdma_dev *sdev = &shdev->shdma_dev; in sh_dmae_chan_probe()
568 shdma_for_each_chan(schan, &shdev->shdma_dev, i) { in sh_dmae_chan_remove()
718 dma_dev = &shdev->shdma_dev.dma_dev; in sh_dmae_probe()
742 shdev->shdma_dev.ops = &sh_dmae_shdma_ops; in sh_dmae_probe()
743 shdev->shdma_dev.desc_size = sizeof(struct sh_dmae_desc); in sh_dmae_probe()
744 err = shdma_init(&pdev->dev, &shdev->shdma_dev, in sh_dmae_probe()
878 shdma_cleanup(&shdev->shdma_dev); in sh_dmae_probe()
888 struct dma_device *dma_dev = &shdev->shdma_dev.dma_dev; in sh_dmae_remove()
[all …]
H A Dshdma-base.c37 #define to_shdma_dev(d) container_of(d, struct shdma_dev, dma_dev)
54 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_chan_xfer_ld_queue()
127 struct shdma_dev *sdev = in shdma_tx_submit()
173 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_setup_slave()
277 struct shdma_dev *sdev; in shdma_chan_filter()
453 struct shdma_dev *sdev = to_shdma_dev(chan->device); in shdma_free_chan_resources()
756 struct shdma_dev *sdev = to_shdma_dev(chan->device); in shdma_terminate_all()
844 bool shdma_reset(struct shdma_dev *sdev) in shdma_reset()
947 void shdma_chan_probe(struct shdma_dev *sdev, in shdma_chan_probe()
981 int shdma_init(struct device *dev, struct shdma_dev *sdev, in shdma_init()
[all …]