Searched refs:next_dma_frame (Results 1 – 4 of 4) sorted by relevance
758 if (atomic_read(&itv->yuv_info.next_dma_frame) >= 0) in ivtv_irq_dec_data_req()793 int last_dma_frame = atomic_read(&yi->next_dma_frame); in ivtv_irq_vsync()801 int next_dma_frame = last_dma_frame; in ivtv_irq_vsync() local804 if (next_dma_frame >= 0 && next_dma_frame != atomic_read(&yi->next_fill_frame)) { in ivtv_irq_vsync()805 write_reg(yuv_offset[next_dma_frame] >> 4, 0x82c); in ivtv_irq_vsync()806 write_reg((yuv_offset[next_dma_frame] + IVTV_YUV_BUFFER_UV_OFFSET) >> 4, 0x830); in ivtv_irq_vsync()807 write_reg(yuv_offset[next_dma_frame] >> 4, 0x834); in ivtv_irq_vsync()808 write_reg((yuv_offset[next_dma_frame] + IVTV_YUV_BUFFER_UV_OFFSET) >> 4, 0x838); in ivtv_irq_vsync()809 next_dma_frame = (next_dma_frame + 1) % IVTV_YUV_BUFFERS; in ivtv_irq_vsync()810 atomic_set(&yi->next_dma_frame, next_dma_frame); in ivtv_irq_vsync()[all …]
951 atomic_set(&yi->next_dma_frame, 0); in ivtv_yuv_init()960 if (atomic_read(&yi->next_dma_frame) == -1) in ivtv_yuv_next_free()964 display = atomic_read(&yi->next_dma_frame); in ivtv_yuv_next_free()1180 atomic_set(&yi->next_dma_frame, -1); in ivtv_yuv_close()
501 atomic_t next_dma_frame; member
768 atomic_set(&itv->yuv_info.next_dma_frame, -1); in ivtv_init_struct1()