Home
last modified time | relevance | path

Searched full:cyclic (Results 1 – 25 of 124) sorted by relevance

12345

/linux/include/uapi/linux/can/
H A Dbcm.h78 TX_SETUP = 1, /* create (cyclic) transmission task */
79 TX_DELETE, /* remove (cyclic) transmission task */
80 TX_READ, /* read properties of (cyclic) transmission task */
88 RX_TIMEOUT, /* cyclic message is absent */
/linux/drivers/dma/xilinx/
H A Dxdma.c87 * @cyclic: Cyclic transfer vs. scatter-gather
89 * @periods: Number of periods in the cyclic transfer
90 * @period_size: Size of a period in bytes in cyclic transfers
102 bool cyclic; member
190 * xdma_link_cyclic_desc_blocks - Link cyclic descriptor blocks for DMA transfer
265 * @cyclic: Whether this is a cyclic transfer
268 xdma_alloc_desc(struct xdma_chan *chan, u32 desc_num, bool cyclic) in xdma_alloc_desc() argument
284 sw_desc->cyclic = cyclic; in xdma_alloc_desc()
292 if (cyclic) in xdma_alloc_desc()
309 if (cyclic) in xdma_alloc_desc()
[all …]
H A Dxilinx_dma.c369 * @cyclic: Check for cyclic transfers.
377 bool cyclic; member
400 * @cyclic: Check for cyclic transfers.
414 * @cyclic_seg_v: Statically allocated segment base for cyclic transfers
415 * @cyclic_seg_p: Physical allocated segments base for cyclic dma
439 bool cyclic; member
951 /* Free Memory that is allocated for cyclic DMA Mode */ in xilinx_dma_free_chan_resources()
1044 * xilinx_dma_chan_handle_cyclic - Cyclic dma callback
1077 if (desc->cyclic) { in xilinx_dma_chan_desc_cleanup()
1158 * For cyclic DMA mode we need to program the tail Descriptor in xilinx_dma_alloc_chan_resources()
[all …]
/linux/drivers/net/wireless/ti/wl1251/
H A Dtx.h27 * TX complete indication will be received a-synchronously in a TX done cyclic
29 * in a cyclic manner.
47 * transmit results to the cyclic buffer (txDoneRing) and sets both done_1
54 * TxDescriptorDone information in a cyclic manner and clears both done_1
/linux/drivers/dma/
H A Dbcm2835-dma.c93 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 or in case the client has in bcm2835_dma_callback()
469 if (d->cyclic) { in bcm2835_dma_callback()
470 /* call the cyclic callback */ in bcm2835_dma_callback()
H A Ddma-axi-dmac.c136 bool cyclic; member
255 /* Already queued in cyclic mode. Wait for it to finish */ in axi_dmac_start_transfer()
265 if (desc->cyclic) in axi_dmac_start_transfer()
290 * If the hardware supports cyclic transfers and there is no callback to in axi_dmac_start_transfer()
291 * call, enable hw cyclic mode to avoid unnecessary interrupts. in axi_dmac_start_transfer()
293 if (chan->hw_cyclic && desc->cyclic && !desc->vdesc.tx.callback) { in axi_dmac_start_transfer()
417 if (active->cyclic) { in axi_dmac_transfer_done()
442 if (active->cyclic) in axi_dmac_transfer_done()
447 if (active->cyclic) { in axi_dmac_transfer_done()
660 desc->cyclic = false; in axi_dmac_prep_peripheral_dma_vec()
[all …]
H A Dloongson2-apb-dma.c96 * @cyclic: flag to dma cyclic
105 bool cyclic; member
371 * ls2x_dma_prep_dma_cyclic - prepare the cyclic DMA transfer
411 /* Build cyclic linked list */ in ls2x_dma_prep_dma_cyclic()
429 /* Lets make a cyclic list */ in ls2x_dma_prep_dma_cyclic()
432 desc->cyclic = true; in ls2x_dma_prep_dma_cyclic()
556 if (desc->cyclic) { in ls2x_dma_isr()
H A Dowl-dma.c175 * @cyclic: flag to indicate cyclic transfers
180 bool cyclic; member
556 if (txd->cyclic) in owl_dma_start_next_txd()
899 &vchan->cfg, txd->cyclic); in owl_dma_prep_memcpy()
963 txd->cyclic); in owl_dma_prep_slave_sg()
1001 txd->cyclic = true; in owl_prep_dma_cyclic()
1019 dir, sconfig, txd->cyclic); in owl_prep_dma_cyclic()
1031 /* close the cyclic list */ in owl_prep_dma_cyclic()
H A Dtegra186-gpc-dma.c217 bool cyclic; member
485 /* Reset the sg index for cyclic transfers */ in tegra_dma_configure_next_sg()
625 if (dma_desc->cyclic) { in tegra_dma_isr()
654 * For cyclic DMA transfers, program the second in tegra_dma_issue_pending()
660 if (tdc->dma_desc && tdc->dma_desc->cyclic) in tegra_dma_issue_pending()
747 * for the next transfer, specifically in case of cyclic transfers. in tegra_dma_get_residual()
931 dma_desc->cyclic = false; in tegra_dma_prep_dma_memset()
1001 dma_desc->cyclic = false; in tegra_dma_prep_dma_memcpy()
1121 dma_desc->cyclic = false; in tegra_dma_prep_slave_sg()
1243 dma_desc->cyclic = true; in tegra_dma_prep_dma_cyclic()
H A Dvirt-dma.c92 vd = vc->cyclic; in vchan_complete()
94 vc->cyclic = NULL; in vchan_complete()
H A Dat_hdmac.c257 * @ATC_IS_CYCLIC: If channel is cyclic
277 * @save_dscr: for cyclic operations, preserve next descriptor address in
278 * the cyclic list on suspend/resume cycle
467 * atc_chan_is_cyclic - test if given channel has cyclic property set
660 * example, it uses a cyclic DMA transfer to read data from the Receive
671 * cyclic transfers, the assumption is that a full loop is "not so fast". If the
1484 * atc_prep_dma_cyclic - prepare the cyclic DMA transfer
1539 /* build cyclic linked list */ in atc_prep_dma_cyclic()
1547 /* lets make a cyclic list */ in atc_prep_dma_cyclic()
1653 /* if channel dedicated to cyclic operations, free it */ in atc_terminate_all()
[all …]
H A Dtegra20-apb-dma.c189 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()
H A Dapple-admac.c103 * prepping, submitting and issuing a single cyclic transaction which
138 bool cyclic; member
267 adtx->cyclic = true; in admac_prep_dma_cyclic()
285 * Write one hardware descriptor for a dmaengine cyclic transaction.
310 * Write all the hardware descriptors for a dmaengine cyclic
343 * Read from hardware the residue of a cyclic dmaengine transaction.
H A Dep93xx_dma.c204 /* Channel is configured for cyclic transfers */
316 * the chain. Useful for cyclic transfers. in ep93xx_dma_set_active()
341 * When the channel is in cyclic mode always returns %true.
822 /* mark descriptor complete for non cyclic case only */ in ep93xx_dma_tasklet()
1102 "channel is already used for cyclic transfers\n"); in ep93xx_dma_prep_slave_sg()
1150 * ep93xx_dma_prep_dma_cyclic - prepare a cyclic DMA operation
1158 * Prepares a descriptor for cyclic DMA operation. This means that once the
1183 "channel is already used for cyclic transfers\n"); in ep93xx_dma_prep_dma_cyclic()
H A Dk3dma.c86 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()
641 /* "Cyclic" == end of link points back to start of link */ in k3_dma_prep_dma_cyclic()
/linux/drivers/dma/stm32/
H A Dstm32-dma.c191 bool cyclic; member
550 if (chan->desc->cyclic && (chan->next_sg == chan->desc->num_sgs)) in stm32_dma_sg_inc()
605 if (chan->desc->cyclic) in stm32_dma_start_transfer()
655 * complete. If transfer is cyclic and CIRC and DBM have been deactivated for resume, need in stm32_dma_handle_chan_paused()
658 if (chan->desc && chan->desc->cyclic) { in stm32_dma_handle_chan_paused()
670 if (chan->desc && chan->desc->cyclic) { in stm32_dma_handle_chan_paused()
739 if (chan->desc->cyclic) { in stm32_dma_handle_chan_done()
744 /* cyclic while CIRC/DBM disable => post resume reconfiguration needed */ in stm32_dma_handle_chan_done()
1146 desc->cyclic = false; in stm32_dma_prep_slave_sg()
1236 desc->cyclic = true; in stm32_dma_prep_dma_cyclic()
[all …]
H A Dstm32-mdma.c225 bool cyclic; member
795 * Once DMA is in setup cyclic mode the channel we cannot assign this in stm32_mdma_prep_slave_sg()
799 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_slave_sg()
801 "Request not allowed when dma in cyclic mode\n"); in stm32_mdma_prep_slave_sg()
828 desc->cyclic = false; in stm32_mdma_prep_slave_sg()
856 * Once DMA is in setup cyclic mode the channel we cannot assign this in stm32_mdma_prep_dma_cyclic()
860 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_dma_cyclic()
862 "Request not allowed when dma in cyclic mode\n"); in stm32_mdma_prep_dma_cyclic()
924 desc->cyclic = true; in stm32_mdma_prep_dma_cyclic()
952 * Once DMA is in setup cyclic mode the channel we cannot assign this in stm32_mdma_prep_dma_memcpy()
[all …]
/linux/drivers/dma/sh/
H A Drcar-dmac.c70 * @cyclic: when set indicates that the DMA transfer is cyclic
91 bool cyclic; member
431 * If the descriptor isn't cyclic enable normal descriptor mode in rcar_dmac_chan_start_xfer()
434 if (!desc->cyclic) in rcar_dmac_chan_start_xfer()
437 * If the descriptor is cyclic and has a callback enable the in rcar_dmac_chan_start_xfer()
931 bool cyclic) in rcar_dmac_chan_prep_sg() argument
953 desc->cyclic = cyclic; in rcar_dmac_chan_prep_sg()
1430 bool cyclic; in rcar_dmac_tx_status() local
1438 cyclic = rchan->desc.running ? rchan->desc.running->cyclic : false; in rcar_dmac_tx_status()
1442 if (!residue && !cyclic) in rcar_dmac_tx_status()
[all …]
/linux/drivers/dma/dw-edma/
H A Ddw-edma-core.c404 if (!xfer->xfer.cyclic.len || !xfer->xfer.cyclic.cnt) in dw_edma_device_transfer()
440 cnt = xfer->xfer.cyclic.cnt; in dw_edma_device_transfer()
464 burst->sz = xfer->xfer.cyclic.len; in dw_edma_device_transfer()
476 burst->dar = xfer->xfer.cyclic.paddr; in dw_edma_device_transfer()
493 burst->sar = xfer->xfer.cyclic.paddr; in dw_edma_device_transfer()
562 xfer.xfer.cyclic.paddr = paddr; in dw_edma_device_prep_dma_cyclic()
563 xfer.xfer.cyclic.len = len; in dw_edma_device_prep_dma_cyclic()
564 xfer.xfer.cyclic.cnt = count; in dw_edma_device_prep_dma_cyclic()
/linux/net/can/
H A DKconfig39 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/Documentation/driver-api/dmaengine/
H A Dclient.rst87 - dma_cyclic: Perform a cyclic DMA operation from/to a peripheral till the
93 appropriate values to the 'dma_interleaved_template' members. Cyclic
150 case for slave/cyclic DMA.
157 For cyclic DMA, a callback function may wish to terminate the
/linux/drivers/media/platform/ti/omap3isp/
H A Domap3isp.h90 * @crc: Enable the cyclic redundancy check
113 * @crc: Enable the cyclic redundancy check
/linux/arch/arc/include/asm/
H A Dsmp.h17 /* including cpumask.h leads to cyclic deps hence this Forward declaration */
93 * However exported spinlock API is not usable due to cyclic hdr deps
/linux/include/linux/
H A Dshdma-base.h54 bool cyclic; /* used as cyclic transfer */ member
/linux/drivers/infiniband/core/
H A Drestrack.h21 * @next_id: Next ID to support cyclic allocation

12345