Lines Matching refs:bulk_urb
100 dev->dvb->bulk_urb = NULL; in tm6000_urb_received()
118 dvb->bulk_urb = usb_alloc_urb(0, GFP_KERNEL); in tm6000_start_stream()
119 if (!dvb->bulk_urb) in tm6000_start_stream()
128 dvb->bulk_urb->transfer_buffer = kzalloc(size, GFP_KERNEL); in tm6000_start_stream()
129 if (!dvb->bulk_urb->transfer_buffer) { in tm6000_start_stream()
130 usb_free_urb(dvb->bulk_urb); in tm6000_start_stream()
131 dvb->bulk_urb = NULL; in tm6000_start_stream()
135 usb_fill_bulk_urb(dvb->bulk_urb, dev->udev, pipe, in tm6000_start_stream()
136 dvb->bulk_urb->transfer_buffer, in tm6000_start_stream()
149 ret = usb_submit_urb(dvb->bulk_urb, GFP_ATOMIC); in tm6000_start_stream()
156 kfree(dvb->bulk_urb->transfer_buffer); in tm6000_start_stream()
157 usb_free_urb(dvb->bulk_urb); in tm6000_start_stream()
158 dvb->bulk_urb = NULL; in tm6000_start_stream()
169 if (dvb->bulk_urb) { in tm6000_stop_stream()
171 usb_kill_urb(dvb->bulk_urb); in tm6000_stop_stream()
173 kfree(dvb->bulk_urb->transfer_buffer); in tm6000_stop_stream()
174 usb_free_urb(dvb->bulk_urb); in tm6000_stop_stream()
175 dvb->bulk_urb = NULL; in tm6000_stop_stream()
363 if (dvb->bulk_urb) { in unregister_dvb()
364 struct urb *bulk_urb = dvb->bulk_urb; in unregister_dvb() local
366 kfree(bulk_urb->transfer_buffer); in unregister_dvb()
367 bulk_urb->transfer_buffer = NULL; in unregister_dvb()
368 usb_unlink_urb(bulk_urb); in unregister_dvb()
369 usb_free_urb(bulk_urb); in unregister_dvb()