Home
last modified time | relevance | path

Searched refs:cyclic (Results 1 – 25 of 31) sorted by relevance

12

/drivers/dma/dw-edma/
Ddw-edma-core.c360 if (xfer->cyclic) { in dw_edma_device_transfer()
361 if (!xfer->xfer.cyclic.len || !xfer->xfer.cyclic.cnt) in dw_edma_device_transfer()
379 if (xfer->cyclic) { in dw_edma_device_transfer()
380 cnt = xfer->xfer.cyclic.cnt; in dw_edma_device_transfer()
387 if (!xfer->cyclic && !sg) in dw_edma_device_transfer()
400 if (xfer->cyclic) in dw_edma_device_transfer()
401 burst->sz = xfer->xfer.cyclic.len; in dw_edma_device_transfer()
410 if (xfer->cyclic) { in dw_edma_device_transfer()
411 burst->dar = xfer->xfer.cyclic.paddr; in dw_edma_device_transfer()
424 if (xfer->cyclic) { in dw_edma_device_transfer()
[all …]
Ddw-edma-core.h150 struct dw_edma_cyclic cyclic; member
154 bool cyclic; member
/drivers/dma/
Dvirt-dma.h36 struct virt_dma_desc *cyclic; member
135 vc->cyclic = vd; in vchan_cyclic_callback()
151 if (vc->cyclic == vd) in vchan_terminate_vdesc()
152 vc->cyclic = NULL; in vchan_terminate_vdesc()
Dsirf-dma.c91 bool cyclic; /* is loop DMA? */ member
189 if (sdesc->cyclic) in sirfsoc_dma_execute_hw_a7v2()
207 if (sdesc->cyclic) { in sirfsoc_dma_execute_hw_a7v1()
227 if (sdesc->cyclic) { in sirfsoc_dma_execute_hw_a6()
259 if (sdesc->cyclic) in sirfsoc_dma_execute()
286 if (!sdesc->cyclic) { in sirfsoc_dma_irq()
308 if (!sdesc->cyclic) { in sirfsoc_dma_irq()
320 } else if (sdesc->cyclic && (is & in sirfsoc_dma_irq()
662 if (sdesc->cyclic) in sirfsoc_dma_tx_status()
727 sdesc->cyclic = 0; in sirfsoc_dma_prep_interleaved()
[all …]
Ddma-axi-dmac.c110 bool cyclic; member
236 if (desc->cyclic) in axi_dmac_start_transfer()
262 if (chan->hw_cyclic && desc->cyclic && !desc->vdesc.tx.callback && in axi_dmac_start_transfer()
389 if (active->cyclic) in axi_dmac_transfer_done()
394 if (active->cyclic) { in axi_dmac_transfer_done()
571 desc->cyclic = false; in axi_dmac_prep_slave_sg()
605 desc->cyclic = true; in axi_dmac_prep_dma_cyclic()
676 desc->cyclic = true; in axi_dmac_prep_interleaved()
Dvirt-dma.c92 vd = vc->cyclic; in vchan_complete()
94 vc->cyclic = NULL; in vchan_complete()
Dbcm2835-dma.c93 bool cyclic; member
302 bool cyclic, u32 info, u32 finalextrainfo, size_t frames, in bcm2835_dma_create_cb_chain() argument
323 d->cyclic = cyclic; in bcm2835_dma_create_cb_chain()
349 cyclic ? finalextrainfo : 0); in bcm2835_dma_create_cb_chain()
486 if (d->cyclic) { in bcm2835_dma_callback()
Dowl-dma.c179 bool cyclic; member
555 if (txd->cyclic) in owl_dma_start_next_txd()
898 &vchan->cfg, txd->cyclic); in owl_dma_prep_memcpy()
962 txd->cyclic); in owl_dma_prep_slave_sg()
1000 txd->cyclic = true; in owl_prep_dma_cyclic()
1018 dir, sconfig, txd->cyclic); in owl_prep_dma_cyclic()
Dstm32-dma.c191 bool cyclic; member
578 if (chan->desc->cyclic) in stm32_dma_start_transfer()
624 if (chan->desc->cyclic) { in stm32_dma_handle_chan_done()
897 desc->cyclic = false; in stm32_dma_prep_slave_sg()
982 desc->cyclic = true; in stm32_dma_prep_dma_cyclic()
1034 desc->cyclic = false; in stm32_dma_prep_dma_memcpy()
1138 if (!chan->desc->cyclic || n_sg != 0) in stm32_dma_desc_residue()
Dzx_dma.c101 u32 cyclic; member
289 if (c->cyclic) { in zx_dma_int_handler()
537 c->cyclic = 0; in zx_dma_prep_memcpy()
570 c->cyclic = 0; in zx_dma_prep_slave_sg()
623 c->cyclic = 1; in zx_dma_prep_dma_cyclic()
Dstm32-mdma.c252 bool cyclic; member
792 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_slave_sg()
806 desc->cyclic = false; in stm32_mdma_prep_slave_sg()
837 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_dma_cyclic()
897 desc->cyclic = true; in stm32_mdma_prep_dma_cyclic()
929 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_dma_memcpy()
1083 desc->cyclic = false; in stm32_mdma_prep_dma_memcpy()
1408 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_irq_handler()
Dk3dma.c87 bool cyclic; member
399 if (vd && !c->cyclic) { in k3_dma_tx_status()
508 c->cyclic = 0; in k3_dma_prep_memcpy()
546 c->cyclic = 0; in k3_dma_prep_slave_sg()
614 c->cyclic = 1; in k3_dma_prep_dma_cyclic()
Dsun6i-dma.c182 bool cyclic; member
453 vchan->irq_type = vchan->cyclic ? DMA_IRQ_PKG : DMA_IRQ_QUEUE; in sun6i_dma_start_desc()
557 if (vchan->cyclic) { in sun6i_dma_interrupt()
818 vchan->cyclic = true; in sun6i_dma_prep_dma_cyclic()
898 if (vchan->cyclic) { in sun6i_dma_terminate_all()
899 vchan->cyclic = false; in sun6i_dma_terminate_all()
Dtegra20-apb-dma.c190 bool cyclic; member
735 if (tdc->cyclic) { in tegra_dma_issue_pending()
1160 tdc->cyclic = false; in tegra_dma_prep_slave_sg()
1162 if (tdc->cyclic) { in tegra_dma_prep_slave_sg()
1297 tdc->cyclic = true; in tegra_dma_prep_dma_cyclic()
1299 if (!tdc->cyclic) { in tegra_dma_prep_dma_cyclic()
Dste_dma40_ll.c221 bool cyclic = flags & LLI_CYCLIC; in d40_phy_buf_to_lli() local
243 next = cyclic ? first_phys : 0; in d40_phy_buf_to_lli()
Dste_dma40.c377 bool cyclic; member
834 bool cyclic = desc->cyclic; in d40_log_lli_to_lcxa() local
844 linkback = cyclic && lli_current == 0; in d40_log_lli_to_lcxa()
899 if (cyclic || next_lcla == -EINVAL) in d40_log_lli_to_lcxa()
1531 if (d40d->cyclic) { in dma_tc_handle()
1589 if (d40d == NULL || !d40d->cyclic) in dma_tasklet()
1593 if (!d40d->cyclic) in dma_tasklet()
1609 if (!d40d->cyclic) { in dma_tasklet()
2149 if (desc->cyclic) in d40_prep_sg_phy()
2234 desc->cyclic = true; in d40_prep_sg()
Ds3c24xx-dma.c174 bool cyclic; member
667 if (txd->cyclic) in s3c24xx_dma_irq()
670 } else if (!txd->cyclic) { in s3c24xx_dma_irq()
906 txd->cyclic = 1; in s3c24xx_dma_prep_dma_cyclic()
Dsa11x0-dma.c78 bool cyclic; member
177 if (!txd->cyclic) { in sa11x0_dma_start_sg()
228 if (!txd->cyclic) { in sa11x0_dma_complete()
657 txd->cyclic = 1; in sa11x0_dma_prep_dma_cyclic()
Dimg-mdc-dma.c109 bool cyclic; member
390 mdesc->cyclic = true; in mdc_prep_dma_cyclic()
791 if (mdesc->cyclic) { in mdc_chan_irq()
/drivers/dma/sh/
Drcar-dmac.c91 bool cyclic; member
403 if (!desc->cyclic) in rcar_dmac_chan_start_xfer()
904 bool cyclic) in rcar_dmac_chan_prep_sg() argument
926 desc->cyclic = cyclic; in rcar_dmac_chan_prep_sg()
1403 bool cyclic; in rcar_dmac_tx_status() local
1411 cyclic = rchan->desc.running ? rchan->desc.running->cyclic : false; in rcar_dmac_tx_status()
1415 if (!residue && !cyclic) in rcar_dmac_tx_status()
1470 if (WARN_ON(!desc || !desc->cyclic)) { in rcar_dmac_isr_desc_stage_end()
1514 if (!desc->cyclic) in rcar_dmac_isr_transfer_end()
1523 if (desc->cyclic) { in rcar_dmac_isr_transfer_end()
[all …]
Dshdma-base.c400 if (all || !desc->cyclic) { in __ld_cleanup()
562 enum dma_transfer_direction direction, unsigned long flags, bool cyclic) in shdma_prep_sg() argument
610 new->cyclic = cyclic; in shdma_prep_sg()
611 if (cyclic) in shdma_prep_sg()
/drivers/staging/ralink-gdma/
Dralink-gdma.c100 bool cyclic; member
439 if (desc->cyclic) { in gdma_dma_chan_irq()
552 desc->cyclic = false; in gdma_dma_prep_slave_sg()
599 desc->cyclic = false; in gdma_dma_prep_dma_memcpy()
646 desc->cyclic = true; in gdma_dma_prep_dma_cyclic()
677 if (desc->cyclic) in gdma_dma_tx_status()
/drivers/dma/xilinx/
Dxilinx_dma.c370 bool cyclic; member
431 bool cyclic; member
1027 if (desc->cyclic) { in xilinx_dma_chan_desc_cleanup()
1549 if (chan->cyclic) in xilinx_dma_start_transfer()
1684 if (!desc->cyclic) in xilinx_dma_complete_descriptor()
1952 if (chan->cyclic) { in xilinx_dma_tx_submit()
1974 if (desc->cyclic) in xilinx_dma_tx_submit()
1975 chan->cyclic = true; in xilinx_dma_tx_submit()
2305 desc->cyclic = true; in xilinx_dma_prep_dma_cyclic()
2438 if (!chan->cyclic) { in xilinx_dma_terminate_all()
[all …]
/drivers/dma/ti/
Dk3-udma.c230 bool cyclic; member
749 if (ucc->pkt_mode && (uc->cyclic || ucc->dir == DMA_DEV_TO_MEM)) { in udma_start_desc()
888 if (!uc->cyclic && !uc->desc) in udma_stop()
1058 if (uc->cyclic) { in udma_ring_irq_handler()
1096 if (uc->cyclic) { in udma_udma_irq_handler()
1957 if (uc->cyclic) in udma_alloc_tr_desc()
2131 if (uc->config.pkt_mode || !uc->cyclic) { in udma_configure_statictr()
2134 if (uc->cyclic) in udma_configure_statictr()
2539 uc->cyclic = true; in udma_prep_dma_cyclic()
2927 vd = vc->cyclic; in udma_vchan_complete()
[all …]
Domap-dma.c71 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()
1232 c->cyclic = true; in omap_dma_prep_dma_cyclic()
1404 c->cyclic = false; in omap_dma_terminate_all()
1434 if (c->cyclic) in omap_dma_pause()

12