Home
last modified time | relevance | path

Searched refs:isoc_ctl (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/drivers/media/video/tm6000/
Dtm6000-video.c235 if (!dev->isoc_ctl.cmd) { in copy_streams()
237 if (dev->isoc_ctl.tmp_buf_len > 0) { in copy_streams()
239 header = dev->isoc_ctl.tmp_buf; in copy_streams()
240 if (4 - dev->isoc_ctl.tmp_buf_len > 0) { in copy_streams()
242 dev->isoc_ctl.tmp_buf_len, in copy_streams()
244 4 - dev->isoc_ctl.tmp_buf_len); in copy_streams()
245 ptr += 4 - dev->isoc_ctl.tmp_buf_len; in copy_streams()
247 dev->isoc_ctl.tmp_buf_len = 0; in copy_streams()
251 dev->isoc_ctl.tmp_buf_len = endp - ptr; in copy_streams()
252 memcpy(&dev->isoc_ctl.tmp_buf, ptr, in copy_streams()
[all …]
Dtm6000.h265 struct usb_isoc_ctl isoc_ctl; member
/linux-3.4.99/drivers/media/video/au0828/
Dau0828-video.c141 rc = dev->isoc_ctl.isoc_copy(dev, urb); in au0828_irq_callback()
168 dev->isoc_ctl.nfields = -1; in au0828_uninit_isoc()
169 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in au0828_uninit_isoc()
170 urb = dev->isoc_ctl.urb[i]; in au0828_uninit_isoc()
177 if (dev->isoc_ctl.transfer_buffer[i]) { in au0828_uninit_isoc()
180 dev->isoc_ctl.transfer_buffer[i], in au0828_uninit_isoc()
184 dev->isoc_ctl.urb[i] = NULL; in au0828_uninit_isoc()
186 dev->isoc_ctl.transfer_buffer[i] = NULL; in au0828_uninit_isoc()
189 kfree(dev->isoc_ctl.urb); in au0828_uninit_isoc()
190 kfree(dev->isoc_ctl.transfer_buffer); in au0828_uninit_isoc()
[all …]
Dau0828-vbi.c56 if (dev->isoc_ctl.vbi_buf == buf) in free_buffer()
57 dev->isoc_ctl.vbi_buf = NULL; in free_buffer()
Dau0828.h237 struct au0828_usb_isoc_ctl isoc_ctl; member
/linux-3.4.99/drivers/media/video/cx231xx/
Dcx231xx-core.c817 rc = dev->video_mode.isoc_ctl.isoc_copy(dev, urb); in cx231xx_isoc_irq_callback()
886 dev->video_mode.isoc_ctl.nfields = -1; in cx231xx_uninit_isoc()
887 for (i = 0; i < dev->video_mode.isoc_ctl.num_bufs; i++) { in cx231xx_uninit_isoc()
888 urb = dev->video_mode.isoc_ctl.urb[i]; in cx231xx_uninit_isoc()
895 if (dev->video_mode.isoc_ctl.transfer_buffer[i]) { in cx231xx_uninit_isoc()
898 dev->video_mode.isoc_ctl. in cx231xx_uninit_isoc()
903 dev->video_mode.isoc_ctl.urb[i] = NULL; in cx231xx_uninit_isoc()
905 dev->video_mode.isoc_ctl.transfer_buffer[i] = NULL; in cx231xx_uninit_isoc()
908 kfree(dev->video_mode.isoc_ctl.urb); in cx231xx_uninit_isoc()
909 kfree(dev->video_mode.isoc_ctl.transfer_buffer); in cx231xx_uninit_isoc()
[all …]
Dcx231xx-video.c241 dev->video_mode.isoc_ctl.buf = NULL; in buffer_filled()
302 dev->video_mode.isoc_ctl.buf = NULL; in get_next_buf()
317 dev->video_mode.isoc_ctl.buf = *buf; in get_next_buf()
349 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_isoc_copy()
633 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_copy_video_line()
699 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_reset_video_buffer()
732 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_do_copy()
831 if (dev->video_mode.isoc_ctl.buf == buf) in free_buffer()
832 dev->video_mode.isoc_ctl.buf = NULL; in free_buffer()
870 if (!dev->video_mode.isoc_ctl.num_bufs) in buffer_prepare()
Dcx231xx-417.c1232 if (dev->video_mode.isoc_ctl.buf == buf) in free_buffer()
1233 dev->video_mode.isoc_ctl.buf = NULL; in free_buffer()
1258 dev->video_mode.isoc_ctl.buf = buf; in buffer_copy()
1262 buf = dev->video_mode.isoc_ctl.buf; in buffer_copy()
1407 if (!dev->video_mode.isoc_ctl.num_bufs) in bb_buf_prepare()
Dcx231xx.h541 struct cx231xx_isoc_ctl isoc_ctl; member
/linux-3.4.99/drivers/media/video/em28xx/
Dem28xx-core.c945 dev->isoc_ctl.isoc_copy(dev, urb); in em28xx_irq_callback()
974 isoc_bufs = &dev->isoc_ctl.digital_bufs; in em28xx_uninit_isoc()
976 isoc_bufs = &dev->isoc_ctl.analog_bufs; in em28xx_uninit_isoc()
978 dev->isoc_ctl.nfields = -1; in em28xx_uninit_isoc()
1025 isoc_bufs = &dev->isoc_ctl.digital_bufs; in em28xx_alloc_isoc()
1027 isoc_bufs = &dev->isoc_ctl.analog_bufs; in em28xx_alloc_isoc()
1050 dev->isoc_ctl.vid_buf = NULL; in em28xx_alloc_isoc()
1051 dev->isoc_ctl.vbi_buf = NULL; in em28xx_alloc_isoc()
1121 dev->isoc_ctl.isoc_copy = isoc_copy; in em28xx_init_isoc()
1124 isoc_bufs = &dev->isoc_ctl.digital_bufs; in em28xx_init_isoc()
[all …]
Dem28xx-vbi.c63 if (dev->isoc_ctl.vbi_buf == buf) in free_buffer()
64 dev->isoc_ctl.vbi_buf = NULL; in free_buffer()
Dem28xx-video.c168 dev->isoc_ctl.vid_buf = NULL; in buffer_filled()
185 dev->isoc_ctl.vbi_buf = NULL; in vbi_buffer_filled()
373 dev->isoc_ctl.vid_buf = NULL; in get_next_buf()
385 dev->isoc_ctl.vid_buf = *buf; in get_next_buf()
401 dev->isoc_ctl.vbi_buf = NULL; in vbi_get_next_buf()
412 dev->isoc_ctl.vbi_buf = *buf; in vbi_get_next_buf()
440 buf = dev->isoc_ctl.vid_buf; in em28xx_isoc_copy()
536 buf = dev->isoc_ctl.vid_buf; in em28xx_isoc_copy_vbi()
540 vbi_buf = dev->isoc_ctl.vbi_buf; in em28xx_isoc_copy_vbi()
730 if (dev->isoc_ctl.vid_buf == buf) in free_buffer()
[all …]
Dem28xx.h608 struct em28xx_usb_isoc_ctl isoc_ctl; member