Lines Matching defs:next_dma_frame
714 if (atomic_read(&itv->yuv_info.next_dma_frame) >= 0)
749 int last_dma_frame = atomic_read(&yi->next_dma_frame);
757 int next_dma_frame = last_dma_frame;
760 if (next_dma_frame >= 0 && next_dma_frame != atomic_read(&yi->next_fill_frame)) {
761 write_reg(yuv_offset[next_dma_frame] >> 4, 0x82c);
762 write_reg((yuv_offset[next_dma_frame] + IVTV_YUV_BUFFER_UV_OFFSET) >> 4, 0x830);
763 write_reg(yuv_offset[next_dma_frame] >> 4, 0x834);
764 write_reg((yuv_offset[next_dma_frame] + IVTV_YUV_BUFFER_UV_OFFSET) >> 4, 0x838);
765 next_dma_frame = (next_dma_frame + 1) % IVTV_YUV_BUFFERS;
766 atomic_set(&yi->next_dma_frame, next_dma_frame);
814 (u8)(atomic_read(&yi->next_dma_frame) -