Searched refs:sgiter (Results 1 – 3 of 3) sorted by relevance
16 struct mv_cesa_sg_dma_iter *sgiter, in mv_cesa_req_dma_iter_next_transfer() argument19 if (!sgiter->sg) in mv_cesa_req_dma_iter_next_transfer()22 sgiter->op_offset += len; in mv_cesa_req_dma_iter_next_transfer()23 sgiter->offset += len; in mv_cesa_req_dma_iter_next_transfer()24 if (sgiter->offset == sg_dma_len(sgiter->sg)) { in mv_cesa_req_dma_iter_next_transfer()25 if (sg_is_last(sgiter->sg)) in mv_cesa_req_dma_iter_next_transfer()27 sgiter->offset = 0; in mv_cesa_req_dma_iter_next_transfer()28 sgiter->sg = sg_next(sgiter->sg); in mv_cesa_req_dma_iter_next_transfer()31 if (sgiter->op_offset == iter->op_len) in mv_cesa_req_dma_iter_next_transfer()324 struct mv_cesa_sg_dma_iter *sgiter, in mv_cesa_dma_add_op_transfers() argument[all …]
807 struct mv_cesa_sg_dma_iter *sgiter) in mv_cesa_req_dma_iter_transfer_len() argument809 return min(iter->op_len - sgiter->op_offset, in mv_cesa_req_dma_iter_transfer_len()810 sg_dma_len(sgiter->sg) - sgiter->offset); in mv_cesa_req_dma_iter_transfer_len()814 struct mv_cesa_sg_dma_iter *sgiter,871 struct mv_cesa_sg_dma_iter *sgiter,
85 struct sg_page_iter sgiter; in expect_pfn_sg_page_iter() local89 for_each_sg_page(pt->st.sgl, &sgiter, pt->st.nents, 0) { in expect_pfn_sg_page_iter()90 struct page *page = sg_page_iter_page(&sgiter); in expect_pfn_sg_page_iter()