| /linux/drivers/iio/buffer/ |
| H A D | industrialio-buffer-dmaengine.c | 60 * Cyclic transfers run until abort. Cap active cyclic blocks to one until there 69 if (block->cyclic) in iio_dmaengine_buffer_has_active_cyclic() 96 if (block->cyclic && iio_dmaengine_buffer_has_active_cyclic(dmaengine_buffer)) { in iio_dmaengine_buffer_submit_block() 97 dev_err(queue->dev, "cyclic DMA transfer already active\n"); in iio_dmaengine_buffer_submit_block() 129 if (block->cyclic) in iio_dmaengine_buffer_submit_block() 135 * A new transfer may need to end an already active cyclic transfer in iio_dmaengine_buffer_submit_block() 162 if (!block->cyclic) { in iio_dmaengine_buffer_submit_block()
|
| H A D | industrialio-buffer-dma.c | 731 size_t size, bool cyclic) in iio_dma_buffer_enqueue_dmabuf() argument 746 block->cyclic = cyclic; in iio_dma_buffer_enqueue_dmabuf()
|
| /linux/drivers/dma/xilinx/ |
| H A D | xdma.c | 88 * @cyclic: Cyclic transfer vs. scatter-gather 90 * @periods: Number of periods in the cyclic transfer 91 * @period_size: Size of a period in bytes in cyclic transfers 103 bool cyclic; member 191 * xdma_link_cyclic_desc_blocks - Link cyclic descriptor blocks for DMA transfer 266 * @cyclic: Whether this is a cyclic transfer 269 xdma_alloc_desc(struct xdma_chan *chan, u32 desc_num, bool cyclic) in xdma_alloc_desc() argument 285 sw_desc->cyclic = cyclic; in xdma_alloc_desc() [all...] |
| H A D | xilinx_dma.c | 381 * @cyclic: Check for cyclic transfers. 389 bool cyclic; 412 * @cyclic: Check for cyclic transfers. 426 * @cyclic_seg_v: Statically allocated segment base for cyclic transfers 427 * @cyclic_seg_p: Physical allocated segments base for cyclic dma 451 bool cyclic; 812 * in cyclic mode leaves the next descriptor pointer altered and in xilinx_mcdma_free_tx_segment() 813 * prevents subsequent non-cyclic transfer in xilinx_mcdma_free_tx_segment() 379 bool cyclic; global() member 441 bool cyclic; global() member [all...] |
| /linux/drivers/dma/sh/ |
| H A D | rcar-dmac.c | 70 * @cyclic: when set indicates that the DMA transfer is cyclic 91 bool cyclic; member 433 * If the descriptor isn't cyclic enable normal descriptor mode in rcar_dmac_chan_start_xfer() 436 if (!desc->cyclic) in rcar_dmac_chan_start_xfer() 439 * If the descriptor is cyclic and has a callback enable the in rcar_dmac_chan_start_xfer() 934 bool cyclic) in rcar_dmac_chan_prep_sg() 956 desc->cyclic = cyclic; in rcar_dmac_chan_prep_sg() 1433 bool cyclic; in rcar_dmac_tx_status() 931 rcar_dmac_chan_prep_sg(struct rcar_dmac_chan * chan,struct scatterlist * sgl,unsigned int sg_len,dma_addr_t dev_addr,enum dma_transfer_direction dir,unsigned long dma_flags,bool cyclic) rcar_dmac_chan_prep_sg() argument 1430 bool cyclic; rcar_dmac_tx_status() local [all...] |
| H A D | shdma-base.c | 413 if (all || !desc->cyclic) { in __ld_cleanup() 575 enum dma_transfer_direction direction, unsigned long flags, bool cyclic) in shdma_prep_sg() argument 622 new->cyclic = cyclic; in shdma_prep_sg() 623 if (cyclic) in shdma_prep_sg()
|
| /linux/drivers/dma/ |
| H A D | virt-dma.c | 92 vd = vc->cyclic; in vchan_complete() 94 vc->cyclic = NULL; in vchan_complete()
|
| H A D | bcm2835-dma.c | 93 bool cyclic; member 243 * which is required during cyclic transfers in bcm2835_dma_create_cb_set_length() 268 * @cyclic: it is a cyclic transfer 280 * (or when period_len is reached in case of cyclic) 285 bool cyclic, u32 info, u32 finalextrainfo, size_t frames, in bcm2835_dma_create_cb_chain() argument 306 d->cyclic = cyclic; in bcm2835_dma_create_cb_chain() 332 cyclic ? finalextrainfo : 0); in bcm2835_dma_create_cb_chain() 458 * active in case the descriptor is cyclic o in bcm2835_dma_callback() [all...] |
| H A D | owl-dma.c | 175 * @cyclic: flag to indicate cyclic transfers 180 bool cyclic; member 551 if (txd->cyclic) in owl_dma_start_next_txd() 894 &vchan->cfg, txd->cyclic); in owl_dma_prep_memcpy() 958 txd->cyclic); in owl_dma_prep_slave_sg() 996 txd->cyclic = true; in owl_prep_dma_cyclic() 1014 dir, sconfig, txd->cyclic); in owl_prep_dma_cyclic() 1026 /* close the cyclic list */ in owl_prep_dma_cyclic()
|
| H A D | k3dma.c | 86 bool cyclic; member 397 if (vd && !c->cyclic) { in k3_dma_tx_status() 506 c->cyclic = 0; in k3_dma_prep_memcpy() 544 c->cyclic = 0; in k3_dma_prep_slave_sg() 607 c->cyclic = 1; in k3_dma_prep_dma_cyclic()
|
| H A D | tegra20-apb-dma.c | 189 bool cyclic; member 723 if (tdc->cyclic) { in tegra_dma_issue_pending() 860 * in a cyclic mode before EOC is set(!), so we can't easily in tegra_dma_sg_bytes_xferred() 868 * This case will never happen for a non-cyclic transfer. in tegra_dma_sg_bytes_xferred() 870 * For a cyclic transfer, although it is possible for the in tegra_dma_sg_bytes_xferred() 1148 tdc->cyclic = false; in tegra_dma_prep_slave_sg() 1150 if (tdc->cyclic) { in tegra_dma_prep_slave_sg() 1151 dev_err(tdc2dev(tdc), "DMA configured in cyclic mode\n"); in tegra_dma_prep_slave_sg() 1285 tdc->cyclic = true; in tegra_dma_prep_dma_cyclic() 1287 if (!tdc->cyclic) { in tegra_dma_prep_dma_cyclic() [all...] |
| H A D | ste_dma40_ll.c | 222 bool cyclic = flags & LLI_CYCLIC; in d40_phy_buf_to_lli() local 244 next = cyclic ? first_phys : 0; in d40_phy_buf_to_lli()
|
| H A D | sun6i-dma.c | 211 bool cyclic; 507 vchan->irq_type = vchan->cyclic ? DMA_IRQ_PKG : DMA_IRQ_QUEUE; in sun6i_dma_tasklet() 611 if (vchan->cyclic) { in set_config() 909 prev->p_lli_next = txd->p_lli; /* cyclic list */ in sun6i_dma_pause() 911 vchan->cyclic = true; in sun6i_dma_resume() 995 vchan->cyclic = false; in sun6i_dma_tx_status() 193 bool cyclic; global() member
|
| H A D | sa11x0-dma.c | 78 bool cyclic; member 177 if (!txd->cyclic) { in sa11x0_dma_start_sg() 228 if (!txd->cyclic) { in sa11x0_dma_complete() 655 txd->cyclic = 1; in sa11x0_dma_prep_dma_cyclic()
|
| H A D | img-mdc-dma.c | 108 bool cyclic; member 389 mdesc->cyclic = true; in mdc_prep_dma_cyclic() 790 if (mdesc->cyclic) { in mdc_chan_irq()
|
| H A D | pl330.c | 458 /* for cyclic capability */ 459 bool cyclic; member 2081 if (!pch->cyclic) in pl330_tasklet() 2110 if (pch->cyclic) { in pl330_tasklet() 2169 pch->cyclic = false; in pl330_alloc_chan_resources() 2366 if (pch->cyclic) in pl330_free_chan_resources() 2514 if (pch->cyclic) { in pl330_tx_submit() 2764 pch->cyclic = true; in pl330_prep_dma_cyclic()
|
| /linux/drivers/dma/dw-edma/ |
| H A D | dw-edma-core.c | 583 if (!xfer->xfer.cyclic.len || !xfer->xfer.cyclic.cnt) in dw_edma_device_prep_interleaved_dma() 611 cnt = xfer->xfer.cyclic.cnt; in dw_hdma_set_callback_result() 631 burst->sz = xfer->xfer.cyclic.len; in dw_edma_done_interrupt() 643 burst->dar = xfer->xfer.cyclic.paddr; in dw_edma_done_interrupt() 660 burst->sar = xfer->xfer.cyclic.paddr; in dw_edma_done_interrupt() 727 xfer.xfer.cyclic.paddr = paddr; 728 xfer.xfer.cyclic.len = len; 729 xfer.xfer.cyclic.cnt = count;
|
| H A D | dw-edma-core.h | 198 struct dw_edma_cyclic cyclic; 164 struct dw_edma_cyclic cyclic; global() member
|
| /linux/drivers/dma/stm32/ |
| H A D | stm32-dma.c | 191 bool cyclic; member 545 if (chan->desc->cyclic && (chan->next_sg == chan->desc->num_sgs)) in stm32_dma_dump_reg() 600 if (chan->desc->cyclic) in stm32_dma_start_transfer() 650 * complete. If transfer is cyclic and CIRC and DBM have been deactivated for resume, need in stm32_dma_handle_chan_paused() 653 if (chan->desc && chan->desc->cyclic) { in stm32_dma_handle_chan_paused() 665 if (chan->desc && chan->desc->cyclic) { in stm32_dma_handle_chan_paused() 734 if (chan->desc->cyclic) { in stm32_dma_handle_chan_done() 739 /* cyclic while CIRC/DBM disable => post resume reconfiguration needed */ in stm32_dma_handle_chan_done() 1141 desc->cyclic = false; in stm32_dma_prep_slave_sg() 1231 desc->cyclic in stm32_dma_prep_dma_cyclic() [all...] |
| H A D | stm32-mdma.c | 225 bool cyclic; member 790 * Once DMA is in setup cyclic mode the channel we cannot assign this in stm32_mdma_prep_slave_sg() 794 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_slave_sg() 796 "Request not allowed when dma in cyclic mode\n"); in stm32_mdma_prep_slave_sg() 823 desc->cyclic = false; in stm32_mdma_prep_slave_sg() 851 * Once DMA is in setup cyclic mode the channel we cannot assign this in stm32_mdma_prep_dma_cyclic() 855 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_dma_cyclic() 857 "Request not allowed when dma in cyclic mode\n"); in stm32_mdma_prep_dma_cyclic() 919 desc->cyclic = true; in stm32_mdma_prep_dma_cyclic() 947 * Once DMA is in setup cyclic mod in stm32_mdma_prep_dma_memcpy() [all...] |
| H A D | stm32-dma3.c | 272 bool cyclic; member 389 if (swdesc->cyclic) { in stm32_dma3_chan_dump_hwdesc() 849 /* In cyclic mode, go fast and first check we are not on the last item */ in stm32_dma3_chan_get_curr_hwdesc() 850 if (swdesc->cyclic && next_lli_offset == (swdesc->lli[0].hwdesc_addr & CLLR_LA)) in stm32_dma3_chan_get_curr_hwdesc() 1025 if (chan->swdesc->cyclic) in stm32_dma3_chan_irq() 1278 swdesc->cyclic = false; in stm32_dma3_prep_dma_memcpy() 1372 swdesc->cyclic = false; in stm32_dma3_prep_slave_sg() 1451 swdesc->cyclic = true; in stm32_dma3_prep_dma_cyclic()
|
| /linux/net/can/ |
| H A D | Kconfig | 39 sending of RTR frames, and cyclic CAN messages without permanent user 42 You probably want to use the bcm socket in most cases where cyclic
|
| /linux/drivers/dma/ti/ |
| H A D | omap-dma.c | 71 bool cyclic; member 525 if (!__dma_omap15xx(od->plat->dma_attr) && c->cyclic) { in omap_dma_stop() 619 if (c->cyclic) { in omap_dma_callback() 1236 c->cyclic = true; in omap_dma_prep_dma_cyclic() 1408 c->cyclic = false; in omap_dma_terminate_all() 1438 if (c->cyclic) in omap_dma_pause()
|
| H A D | edma.c | 174 int cyclic; member 781 if (edesc->cyclic) in edma_execute() 826 /* Move the cyclic channel back to default queue */ in edma_terminate_all() 827 if (!echan->tc && echan->edesc->cyclic) in edma_terminate_all() 1368 edesc->cyclic = 1; in edma_prep_dma_cyclic() 1446 /* Place the cyclic channel to highest priority queue */ in edma_prep_dma_cyclic() 1461 if (edesc->cyclic) { in edma_completion_handler() 1816 * We never update edesc->residue in the cyclic case, so we in edma_residue() 1820 if (edesc->cyclic) { in edma_residue() 1887 * Mark the cookie completed if the residue is 0 for non cyclic in edma_tx_status() [all...] |
| /linux/Documentation/driver-api/dmaengine/ |
| H A D | client.rst | 91 - dma_cyclic: Perform a cyclic DMA operation from/to a peripheral till the 159 case for slave/cyclic DMA. 166 For cyclic DMA, a callback function may wish to terminate the
|