Searched refs:isoc_ctl (Results 1 – 11 of 11) sorted by relevance
71 WARN_ON(dev->isoc_ctl.buf); in stk1160_next_buffer()87 struct stk1160_buffer *buf = dev->isoc_ctl.buf; in stk1160_buffer_done()96 dev->isoc_ctl.buf = NULL; in stk1160_buffer_done()104 struct stk1160_buffer *buf = dev->isoc_ctl.buf; in stk1160_copy_video()262 if (dev->isoc_ctl.buf != NULL) in stk1160_process_isoc()265 dev->isoc_ctl.buf = stk1160_next_buffer(dev); in stk1160_process_isoc()266 if (dev->isoc_ctl.buf == NULL) in stk1160_process_isoc()274 if (dev->isoc_ctl.buf == NULL) in stk1160_process_isoc()282 dev->isoc_ctl.buf->odd = *p & 0x40; in stk1160_process_isoc()283 dev->isoc_ctl.buf->pos = 0; in stk1160_process_isoc()[all …]
227 if (!dev->isoc_ctl.num_bufs || new_pkt_size) { in stk1160_start_streaming()234 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in stk1160_start_streaming()235 rc = usb_submit_urb(dev->isoc_ctl.urb[i], GFP_KERNEL); in stk1160_start_streaming()765 if (dev->isoc_ctl.buf) { in stk1160_clear_queue()766 buf = dev->isoc_ctl.buf; in stk1160_clear_queue()767 dev->isoc_ctl.buf = NULL; in stk1160_clear_queue()
135 struct stk1160_isoc_ctl isoc_ctl; member
141 if (!dev->isoc_ctl.cmd) { in copy_streams()143 if (dev->isoc_ctl.tmp_buf_len > 0) { in copy_streams()145 header = dev->isoc_ctl.tmp_buf; in copy_streams()146 if (4 - dev->isoc_ctl.tmp_buf_len > 0) { in copy_streams()148 dev->isoc_ctl.tmp_buf_len, in copy_streams()150 4 - dev->isoc_ctl.tmp_buf_len); in copy_streams()151 ptr += 4 - dev->isoc_ctl.tmp_buf_len; in copy_streams()153 dev->isoc_ctl.tmp_buf_len = 0; in copy_streams()157 dev->isoc_ctl.tmp_buf_len = endp - ptr; in copy_streams()158 memcpy(&dev->isoc_ctl.tmp_buf, ptr, in copy_streams()[all …]
254 struct usb_isoc_ctl isoc_ctl; member
133 dev->isoc_ctl.isoc_copy(dev, urb); in au0828_irq_callback()161 dev->isoc_ctl.nfields = -1; in au0828_uninit_isoc()162 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in au0828_uninit_isoc()163 urb = dev->isoc_ctl.urb[i]; in au0828_uninit_isoc()170 if (dev->isoc_ctl.transfer_buffer[i]) { in au0828_uninit_isoc()173 dev->isoc_ctl.transfer_buffer[i], in au0828_uninit_isoc()177 dev->isoc_ctl.urb[i] = NULL; in au0828_uninit_isoc()179 dev->isoc_ctl.transfer_buffer[i] = NULL; in au0828_uninit_isoc()182 kfree(dev->isoc_ctl.urb); in au0828_uninit_isoc()183 kfree(dev->isoc_ctl.transfer_buffer); in au0828_uninit_isoc()[all …]
248 struct au0828_usb_isoc_ctl isoc_ctl; member
808 dev->video_mode.isoc_ctl.isoc_copy(dev, urb); in cx231xx_isoc_irq_callback()878 dev->video_mode.isoc_ctl.nfields = -1; in cx231xx_uninit_isoc()879 for (i = 0; i < dev->video_mode.isoc_ctl.num_bufs; i++) { in cx231xx_uninit_isoc()880 urb = dev->video_mode.isoc_ctl.urb[i]; in cx231xx_uninit_isoc()887 if (dev->video_mode.isoc_ctl.transfer_buffer[i]) { in cx231xx_uninit_isoc()890 dev->video_mode.isoc_ctl. in cx231xx_uninit_isoc()898 dev->video_mode.isoc_ctl.urb[i] = NULL; in cx231xx_uninit_isoc()900 dev->video_mode.isoc_ctl.transfer_buffer[i] = NULL; in cx231xx_uninit_isoc()907 kfree(dev->video_mode.isoc_ctl.urb); in cx231xx_uninit_isoc()908 kfree(dev->video_mode.isoc_ctl.transfer_buffer); in cx231xx_uninit_isoc()[all …]
175 dev->video_mode.isoc_ctl.buf = NULL; in buffer_filled()236 dev->video_mode.isoc_ctl.buf = NULL; in get_next_buf()251 dev->video_mode.isoc_ctl.buf = *buf; in get_next_buf()554 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_copy_video_line()620 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_reset_video_buffer()649 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_do_copy()750 if (dev->video_mode.isoc_ctl.buf == buf) in free_buffer()751 dev->video_mode.isoc_ctl.buf = NULL; in free_buffer()789 if (!dev->video_mode.isoc_ctl.num_bufs) in buffer_prepare()
1254 if (dev->video_mode.isoc_ctl.buf == buf) in free_buffer()1255 dev->video_mode.isoc_ctl.buf = NULL; in free_buffer()1280 dev->video_mode.isoc_ctl.buf = buf; in buffer_copy()1284 buf = dev->video_mode.isoc_ctl.buf; in buffer_copy()1421 if (!dev->video_mode.isoc_ctl.num_bufs) in bb_buf_prepare()
516 struct cx231xx_isoc_ctl isoc_ctl; member