Searched refs:img_transfer (Results 1 – 2 of 2) sorted by relevance
63 static struct libusb_transfer *img_transfer = NULL; variable324 img_transfer = NULL; in cb_img()334 if (libusb_submit_transfer(img_transfer) < 0) in cb_img()346 r = libusb_submit_transfer(img_transfer); in init_capture()396 img_transfer = libusb_alloc_transfer(0); in alloc_transfers()397 if (!img_transfer) in alloc_transfers()404 libusb_fill_bulk_transfer(img_transfer, devh, EP_DATA, imgbuf, in alloc_transfers()480 if (img_transfer) { in main()481 r = libusb_cancel_transfer(img_transfer); in main()486 while (irq_transfer || img_transfer) in main()[all …]
68 static struct libusb_transfer *img_transfer = NULL; variable353 img_transfer = NULL; in cb_img()364 if (libusb_submit_transfer(img_transfer) < 0) in cb_img()376 r = libusb_submit_transfer(img_transfer); in init_capture()426 img_transfer = libusb_alloc_transfer(0); in alloc_transfers()427 if (!img_transfer) in alloc_transfers()434 libusb_fill_bulk_transfer(img_transfer, devh, EP_DATA, imgbuf, in alloc_transfers()527 r = libusb_cancel_transfer(img_transfer); in main()533 while (img_transfer || irq_transfer) in main()543 libusb_free_transfer(img_transfer); in main()