Searched refs:next_dma_frame (Results 1 – 4 of 4) sorted by relevance
798 if (atomic_read(&itv->yuv_info.next_dma_frame) >= 0) in ivtv_irq_dec_data_req()833 int last_dma_frame = atomic_read(&yi->next_dma_frame); in ivtv_irq_vsync()841 int next_dma_frame = last_dma_frame; in ivtv_irq_vsync() local844 if (next_dma_frame >= 0 && next_dma_frame != atomic_read(&yi->next_fill_frame)) { in ivtv_irq_vsync()845 write_reg(yuv_offset[next_dma_frame] >> 4, 0x82c); in ivtv_irq_vsync()846 write_reg((yuv_offset[next_dma_frame] + IVTV_YUV_BUFFER_UV_OFFSET) >> 4, 0x830); in ivtv_irq_vsync()847 write_reg(yuv_offset[next_dma_frame] >> 4, 0x834); in ivtv_irq_vsync()848 write_reg((yuv_offset[next_dma_frame] + IVTV_YUV_BUFFER_UV_OFFSET) >> 4, 0x838); in ivtv_irq_vsync()849 next_dma_frame = (next_dma_frame + 1) % IVTV_YUV_BUFFERS; in ivtv_irq_vsync()850 atomic_set(&yi->next_dma_frame, next_dma_frame); in ivtv_irq_vsync()[all …]
933 atomic_set(&yi->next_dma_frame, 0); in ivtv_yuv_init()942 if (atomic_read(&yi->next_dma_frame) == -1) in ivtv_yuv_next_free()946 display = atomic_read(&yi->next_dma_frame); in ivtv_yuv_next_free()1178 atomic_set(&yi->next_dma_frame, -1); in ivtv_yuv_close()
501 atomic_t next_dma_frame; member
790 atomic_set(&itv->yuv_info.next_dma_frame, -1); in ivtv_init_struct1()