Searched refs:isoc_ctl (Results 1 – 11 of 11) sorted by relevance
81 WARN_ON(dev->isoc_ctl.buf); in stk1160_next_buffer()97 struct stk1160_buffer *buf = dev->isoc_ctl.buf; in stk1160_buffer_done()106 dev->isoc_ctl.buf = NULL; in stk1160_buffer_done()114 struct stk1160_buffer *buf = dev->isoc_ctl.buf; in stk1160_copy_video()272 if (dev->isoc_ctl.buf != NULL) in stk1160_process_isoc()275 dev->isoc_ctl.buf = stk1160_next_buffer(dev); in stk1160_process_isoc()276 if (dev->isoc_ctl.buf == NULL) in stk1160_process_isoc()284 if (dev->isoc_ctl.buf == NULL) in stk1160_process_isoc()292 dev->isoc_ctl.buf->odd = *p & 0x40; in stk1160_process_isoc()293 dev->isoc_ctl.buf->pos = 0; in stk1160_process_isoc()[all …]
238 if (!dev->isoc_ctl.num_bufs || new_pkt_size) { in stk1160_start_streaming()245 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in stk1160_start_streaming()246 rc = usb_submit_urb(dev->isoc_ctl.urb[i], GFP_KERNEL); in stk1160_start_streaming()782 if (dev->isoc_ctl.buf) { in stk1160_clear_queue()783 buf = dev->isoc_ctl.buf; in stk1160_clear_queue()784 dev->isoc_ctl.buf = NULL; in stk1160_clear_queue()
144 struct stk1160_isoc_ctl isoc_ctl; member
158 if (!dev->isoc_ctl.cmd) { in copy_streams()160 if (dev->isoc_ctl.tmp_buf_len > 0) { in copy_streams()162 header = dev->isoc_ctl.tmp_buf; in copy_streams()163 if (4 - dev->isoc_ctl.tmp_buf_len > 0) { in copy_streams()165 dev->isoc_ctl.tmp_buf_len, in copy_streams()167 4 - dev->isoc_ctl.tmp_buf_len); in copy_streams()168 ptr += 4 - dev->isoc_ctl.tmp_buf_len; in copy_streams()170 dev->isoc_ctl.tmp_buf_len = 0; in copy_streams()174 dev->isoc_ctl.tmp_buf_len = endp - ptr; in copy_streams()175 memcpy(&dev->isoc_ctl.tmp_buf, ptr, in copy_streams()[all …]
267 struct usb_isoc_ctl isoc_ctl; member
147 dev->isoc_ctl.isoc_copy(dev, urb); in au0828_irq_callback()175 dev->isoc_ctl.nfields = -1; in au0828_uninit_isoc()176 for (i = 0; i < dev->isoc_ctl.num_bufs; i++) { in au0828_uninit_isoc()177 urb = dev->isoc_ctl.urb[i]; in au0828_uninit_isoc()184 if (dev->isoc_ctl.transfer_buffer[i]) { in au0828_uninit_isoc()187 dev->isoc_ctl.transfer_buffer[i], in au0828_uninit_isoc()191 dev->isoc_ctl.urb[i] = NULL; in au0828_uninit_isoc()193 dev->isoc_ctl.transfer_buffer[i] = NULL; in au0828_uninit_isoc()196 kfree(dev->isoc_ctl.urb); in au0828_uninit_isoc()197 kfree(dev->isoc_ctl.transfer_buffer); in au0828_uninit_isoc()[all …]
259 struct au0828_usb_isoc_ctl isoc_ctl; member
821 dev->video_mode.isoc_ctl.isoc_copy(dev, urb); in cx231xx_isoc_irq_callback()890 dev->video_mode.isoc_ctl.nfields = -1; in cx231xx_uninit_isoc()891 for (i = 0; i < dev->video_mode.isoc_ctl.num_bufs; i++) { in cx231xx_uninit_isoc()892 urb = dev->video_mode.isoc_ctl.urb[i]; in cx231xx_uninit_isoc()899 if (dev->video_mode.isoc_ctl.transfer_buffer[i]) { in cx231xx_uninit_isoc()902 dev->video_mode.isoc_ctl. in cx231xx_uninit_isoc()910 dev->video_mode.isoc_ctl.urb[i] = NULL; in cx231xx_uninit_isoc()912 dev->video_mode.isoc_ctl.transfer_buffer[i] = NULL; in cx231xx_uninit_isoc()919 kfree(dev->video_mode.isoc_ctl.urb); in cx231xx_uninit_isoc()920 kfree(dev->video_mode.isoc_ctl.transfer_buffer); in cx231xx_uninit_isoc()[all …]
188 dev->video_mode.isoc_ctl.buf = NULL; in buffer_filled()249 dev->video_mode.isoc_ctl.buf = NULL; in get_next_buf()264 dev->video_mode.isoc_ctl.buf = *buf; in get_next_buf()567 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_copy_video_line()633 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_reset_video_buffer()662 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_do_copy()763 if (dev->video_mode.isoc_ctl.buf == buf) in free_buffer()764 dev->video_mode.isoc_ctl.buf = NULL; in free_buffer()802 if (!dev->video_mode.isoc_ctl.num_bufs) in buffer_prepare()
1265 if (dev->video_mode.isoc_ctl.buf == buf) in free_buffer()1266 dev->video_mode.isoc_ctl.buf = NULL; in free_buffer()1291 dev->video_mode.isoc_ctl.buf = buf; in buffer_copy()1295 buf = dev->video_mode.isoc_ctl.buf; in buffer_copy()1432 if (!dev->video_mode.isoc_ctl.num_bufs) in bb_buf_prepare()
524 struct cx231xx_isoc_ctl isoc_ctl; member