Home
last modified time | relevance | path

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

/drivers/media/pci/ivtv/
Divtv-irq.c798 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() local
844 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 …]
Divtv-yuv.c933 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()
Divtv-driver.h500 atomic_t next_dma_frame; member
Divtv-driver.c790 atomic_set(&itv->yuv_info.next_dma_frame, -1); in ivtv_init_struct1()