Searched refs:next_dma_frame (Results 1 – 12 of 12) sorted by relevance
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/pci/ivtv/ |
H A D | ivtv-irq.c | 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() 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 …]
|
H A D | ivtv-yuv.c | 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()
|
H A D | ivtv-driver.h | 501 atomic_t next_dma_frame; member
|
H A D | ivtv-driver.c | 787 atomic_set(&itv->yuv_info.next_dma_frame, -1); in ivtv_init_struct1()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/pci/ivtv/ |
H A D | ivtv-irq.c | 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() 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 …]
|
H A D | ivtv-yuv.c | 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()
|
H A D | ivtv-driver.h | 501 atomic_t next_dma_frame; member
|
H A D | ivtv-driver.c | 787 atomic_set(&itv->yuv_info.next_dma_frame, -1); in ivtv_init_struct1()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/pci/ivtv/ |
H A D | ivtv-irq.c | 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() 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 …]
|
H A D | ivtv-yuv.c | 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()
|
H A D | ivtv-driver.h | 501 atomic_t next_dma_frame; member
|
H A D | ivtv-driver.c | 787 atomic_set(&itv->yuv_info.next_dma_frame, -1); in ivtv_init_struct1()
|