Searched refs:dma_len (Results 1 – 2 of 2) sorted by relevance
33 unsigned int dma_len; member62 end = offset + idma->dma_len; in iomd_get_next_sg()72 idma->dma_len -= end - offset; in iomd_get_next_sg()75 if (idma->dma_len == 0) { in iomd_get_next_sg()79 idma->dma_len = idma->dma.sg->length; in iomd_get_next_sg()179 idma->dma_len = idma->dma.sg->length; in iomd_enable_dma()
1302 unsigned long dma_offset, dma_len; /* start/len of DMA stream */ in sba_coalesce_chunks() local1314 dma_len = vcontig_len = vcontig_end = startsg->length; in sba_coalesce_chunks()1341 if (((dma_len + dma_offset + startsg->length + ~iovp_mask) & iovp_mask) in sba_coalesce_chunks()1345 if (dma_len + startsg->length > max_seg_size) in sba_coalesce_chunks()1358 dma_len += startsg->length; in sba_coalesce_chunks()1389 dma_len += vcontig_len; in sba_coalesce_chunks()1402 dma_len = (dma_len + dma_offset + ~iovp_mask) & iovp_mask; in sba_coalesce_chunks()1403 ASSERT(dma_len <= DMA_CHUNK_SIZE); in sba_coalesce_chunks()1404 idx = sba_alloc_range(ioc, dev, dma_len); in sba_coalesce_chunks()