Lines Matching refs:sg_data_offset
92 unsigned int sg_data_offset; member
139 if (rctx->sg_data_offset == rctx->sg->length) { in flush_sg_to_ocs_buffer()
141 rctx->sg_data_offset = 0; in flush_sg_to_ocs_buffer()
149 count = min(rctx->sg->length - rctx->sg_data_offset, in flush_sg_to_ocs_buffer()
153 rctx->sg, rctx->sg_data_offset, in flush_sg_to_ocs_buffer()
156 rctx->sg_data_offset += count; in flush_sg_to_ocs_buffer()
313 sg_dma_len(rctx->sg) - rctx->sg_data_offset); in kmb_ocs_dma_prepare()
338 rctx->sg_data_offset += count; in kmb_ocs_dma_prepare()
346 rctx->sg_data_offset = 0; in kmb_ocs_dma_prepare()
624 rctx->sg_data_offset = 0; in kmb_ocs_hcu_update()
693 rctx->sg_data_offset = 0; in kmb_ocs_hcu_final()
704 rctx->sg_data_offset = 0; in kmb_ocs_hcu_finup()