Lines Matching refs:bulk_ctl
209 dev->vbi_mode.bulk_ctl.buf = NULL; in return_all_buffers()
281 dev->vbi_mode.bulk_ctl.bulk_copy(dev, urb); in cx231xx_irq_vbi_callback()
304 dev->vbi_mode.bulk_ctl.nfields = -1; in cx231xx_uninit_vbi_isoc()
305 for (i = 0; i < dev->vbi_mode.bulk_ctl.num_bufs; i++) { in cx231xx_uninit_vbi_isoc()
306 urb = dev->vbi_mode.bulk_ctl.urb[i]; in cx231xx_uninit_vbi_isoc()
313 if (dev->vbi_mode.bulk_ctl.transfer_buffer[i]) { in cx231xx_uninit_vbi_isoc()
315 kfree(dev->vbi_mode.bulk_ctl. in cx231xx_uninit_vbi_isoc()
317 dev->vbi_mode.bulk_ctl.transfer_buffer[i] = in cx231xx_uninit_vbi_isoc()
321 dev->vbi_mode.bulk_ctl.urb[i] = NULL; in cx231xx_uninit_vbi_isoc()
323 dev->vbi_mode.bulk_ctl.transfer_buffer[i] = NULL; in cx231xx_uninit_vbi_isoc()
326 kfree(dev->vbi_mode.bulk_ctl.urb); in cx231xx_uninit_vbi_isoc()
327 kfree(dev->vbi_mode.bulk_ctl.transfer_buffer); in cx231xx_uninit_vbi_isoc()
329 dev->vbi_mode.bulk_ctl.urb = NULL; in cx231xx_uninit_vbi_isoc()
330 dev->vbi_mode.bulk_ctl.transfer_buffer = NULL; in cx231xx_uninit_vbi_isoc()
331 dev->vbi_mode.bulk_ctl.num_bufs = 0; in cx231xx_uninit_vbi_isoc()
361 dev->vbi_mode.bulk_ctl.bulk_copy = bulk_copy; in cx231xx_init_vbi_isoc()
362 dev->vbi_mode.bulk_ctl.num_bufs = num_bufs; in cx231xx_init_vbi_isoc()
374 dev->vbi_mode.bulk_ctl.urb = kcalloc(num_bufs, sizeof(void *), in cx231xx_init_vbi_isoc()
376 if (!dev->vbi_mode.bulk_ctl.urb) { in cx231xx_init_vbi_isoc()
382 dev->vbi_mode.bulk_ctl.transfer_buffer = in cx231xx_init_vbi_isoc()
384 if (!dev->vbi_mode.bulk_ctl.transfer_buffer) { in cx231xx_init_vbi_isoc()
387 kfree(dev->vbi_mode.bulk_ctl.urb); in cx231xx_init_vbi_isoc()
391 dev->vbi_mode.bulk_ctl.max_pkt_size = max_pkt_size; in cx231xx_init_vbi_isoc()
392 dev->vbi_mode.bulk_ctl.buf = NULL; in cx231xx_init_vbi_isoc()
394 sb_size = max_packets * dev->vbi_mode.bulk_ctl.max_pkt_size; in cx231xx_init_vbi_isoc()
397 for (i = 0; i < dev->vbi_mode.bulk_ctl.num_bufs; i++) { in cx231xx_init_vbi_isoc()
404 dev->vbi_mode.bulk_ctl.urb[i] = urb; in cx231xx_init_vbi_isoc()
407 dev->vbi_mode.bulk_ctl.transfer_buffer[i] = in cx231xx_init_vbi_isoc()
409 if (!dev->vbi_mode.bulk_ctl.transfer_buffer[i]) { in cx231xx_init_vbi_isoc()
419 dev->vbi_mode.bulk_ctl.transfer_buffer[i], in cx231xx_init_vbi_isoc()
426 for (i = 0; i < dev->vbi_mode.bulk_ctl.num_bufs; i++) { in cx231xx_init_vbi_isoc()
427 rc = usb_submit_urb(dev->vbi_mode.bulk_ctl.urb[i], GFP_ATOMIC); in cx231xx_init_vbi_isoc()
486 dev->vbi_mode.bulk_ctl.buf = NULL; in vbi_buffer_filled()
508 buf = dev->vbi_mode.bulk_ctl.buf; in cx231xx_copy_vbi_line()
573 dev->vbi_mode.bulk_ctl.buf = NULL; in get_next_vbi_buf()
585 dev->vbi_mode.bulk_ctl.buf = *buf; in get_next_vbi_buf()
595 buf = dev->vbi_mode.bulk_ctl.buf; in cx231xx_reset_vbi_buffer()
619 buf = dev->vbi_mode.bulk_ctl.buf; in cx231xx_do_vbi_copy()