Lines Matching defs:size

243  * fsl_chan_set_src_loop_size - Set source address hold transfer size
245 * @size : Address loop size, 0 for disable loop
247 * The set source address hold transfer size. The source
248 * address hold or loop transfer size is when the DMA transfer
249 * data from source address (SA), if the loop size is 4, the DMA will
253 static void fsl_chan_set_src_loop_size(struct fsldma_chan *chan, int size)
259 switch (size) {
268 mode |= FSL_DMA_MR_SAHE | (__ilog2(size) << 14);
276 * fsl_chan_set_dst_loop_size - Set destination address hold transfer size
278 * @size : Address loop size, 0 for disable loop
280 * The set destination address hold transfer size. The destination
281 * address hold or loop transfer size is when the DMA transfer
282 * data to destination address (TA), if the loop size is 4, the DMA will
286 static void fsl_chan_set_dst_loop_size(struct fsldma_chan *chan, int size)
292 switch (size) {
301 mode |= FSL_DMA_MR_DAHE | (__ilog2(size) << 16);
311 * @size : Number of bytes to transfer in a single request
318 * A size of 0 disables external pause control. The maximum size is 1024.
320 static void fsl_chan_set_request_count(struct fsldma_chan *chan, int size)
324 BUG_ON(size > 1024);
328 mode |= (__ilog2(size) << 24) & FSL_DMA_MR_BWC_MASK;
851 int size;
858 /* make sure the channel supports setting burst size */
862 /* we set the controller burst size depending on direction */
864 size = config->dst_addr_width * config->dst_maxburst;
866 size = config->src_addr_width * config->src_maxburst;
868 chan->set_request_count(chan, size);