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()
134 * Make it int then, on error remove chunks from the in shdma_tx_submit()
347 * any chunks in a (partially) completed chain in __ld_cleanup()
356 if (desc->mark == DESC_COMPLETED && desc->chunks == 1) { in __ld_cleanup()
372 BUG_ON(desc->chunks != 1); in __ld_cleanup()
567 int chunks = 0; in shdma_prep_sg() local
572 chunks += DIV_ROUND_UP(sg_dma_len(sg), schan->max_xfer_len); in shdma_prep_sg()
582 * if more than one chunk is needed further chunks have cookie = -EINVAL in shdma_prep_sg()
584 * all chunks are linked onto the tx_list head with their .node heads in shdma_prep_sg()
612 new->chunks = 1; in shdma_prep_sg()
614 new->chunks = chunks--; in shdma_prep_sg()