Lines Matching refs:sg_pending
222 s->sg_pending[idx].dst = buf->dma_handle; in stream_enc_dma_append()
223 s->sg_pending[idx].src = offset; in stream_enc_dma_append()
224 s->sg_pending[idx].size = s->buf_size; in stream_enc_dma_append()
355 s->sg_pending[idx].src = yi->blanking_dmaptr; in ivtv_dma_stream_dec_prepare()
356 s->sg_pending[idx].dst = offset; in ivtv_dma_stream_dec_prepare()
357 s->sg_pending[idx].size = 720 * 16; in ivtv_dma_stream_dec_prepare()
367 s->sg_pending[idx].src = buf->dma_handle; in ivtv_dma_stream_dec_prepare()
368 s->sg_pending[idx].dst = offset; in ivtv_dma_stream_dec_prepare()
369 s->sg_pending[idx].size = y_size - bytes_written; in ivtv_dma_stream_dec_prepare()
371 if (s->sg_pending[idx].size != buf->bytesused) { in ivtv_dma_stream_dec_prepare()
373 s->sg_pending[idx].src = in ivtv_dma_stream_dec_prepare()
374 buf->dma_handle + s->sg_pending[idx - 1].size; in ivtv_dma_stream_dec_prepare()
375 s->sg_pending[idx].dst = offset; in ivtv_dma_stream_dec_prepare()
376 s->sg_pending[idx].size = in ivtv_dma_stream_dec_prepare()
377 buf->bytesused - s->sg_pending[idx - 1].size; in ivtv_dma_stream_dec_prepare()
378 offset += s->sg_pending[idx].size; in ivtv_dma_stream_dec_prepare()
382 s->sg_pending[idx].src = buf->dma_handle; in ivtv_dma_stream_dec_prepare()
383 s->sg_pending[idx].dst = offset; in ivtv_dma_stream_dec_prepare()
384 s->sg_pending[idx].size = buf->bytesused; in ivtv_dma_stream_dec_prepare()
459 s->sg_pending[s->sg_pending_size - 1].size += 256; in ivtv_dma_enc_start()
474 s_vbi->sg_pending[s_vbi->sg_pending_size - 1].size += 256; in ivtv_dma_enc_start()
476 s->sg_pending[s->sg_pending_size++] = s_vbi->sg_pending[i]; in ivtv_dma_enc_start()
486 memcpy(s->sg_processing, s->sg_pending, sizeof(struct ivtv_sg_host_element) * s->sg_pending_size); in ivtv_dma_enc_start()
515 memcpy(s->sg_processing, s->sg_pending, sizeof(struct ivtv_sg_host_element) * s->sg_pending_size); in ivtv_dma_dec_start()