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
804 dev->video_mode.isoc_ctl.isoc_copy(dev, urb); in cx231xx_isoc_irq_callback()874 dev->video_mode.isoc_ctl.nfields = -1; in cx231xx_uninit_isoc()875 for (i = 0; i < dev->video_mode.isoc_ctl.num_bufs; i++) { in cx231xx_uninit_isoc()876 urb = dev->video_mode.isoc_ctl.urb[i]; in cx231xx_uninit_isoc()883 if (dev->video_mode.isoc_ctl.transfer_buffer[i]) { in cx231xx_uninit_isoc()886 dev->video_mode.isoc_ctl. in cx231xx_uninit_isoc()894 dev->video_mode.isoc_ctl.urb[i] = NULL; in cx231xx_uninit_isoc()896 dev->video_mode.isoc_ctl.transfer_buffer[i] = NULL; in cx231xx_uninit_isoc()903 kfree(dev->video_mode.isoc_ctl.urb); in cx231xx_uninit_isoc()904 kfree(dev->video_mode.isoc_ctl.transfer_buffer); in cx231xx_uninit_isoc()[all …]
176 dev->video_mode.isoc_ctl.buf = NULL; in buffer_filled()237 dev->video_mode.isoc_ctl.buf = NULL; in get_next_buf()252 dev->video_mode.isoc_ctl.buf = *buf; in get_next_buf()555 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_copy_video_line()621 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_reset_video_buffer()650 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_do_copy()753 dev->video_mode.isoc_ctl.buf = NULL; in return_all_buffers()
1251 dev->video_mode.isoc_ctl.buf = buf; in buffer_copy()1255 buf = dev->video_mode.isoc_ctl.buf; in buffer_copy()1449 dev->video_mode.isoc_ctl.buf = NULL; in stop_streaming()
499 struct cx231xx_isoc_ctl isoc_ctl; member