/linux-3.4.99/drivers/dma/ |
D | mxs-dma.c | 458 size_t period_len, enum dma_transfer_direction direction, in mxs_dma_prep_dma_cyclic() argument 463 int num_periods = buf_len / period_len; in mxs_dma_prep_dma_cyclic() 479 if (period_len > MAX_XFER_BYTES) { in mxs_dma_prep_dma_cyclic() 482 period_len, MAX_XFER_BYTES); in mxs_dma_prep_dma_cyclic() 495 ccw->xfer_bytes = period_len; in mxs_dma_prep_dma_cyclic() 505 dma_addr += period_len; in mxs_dma_prep_dma_cyclic() 506 buf += period_len; in mxs_dma_prep_dma_cyclic()
|
D | at_hdmac.c | 783 size_t period_len, enum dma_transfer_direction direction) in atc_dma_cyclic_check_values() argument 785 if (period_len > (ATC_BTSIZE_MAX << reg_width)) in atc_dma_cyclic_check_values() 787 if (unlikely(period_len & ((1 << reg_width) - 1))) in atc_dma_cyclic_check_values() 806 unsigned int reg_width, size_t period_len, in atc_dma_cyclic_fill_desc() argument 818 | period_len >> reg_width; in atc_dma_cyclic_fill_desc() 822 desc->lli.saddr = buf_addr + (period_len * period_index); in atc_dma_cyclic_fill_desc() 834 desc->lli.daddr = buf_addr + (period_len * period_index); in atc_dma_cyclic_fill_desc() 861 size_t period_len, enum dma_transfer_direction direction, in atc_prep_dma_cyclic() argument 871 unsigned int periods = buf_len / period_len; in atc_prep_dma_cyclic() 877 periods, buf_len, period_len); in atc_prep_dma_cyclic() [all …]
|
D | imx-sdma.c | 1003 size_t period_len, enum dma_transfer_direction direction, in sdma_prep_dma_cyclic() argument 1008 int num_periods = buf_len / period_len; in sdma_prep_dma_cyclic() 1031 if (period_len > 0xffff) { in sdma_prep_dma_cyclic() 1033 channel, period_len, 0xffff); in sdma_prep_dma_cyclic() 1043 bd->mode.count = period_len; in sdma_prep_dma_cyclic() 1057 i, period_len, dma_addr, in sdma_prep_dma_cyclic() 1063 dma_addr += period_len; in sdma_prep_dma_cyclic() 1064 buf += period_len; in sdma_prep_dma_cyclic()
|
D | dw_dmac.c | 1189 dma_addr_t buf_addr, size_t buf_len, size_t period_len, in dw_dma_cyclic_prep() argument 1227 periods = buf_len / period_len; in dw_dma_cyclic_prep() 1230 if (period_len > (DWC_MAX_COUNT << reg_width)) in dw_dma_cyclic_prep() 1232 if (unlikely(period_len & ((1 << reg_width) - 1))) in dw_dma_cyclic_prep() 1260 desc->lli.sar = buf_addr + (period_len * i); in dw_dma_cyclic_prep() 1274 desc->lli.dar = buf_addr + (period_len * i); in dw_dma_cyclic_prep() 1292 desc->lli.ctlhi = (period_len >> reg_width); in dw_dma_cyclic_prep() 1312 period_len, periods); in dw_dma_cyclic_prep()
|
D | ep93xx_dma.c | 1066 size_t buf_len, size_t period_len, in ep93xx_dma_prep_dma_cyclic() argument 1085 if (period_len > DMA_MAX_CHAN_BYTES) { in ep93xx_dma_prep_dma_cyclic() 1087 period_len); in ep93xx_dma_prep_dma_cyclic() 1093 for (offset = 0; offset < buf_len; offset += period_len) { in ep93xx_dma_prep_dma_cyclic() 1108 desc->size = period_len; in ep93xx_dma_prep_dma_cyclic()
|
D | imx-dma.c | 803 size_t period_len, enum dma_transfer_direction direction, in imxdma_prep_dma_cyclic() argument 810 unsigned int periods = buf_len / period_len; in imxdma_prep_dma_cyclic() 813 __func__, imxdmac->channel, buf_len, period_len); in imxdma_prep_dma_cyclic() 835 imxdmac->sg_list[i].length = period_len; in imxdma_prep_dma_cyclic() 836 dma_addr += period_len; in imxdma_prep_dma_cyclic()
|
D | sirf-dma.c | 491 size_t buf_len, size_t period_len, in sirfsoc_dma_prep_cyclic() argument 509 if (buf_len != 2 * period_len) in sirfsoc_dma_prep_cyclic()
|
D | ste_dma40.c | 2351 size_t buf_len, size_t period_len, in dma40_prep_dma_cyclic() argument 2354 unsigned int periods = buf_len / period_len; in dma40_prep_dma_cyclic() 2362 sg_dma_len(&sg[i]) = period_len; in dma40_prep_dma_cyclic() 2363 dma_addr += period_len; in dma40_prep_dma_cyclic()
|
D | pl330.c | 2694 size_t period_len, enum dma_transfer_direction direction, in pl330_prep_dma_cyclic() argument 2735 fill_px(&desc->px, dst, src, period_len); in pl330_prep_dma_cyclic()
|
/linux-3.4.99/include/linux/ |
D | dw_dmac.h | 91 dma_addr_t buf_addr, size_t buf_len, size_t period_len,
|
D | dmaengine.h | 589 size_t period_len, enum dma_transfer_direction direction, 638 size_t period_len, enum dma_transfer_direction dir) in dmaengine_prep_dma_cyclic() argument 641 period_len, dir, NULL); in dmaengine_prep_dma_cyclic()
|
/linux-3.4.99/sound/atmel/ |
D | abdac.c | 122 unsigned long buffer_len, period_len; in atmel_abdac_prepare_dma() local 134 period_len = frames_to_bytes(runtime, runtime->period_size); in atmel_abdac_prepare_dma() 137 period_len, DMA_MEM_TO_DEV); in atmel_abdac_prepare_dma()
|
D | ac97c.c | 111 unsigned long buffer_len, period_len; in atmel_ac97c_prepare_dma() local 128 period_len = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_prepare_dma() 131 period_len, direction); in atmel_ac97c_prepare_dma()
|
/linux-3.4.99/Documentation/ |
D | dmaengine.txt | 94 size_t period_len, enum dma_data_direction direction);
|