/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-mxs.c | 126 struct dma_chan *dmach; member 190 desc = dmaengine_prep_slave_sg(i2c->dmach, in mxs_i2c_dma_setup_xfer() 202 desc = dmaengine_prep_slave_sg(i2c->dmach, &i2c->sg_io[0], 1, in mxs_i2c_dma_setup_xfer() 219 desc = dmaengine_prep_slave_sg(i2c->dmach, in mxs_i2c_dma_setup_xfer() 231 desc = dmaengine_prep_slave_sg(i2c->dmach, &i2c->sg_io[1], 1, in mxs_i2c_dma_setup_xfer() 250 desc = dmaengine_prep_slave_sg(i2c->dmach, in mxs_i2c_dma_setup_xfer() 264 desc = dmaengine_prep_slave_sg(i2c->dmach, i2c->sg_io, 2, in mxs_i2c_dma_setup_xfer() 284 dma_async_issue_pending(i2c->dmach); in mxs_i2c_dma_setup_xfer() 293 dmaengine_terminate_sync(i2c->dmach); in mxs_i2c_dma_setup_xfer() 300 dmaengine_terminate_sync(i2c->dmach); in mxs_i2c_dma_setup_xfer() [all …]
|
/linux-6.1.9/drivers/dma/qcom/ |
D | hidma.c | 88 static inline struct hidma_chan *to_hidma_chan(struct dma_chan *dmach) in to_hidma_chan() argument 90 return container_of(dmach, struct hidma_chan, chan); in to_hidma_chan() 229 static void hidma_issue_pending(struct dma_chan *dmach) in hidma_issue_pending() argument 231 struct hidma_chan *mchan = to_hidma_chan(dmach); in hidma_issue_pending() 272 static enum dma_status hidma_tx_status(struct dma_chan *dmach, in hidma_tx_status() argument 276 struct hidma_chan *mchan = to_hidma_chan(dmach); in hidma_tx_status() 279 ret = dma_cookie_status(dmach, cookie, txstate); in hidma_tx_status() 284 dmach->cookie); in hidma_tx_status() 342 static int hidma_alloc_chan_resources(struct dma_chan *dmach) in hidma_alloc_chan_resources() argument 344 struct hidma_chan *mchan = to_hidma_chan(dmach); in hidma_alloc_chan_resources() [all …]
|
/linux-6.1.9/drivers/mmc/host/ |
D | mxs-mmc.c | 235 desc = dmaengine_prep_slave_sg(ssp->dmach, in mxs_mmc_prep_dma() 275 dma_async_issue_pending(ssp->dmach); in mxs_mmc_bc() 320 dma_async_issue_pending(ssp->dmach); in mxs_mmc_ac() 450 dma_async_issue_pending(ssp->dmach); in mxs_mmc_adtc() 621 ssp->dmach = dma_request_chan(&pdev->dev, "rx-tx"); in mxs_mmc_probe() 622 if (IS_ERR(ssp->dmach)) { in mxs_mmc_probe() 625 ret = PTR_ERR(ssp->dmach); in mxs_mmc_probe() 649 mmc->max_seg_size = dma_get_max_seg_size(ssp->dmach->device->dev); in mxs_mmc_probe() 669 dma_release_channel(ssp->dmach); in mxs_mmc_probe() 685 if (ssp->dmach) in mxs_mmc_remove() [all …]
|
/linux-6.1.9/drivers/spi/ |
D | spi-mxs.c | 240 desc = dmaengine_prep_slave_sg(ssp->dmach, in mxs_spi_txrx_dma() 252 desc = dmaengine_prep_slave_sg(ssp->dmach, in mxs_spi_txrx_dma() 274 dma_async_issue_pending(ssp->dmach); in mxs_spi_txrx_dma() 280 dmaengine_terminate_all(ssp->dmach); in mxs_spi_txrx_dma() 592 ssp->dmach = dma_request_chan(&pdev->dev, "rx-tx"); in mxs_spi_probe() 593 if (IS_ERR(ssp->dmach)) { in mxs_spi_probe() 595 ret = PTR_ERR(ssp->dmach); in mxs_spi_probe() 635 dma_release_channel(ssp->dmach); in mxs_spi_probe() 655 dma_release_channel(ssp->dmach); in mxs_spi_remove()
|
/linux-6.1.9/drivers/scsi/arm/ |
D | cumana_2.c | 163 int dmach = info->info.scsi.dma; in cumanascsi_2_dma_setup() local 167 if (dmach != NO_DMA && in cumanascsi_2_dma_setup() 185 disable_dma(dmach); in cumanascsi_2_dma_setup() 186 set_dma_sg(dmach, info->sg, bufs); in cumanascsi_2_dma_setup() 188 set_dma_mode(dmach, dma_dir); in cumanascsi_2_dma_setup() 189 enable_dma(dmach); in cumanascsi_2_dma_setup()
|
D | powertec.c | 137 int dmach = info->info.scsi.dma; in powertecscsi_dma_setup() local 155 disable_dma(dmach); in powertecscsi_dma_setup() 156 set_dma_sg(dmach, info->sg, bufs); in powertecscsi_dma_setup() 157 set_dma_mode(dmach, dma_dir); in powertecscsi_dma_setup() 158 enable_dma(dmach); in powertecscsi_dma_setup()
|
D | eesox.c | 164 int dmach = info->info.scsi.dma; in eesoxscsi_dma_setup() local 166 if (dmach != NO_DMA && in eesoxscsi_dma_setup() 182 disable_dma(dmach); in eesoxscsi_dma_setup() 183 set_dma_sg(dmach, info->sg, bufs); in eesoxscsi_dma_setup() 184 set_dma_mode(dmach, dma_dir); in eesoxscsi_dma_setup() 185 enable_dma(dmach); in eesoxscsi_dma_setup()
|
/linux-6.1.9/drivers/media/platform/renesas/ |
D | rcar_drif.c | 197 struct dma_chan *dmach; /* Reserved DMA channel */ member 256 if (sdr->ch[i]->dmach) { in rcar_drif_release_dmachannels() 257 dma_release_channel(sdr->ch[i]->dmach); in rcar_drif_release_dmachannels() 258 sdr->ch[i]->dmach = NULL; in rcar_drif_release_dmachannels() 272 ch->dmach = dma_request_chan(&ch->pdev->dev, "rx"); in rcar_drif_alloc_dmachannels() 273 if (IS_ERR(ch->dmach)) { in rcar_drif_alloc_dmachannels() 274 ret = PTR_ERR(ch->dmach); in rcar_drif_alloc_dmachannels() 278 i, ch->dmach); in rcar_drif_alloc_dmachannels() 279 ch->dmach = NULL; in rcar_drif_alloc_dmachannels() 287 ret = dmaengine_slave_config(ch->dmach, &dma_cfg); in rcar_drif_alloc_dmachannels() [all …]
|
/linux-6.1.9/drivers/rapidio/devices/ |
D | rio_mport_cdev.c | 209 struct dma_chan *dmach; member 544 struct dma_chan *dmach; member 566 rmcd_debug(EXIT, "DMA_%d", priv->dmach->chan_id); in mport_release_dma() 576 dma_unmap_sg(req->dmach->device->dev, in dma_req_free() 600 req->status = dma_async_is_tx_complete(priv->dmach, req->cookie, in dma_xfer_callback() 654 if (!priv->dmach) { in get_dma_channel() 655 priv->dmach = rio_request_mport_dma(priv->md->mport); in get_dma_channel() 656 if (!priv->dmach) { in get_dma_channel() 659 priv->dmach = priv->md->dma_chan; in get_dma_channel() 668 priv->md->dma_chan = priv->dmach; in get_dma_channel() [all …]
|
/linux-6.1.9/include/linux/spi/ |
D | mxs-spi.h | 127 struct dma_chan *dmach; member
|