Lines Matching full:chunks
85 /* Mark all chunks of this descriptor as submitted, move to the queue */ in shdma_tx_submit()
88 * All chunks are on the global ld_free, so, we have to find in shdma_tx_submit()
97 if (chunk->chunks == 1) { in shdma_tx_submit()
137 /* Remove chunks from the queue and mark them as idle */ in shdma_tx_submit()
360 * any chunks in a (partially) completed chain in __ld_cleanup()
369 if (desc->mark == DESC_COMPLETED && desc->chunks == 1) { in __ld_cleanup()
385 BUG_ON(desc->chunks != 1); in __ld_cleanup()
580 int chunks = 0; in shdma_prep_sg() local
585 chunks += DIV_ROUND_UP(sg_dma_len(sg), schan->max_xfer_len); in shdma_prep_sg()
595 * if more than one chunk is needed further chunks have cookie = -EINVAL in shdma_prep_sg()
597 * all chunks are linked onto the tx_list head with their .node heads in shdma_prep_sg()
625 new->chunks = 1; in shdma_prep_sg()
627 new->chunks = chunks--; in shdma_prep_sg()