Searched refs:period_len (Results 1 - 31 of 31) sorted by relevance

/linux-4.4.14/drivers/dma/
H A Dmmp_tdma.c126 size_t period_len; member in struct:mmp_tdma_chan
423 size_t period_len, enum dma_transfer_direction direction, mmp_tdma_prep_dma_cyclic()
428 int num_periods = buf_len / period_len; mmp_tdma_prep_dma_cyclic()
434 if (period_len > TDMA_MAX_XFER_BYTES) { mmp_tdma_prep_dma_cyclic()
437 period_len, TDMA_MAX_XFER_BYTES); mmp_tdma_prep_dma_cyclic()
463 desc->byte_cnt = period_len; mmp_tdma_prep_dma_cyclic()
464 dma_addr += period_len; mmp_tdma_prep_dma_cyclic()
465 buf += period_len; mmp_tdma_prep_dma_cyclic()
474 tdmac->period_len = period_len; mmp_tdma_prep_dma_cyclic()
421 mmp_tdma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) mmp_tdma_prep_dma_cyclic() argument
H A Dbcm2835-dma.c353 size_t period_len, enum dma_transfer_direction direction, bcm2835_dma_prep_dma_cyclic()
396 d->frames = buf_len / period_len; bcm2835_dma_prep_dma_cyclic()
424 control_block->dst = buf_addr + frame * period_len; bcm2835_dma_prep_dma_cyclic()
427 control_block->src = buf_addr + frame * period_len; bcm2835_dma_prep_dma_cyclic()
444 control_block->length = period_len; bcm2835_dma_prep_dma_cyclic()
351 bcm2835_dma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) bcm2835_dma_prep_dma_cyclic() argument
H A Ddma-jz4740.c417 size_t period_len, enum dma_transfer_direction direction, jz4740_dma_prep_dma_cyclic()
424 if (buf_len % period_len) jz4740_dma_prep_dma_cyclic()
427 num_periods = buf_len / period_len; jz4740_dma_prep_dma_cyclic()
435 desc->sg[i].len = period_len; jz4740_dma_prep_dma_cyclic()
436 buf_addr += period_len; jz4740_dma_prep_dma_cyclic()
415 jz4740_dma_prep_dma_cyclic( struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) jz4740_dma_prep_dma_cyclic() argument
H A Dmxs-dma.c599 size_t period_len, enum dma_transfer_direction direction, mxs_dma_prep_dma_cyclic()
604 u32 num_periods = buf_len / period_len; mxs_dma_prep_dma_cyclic()
621 if (period_len > MAX_XFER_BYTES) { mxs_dma_prep_dma_cyclic()
624 period_len, MAX_XFER_BYTES); mxs_dma_prep_dma_cyclic()
637 ccw->xfer_bytes = period_len; mxs_dma_prep_dma_cyclic()
648 dma_addr += period_len; mxs_dma_prep_dma_cyclic()
649 buf += period_len; mxs_dma_prep_dma_cyclic()
597 mxs_dma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) mxs_dma_prep_dma_cyclic() argument
H A Ddma-axi-dmac.c377 size_t period_len, enum dma_transfer_direction direction, axi_dmac_prep_dma_cyclic()
391 if (period_len == 0 || buf_len % period_len) axi_dmac_prep_dma_cyclic()
394 num_periods = buf_len / period_len; axi_dmac_prep_dma_cyclic()
405 desc->sg[i].x_len = period_len; axi_dmac_prep_dma_cyclic()
407 buf_addr += period_len; axi_dmac_prep_dma_cyclic()
375 axi_dmac_prep_dma_cyclic( struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) axi_dmac_prep_dma_cyclic() argument
H A Dzx296702_dma.c608 size_t period_len, enum dma_transfer_direction dir, zx_dma_prep_dma_cyclic()
614 int num_periods = buf_len / period_len; zx_dma_prep_dma_cyclic()
617 if (period_len > DMA_MAX_SIZE) { zx_dma_prep_dma_cyclic()
638 zx_dma_fill_desc(ds, dst, src, period_len, num++, zx_dma_prep_dma_cyclic()
640 dma_addr += period_len; zx_dma_prep_dma_cyclic()
641 buf += period_len; zx_dma_prep_dma_cyclic()
606 zx_dma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) zx_dma_prep_dma_cyclic() argument
H A Dimx-sdma.c312 unsigned int period_len; member in struct:sdma_channel
1251 size_t period_len, enum dma_transfer_direction direction, sdma_prep_dma_cyclic()
1256 int num_periods = buf_len / period_len; sdma_prep_dma_cyclic()
1268 sdmac->period_len = period_len; sdma_prep_dma_cyclic()
1282 if (period_len > 0xffff) { sdma_prep_dma_cyclic()
1284 channel, period_len, 0xffff); sdma_prep_dma_cyclic()
1294 bd->mode.count = period_len; sdma_prep_dma_cyclic()
1308 i, period_len, (u64)dma_addr, sdma_prep_dma_cyclic()
1314 dma_addr += period_len; sdma_prep_dma_cyclic()
1315 buf += period_len; sdma_prep_dma_cyclic()
1365 residue = (sdmac->num_bd - sdmac->buf_tail) * sdmac->period_len; sdma_tx_status()
1249 sdma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) sdma_prep_dma_cyclic() argument
H A Dpxa_dma.c1070 dma_addr_t buf_addr, size_t len, size_t period_len, pxad_prep_dma_cyclic()
1080 if (!dchan || !len || !period_len) pxad_prep_dma_cyclic()
1087 /* the buffer length must be a multiple of period_len */ pxad_prep_dma_cyclic()
1088 if (len % period_len != 0 || period_len > PDMA_MAX_DESC_BYTES || pxad_prep_dma_cyclic()
1089 !IS_ALIGNED(period_len, 1 << PDMA_ALIGNMENT)) pxad_prep_dma_cyclic()
1093 dcmd |= PXA_DCMD_ENDIRQEN | (PXA_DCMD_LENGTH & period_len); pxad_prep_dma_cyclic()
1096 __func__, (unsigned long)buf_addr, len, period_len, dir, flags); pxad_prep_dma_cyclic()
1098 nb_desc = DIV_ROUND_UP(period_len, PDMA_MAX_DESC_BYTES); pxad_prep_dma_cyclic()
1099 nb_desc *= DIV_ROUND_UP(len, period_len); pxad_prep_dma_cyclic()
1113 dma += period_len; pxad_prep_dma_cyclic()
1114 len -= period_len; pxad_prep_dma_cyclic()
1069 pxad_prep_dma_cyclic(struct dma_chan *dchan, dma_addr_t buf_addr, size_t len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) pxad_prep_dma_cyclic() argument
H A Dat_hdmac.c1351 size_t period_len) atc_dma_cyclic_check_values()
1353 if (period_len > (ATC_BTSIZE_MAX << reg_width)) atc_dma_cyclic_check_values()
1355 if (unlikely(period_len & ((1 << reg_width) - 1))) atc_dma_cyclic_check_values()
1372 unsigned int reg_width, size_t period_len, atc_dma_cyclic_fill_desc()
1384 | period_len >> reg_width; atc_dma_cyclic_fill_desc()
1388 desc->lli.saddr = buf_addr + (period_len * period_index); atc_dma_cyclic_fill_desc()
1396 desc->len = period_len; atc_dma_cyclic_fill_desc()
1401 desc->lli.daddr = buf_addr + (period_len * period_index); atc_dma_cyclic_fill_desc()
1408 desc->len = period_len; atc_dma_cyclic_fill_desc()
1423 * @period_len: number of bytes for each period
1429 size_t period_len, enum dma_transfer_direction direction, atc_prep_dma_cyclic()
1439 unsigned int periods = buf_len / period_len; atc_prep_dma_cyclic()
1445 periods, buf_len, period_len); atc_prep_dma_cyclic()
1447 if (unlikely(!atslave || !buf_len || !period_len)) { atc_prep_dma_cyclic()
1467 if (atc_dma_cyclic_check_values(reg_width, buf_addr, period_len)) atc_prep_dma_cyclic()
1479 reg_width, period_len, direction)) atc_prep_dma_cyclic()
1350 atc_dma_cyclic_check_values(unsigned int reg_width, dma_addr_t buf_addr, size_t period_len) atc_dma_cyclic_check_values() argument
1370 atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc, unsigned int period_index, dma_addr_t buf_addr, unsigned int reg_width, size_t period_len, enum dma_transfer_direction direction) atc_dma_cyclic_fill_desc() argument
1428 atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) atc_prep_dma_cyclic() argument
H A Dmmp_pdma.c604 dma_addr_t buf_addr, size_t len, size_t period_len, mmp_pdma_prep_dma_cyclic()
612 if (!dchan || !len || !period_len) mmp_pdma_prep_dma_cyclic()
615 /* the buffer length must be a multiple of period_len */ mmp_pdma_prep_dma_cyclic()
616 if (len % period_len != 0) mmp_pdma_prep_dma_cyclic()
619 if (period_len > PDMA_MAX_DESC_BYTES) mmp_pdma_prep_dma_cyclic()
649 (DCMD_LENGTH & period_len)); mmp_pdma_prep_dma_cyclic()
662 len -= period_len; mmp_pdma_prep_dma_cyclic()
665 dma_src += period_len; mmp_pdma_prep_dma_cyclic()
667 dma_dst += period_len; mmp_pdma_prep_dma_cyclic()
603 mmp_pdma_prep_dma_cyclic(struct dma_chan *dchan, dma_addr_t buf_addr, size_t len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) mmp_pdma_prep_dma_cyclic() argument
H A Ddma-jz4780.c351 size_t period_len, enum dma_transfer_direction direction, jz4780_dma_prep_dma_cyclic()
359 if (buf_len % period_len) jz4780_dma_prep_dma_cyclic()
362 periods = buf_len / period_len; jz4780_dma_prep_dma_cyclic()
370 period_len, direction); jz4780_dma_prep_dma_cyclic()
374 buf_addr += period_len; jz4780_dma_prep_dma_cyclic()
349 jz4780_dma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) jz4780_dma_prep_dma_cyclic() argument
H A Dep93xx_dma.c1092 * @period_len: length of a single period
1097 * descriptor is submitted, we will be submitting in a @period_len sized
1106 size_t buf_len, size_t period_len, ep93xx_dma_prep_dma_cyclic()
1125 if (period_len > DMA_MAX_CHAN_BYTES) { ep93xx_dma_prep_dma_cyclic()
1127 period_len); ep93xx_dma_prep_dma_cyclic() local
1133 for (offset = 0; offset < buf_len; offset += period_len) { ep93xx_dma_prep_dma_cyclic()
1148 desc->size = period_len; ep93xx_dma_prep_dma_cyclic()
1105 ep93xx_dma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) ep93xx_dma_prep_dma_cyclic() argument
H A Dimg-mdc-dma.c371 size_t period_len, enum dma_transfer_direction dir, mdc_prep_dma_cyclic()
380 if (!buf_len && !period_len) mdc_prep_dma_cyclic()
395 mdesc->list_period_len = DIV_ROUND_UP(period_len, mdc_prep_dma_cyclic()
399 size_t remainder = min(period_len, buf_len); mdc_prep_dma_cyclic()
369 mdc_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) mdc_prep_dma_cyclic() argument
H A Dimx-dma.c861 size_t period_len, enum dma_transfer_direction direction, imxdma_prep_dma_cyclic()
868 unsigned int periods = buf_len / period_len; imxdma_prep_dma_cyclic()
870 dev_dbg(imxdma->dev, "%s channel: %d buf_len=%zu period_len=%zu\n", imxdma_prep_dma_cyclic()
871 __func__, imxdmac->channel, buf_len, period_len); imxdma_prep_dma_cyclic()
892 sg_dma_len(&imxdmac->sg_list[i]) = period_len; imxdma_prep_dma_cyclic()
893 dma_addr += period_len; imxdma_prep_dma_cyclic()
859 imxdma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) imxdma_prep_dma_cyclic() argument
H A Dedma.c1223 size_t period_len, enum dma_transfer_direction direction, edma_prep_dma_cyclic()
1234 if (unlikely(!echan || !buf_len || !period_len)) edma_prep_dma_cyclic()
1257 if (unlikely(buf_len % period_len)) { edma_prep_dma_cyclic()
1262 nslots = (buf_len / period_len) + 1; edma_prep_dma_cyclic()
1288 dev_dbg(dev, "%s: channel=%d nslots=%d period_len=%zu buf_len=%zu\n", edma_prep_dma_cyclic()
1289 __func__, echan->ch_num, nslots, period_len, buf_len); edma_prep_dma_cyclic()
1311 dst_addr, burst, dev_width, period_len, edma_prep_dma_cyclic()
1319 dst_addr += period_len; edma_prep_dma_cyclic()
1321 src_addr += period_len; edma_prep_dma_cyclic()
1221 edma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long tx_flags) edma_prep_dma_cyclic() argument
H A Dtegra20-apb-dma.c1054 size_t period_len, enum dma_transfer_direction direction, tegra_dma_prep_dma_cyclic()
1067 if (!buf_len || !period_len) { tegra_dma_prep_dma_cyclic()
1090 * period_len. tegra_dma_prep_dma_cyclic()
1092 if (buf_len % period_len) { tegra_dma_prep_dma_cyclic()
1093 dev_err(tdc2dev(tdc), "buf_len is not multiple of period_len\n"); tegra_dma_prep_dma_cyclic()
1097 len = period_len; tegra_dma_prep_dma_cyclic()
1052 tegra_dma_prep_dma_cyclic( struct dma_chan *dc, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) tegra_dma_prep_dma_cyclic() argument
H A Dfsl-edma.c533 size_t period_len, enum dma_transfer_direction direction, fsl_edma_prep_dma_cyclic()
546 sg_len = buf_len / period_len; fsl_edma_prep_dma_cyclic()
554 iter = period_len / nbytes; fsl_edma_prep_dma_cyclic()
578 dma_buf_next += period_len; fsl_edma_prep_dma_cyclic()
531 fsl_edma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) fsl_edma_prep_dma_cyclic() argument
H A Dsun4i-dma.c666 size_t period_len, enum dma_transfer_direction dir, sun4i_dma_prep_dma_cyclic()
743 nr_periods = DIV_ROUND_UP(len / period_len, 2); sun4i_dma_prep_dma_cyclic()
746 offset = i * period_len * 2; sun4i_dma_prep_dma_cyclic()
747 plength = min((len - offset), (period_len * 2)); sun4i_dma_prep_dma_cyclic()
665 sun4i_dma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf, size_t len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) sun4i_dma_prep_dma_cyclic() argument
H A Dat_xdmac.c736 size_t buf_len, size_t period_len, at_xdmac_prep_dma_cyclic()
742 unsigned int periods = buf_len / period_len; at_xdmac_prep_dma_cyclic()
746 dev_dbg(chan2dev(chan), "%s: buf_addr=%pad, buf_len=%zd, period_len=%zd, dir=%s, flags=0x%lx\n", at_xdmac_prep_dma_cyclic()
747 __func__, &buf_addr, buf_len, period_len, at_xdmac_prep_dma_cyclic() local
782 desc->lld.mbr_da = buf_addr + i * period_len; at_xdmac_prep_dma_cyclic()
784 desc->lld.mbr_sa = buf_addr + i * period_len; at_xdmac_prep_dma_cyclic()
791 | period_len >> at_xdmac_get_dwidth(desc->lld.mbr_cfg); at_xdmac_prep_dma_cyclic()
735 at_xdmac_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) at_xdmac_prep_dma_cyclic() argument
H A Domap-dma.c861 size_t period_len, enum dma_transfer_direction dir, unsigned long flags) omap_dma_prep_dma_cyclic()
909 d->sg[0].en = period_len / es_bytes[es]; omap_dma_prep_dma_cyclic()
910 d->sg[0].fn = buf_len / period_len; omap_dma_prep_dma_cyclic()
859 omap_dma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) omap_dma_prep_dma_cyclic() argument
H A Dpl330.c2501 size_t period_len, enum dma_transfer_direction direction, pl330_prep_dma_cyclic()
2511 if (len % period_len != 0) pl330_prep_dma_cyclic()
2520 for (i = 0; i < len / period_len; i++) { pl330_prep_dma_cyclic()
2564 desc->bytes_requested = period_len; pl330_prep_dma_cyclic()
2565 fill_px(&desc->px, dst, src, period_len); pl330_prep_dma_cyclic()
2572 dma_addr += period_len; pl330_prep_dma_cyclic()
2499 pl330_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t dma_addr, size_t len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) pl330_prep_dma_cyclic() argument
H A Dsirf-dma.c762 size_t buf_len, size_t period_len, sirfsoc_dma_prep_cyclic()
780 if (buf_len != 2 * period_len) sirfsoc_dma_prep_cyclic()
761 sirfsoc_dma_prep_cyclic(struct dma_chan *chan, dma_addr_t addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) sirfsoc_dma_prep_cyclic() argument
H A Damba-pl08x.c1628 size_t period_len, enum dma_transfer_direction direction, pl08x_prep_dma_cyclic()
1639 __func__, period_len, buf_len, pl08x_prep_dma_cyclic()
1649 for (tmp = 0; tmp < buf_len; tmp += period_len) { pl08x_prep_dma_cyclic()
1651 buf_addr + tmp, period_len); pl08x_prep_dma_cyclic()
1626 pl08x_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) pl08x_prep_dma_cyclic() argument
H A Dste_dma40.c2547 size_t buf_len, size_t period_len, dma40_prep_dma_cyclic()
2550 unsigned int periods = buf_len / period_len; dma40_prep_dma_cyclic()
2561 sg_dma_len(&sg[i]) = period_len; dma40_prep_dma_cyclic()
2562 dma_addr += period_len; dma40_prep_dma_cyclic()
2546 dma40_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) dma40_prep_dma_cyclic() argument
/linux-4.4.14/include/linux/dma/
H A Ddw.h54 dma_addr_t buf_addr, size_t buf_len, size_t period_len,
/linux-4.4.14/drivers/dma/sh/
H A Dshdma-base.c696 size_t period_len, enum dma_transfer_direction direction, shdma_prep_dma_cyclic()
703 unsigned int sg_len = buf_len / period_len; shdma_prep_dma_cyclic()
721 if (slave_id < 0 || (buf_len < period_len)) { shdma_prep_dma_cyclic()
723 "%s: bad parameter: buf_len=%zu, period_len=%zu, id=%d\n", shdma_prep_dma_cyclic()
724 __func__, buf_len, period_len, slave_id); shdma_prep_dma_cyclic()
741 dma_addr_t src = buf_addr + (period_len * i); shdma_prep_dma_cyclic()
743 sg_set_page(&sgl[i], pfn_to_page(PFN_DOWN(src)), period_len, shdma_prep_dma_cyclic()
746 sg_dma_len(&sgl[i]) = period_len; shdma_prep_dma_cyclic()
694 shdma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) shdma_prep_dma_cyclic() argument
H A Drcar-dmac.c1050 size_t buf_len, size_t period_len, rcar_dmac_prep_dma_cyclic()
1061 if (rchan->mid_rid < 0 || buf_len < period_len) { rcar_dmac_prep_dma_cyclic()
1063 "%s: bad parameter: buf_len=%zu, period_len=%zu, id=%d\n", rcar_dmac_prep_dma_cyclic()
1064 __func__, buf_len, period_len, rchan->mid_rid); rcar_dmac_prep_dma_cyclic()
1068 sg_len = buf_len / period_len; rcar_dmac_prep_dma_cyclic()
1087 dma_addr_t src = buf_addr + (period_len * i); rcar_dmac_prep_dma_cyclic()
1089 sg_set_page(&sgl[i], pfn_to_page(PFN_DOWN(src)), period_len, rcar_dmac_prep_dma_cyclic()
1092 sg_dma_len(&sgl[i]) = period_len; rcar_dmac_prep_dma_cyclic()
1049 rcar_dmac_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) rcar_dmac_prep_dma_cyclic() argument
/linux-4.4.14/drivers/dma/dw/
H A Dcore.c1308 * @period_len: number of bytes for each period
1315 dma_addr_t buf_addr, size_t buf_len, size_t period_len, dw_dma_cyclic_prep()
1365 periods = buf_len / period_len; dw_dma_cyclic_prep()
1368 if (period_len > (dwc->block_size << reg_width)) dw_dma_cyclic_prep()
1370 if (unlikely(period_len & ((1 << reg_width) - 1))) dw_dma_cyclic_prep()
1396 desc->lli.sar = buf_addr + (period_len * i); dw_dma_cyclic_prep()
1410 desc->lli.dar = buf_addr + (period_len * i); dw_dma_cyclic_prep()
1428 desc->lli.ctlhi = (period_len >> reg_width); dw_dma_cyclic_prep()
1442 &buf_addr, buf_len, period_len, periods); dw_dma_cyclic_prep()
1314 dw_dma_cyclic_prep(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction) dw_dma_cyclic_prep() argument
/linux-4.4.14/sound/atmel/
H A Dabdac.c124 unsigned long buffer_len, period_len; atmel_abdac_prepare_dma() local
136 period_len = frames_to_bytes(runtime, runtime->period_size); atmel_abdac_prepare_dma()
139 period_len, DMA_MEM_TO_DEV); atmel_abdac_prepare_dma()
H A Dac97c.c114 unsigned long buffer_len, period_len; atmel_ac97c_prepare_dma() local
131 period_len = frames_to_bytes(runtime, runtime->period_size); atmel_ac97c_prepare_dma()
134 period_len, direction); atmel_ac97c_prepare_dma()
/linux-4.4.14/include/linux/
H A Ddmaengine.h646 * be called after period_len bytes have been transferred.
726 size_t period_len, enum dma_transfer_direction direction,
796 size_t period_len, enum dma_transfer_direction dir, dmaengine_prep_dma_cyclic()
800 period_len, dir, flags); dmaengine_prep_dma_cyclic()
794 dmaengine_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) dmaengine_prep_dma_cyclic() argument

Completed in 735 milliseconds