Lines Matching refs:sbuf
951 usb_free_urb(uvd->sbuf[i].urb); in usbvideo_Disconnect()
1057 uvd->sbuf[i].urb = usb_alloc_urb(FRAMES_PER_DESC); in usbvideo_AllocateDevice()
1058 if (uvd->sbuf[i].urb == NULL) { in usbvideo_AllocateDevice()
1231 uvd->sbuf[i].data = NULL; in usbvideo_v4l_open()
1254 uvd->sbuf[i].data = kmalloc(sb_size, GFP_KERNEL); in usbvideo_v4l_open()
1255 if (uvd->sbuf[i].data == NULL) { in usbvideo_v4l_open()
1269 if (uvd->sbuf[i].data != NULL) { in usbvideo_v4l_open()
1270 kfree (uvd->sbuf[i].data); in usbvideo_v4l_open()
1271 uvd->sbuf[i].data = NULL; in usbvideo_v4l_open()
1337 kfree(uvd->sbuf[i].data); in usbvideo_v4l_close()
1338 uvd->sbuf[i].data = NULL; in usbvideo_v4l_close()
1881 struct urb *urb = uvd->sbuf[i].urb; in usbvideo_StartDataPump()
1886 urb->transfer_buffer = uvd->sbuf[i].data; in usbvideo_StartDataPump()
1899 uvd->sbuf[i].urb->next = uvd->sbuf[i+1].urb; in usbvideo_StartDataPump()
1901 uvd->sbuf[i].urb->next = uvd->sbuf[0].urb; in usbvideo_StartDataPump()
1906 errFlag = usb_submit_urb(uvd->sbuf[i].urb); in usbvideo_StartDataPump()
1939 j = usb_unlink_urb(uvd->sbuf[i].urb); in usbvideo_StopDataPump()