Home
last modified time | relevance | path

Searched refs:next_dma_frame (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-irq.c810 if (atomic_read(&itv->yuv_info.next_dma_frame) >= 0) in ivtv_irq_dec_data_req()
845 int last_dma_frame = atomic_read(&yi->next_dma_frame); in ivtv_irq_vsync()
853 int next_dma_frame = last_dma_frame; in ivtv_irq_vsync() local
856 if (next_dma_frame >= 0 && next_dma_frame != atomic_read(&yi->next_fill_frame)) { in ivtv_irq_vsync()
857 write_reg(yuv_offset[next_dma_frame] >> 4, 0x82c); in ivtv_irq_vsync()
858 write_reg((yuv_offset[next_dma_frame] + IVTV_YUV_BUFFER_UV_OFFSET) >> 4, 0x830); in ivtv_irq_vsync()
859 write_reg(yuv_offset[next_dma_frame] >> 4, 0x834); in ivtv_irq_vsync()
860 write_reg((yuv_offset[next_dma_frame] + IVTV_YUV_BUFFER_UV_OFFSET) >> 4, 0x838); in ivtv_irq_vsync()
861 next_dma_frame = (next_dma_frame + 1) % IVTV_YUV_BUFFERS; in ivtv_irq_vsync()
862 atomic_set(&yi->next_dma_frame, next_dma_frame); in ivtv_irq_vsync()
[all …]
Divtv-yuv.c951 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()
1196 atomic_set(&yi->next_dma_frame, -1); in ivtv_yuv_close()
Divtv-driver.h500 atomic_t next_dma_frame; member
Divtv-driver.c794 atomic_set(&itv->yuv_info.next_dma_frame, -1); in ivtv_init_struct1()