2 * SPDX-License-Identifier: GPL-2.0
3 * tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices
5 * Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@kernel.org>
8 #include <linux/videodev2.h>
10 #define TM6000_URB_MSG_LEN 180
13 /* max packet size of isoc transaction */
16 /* number of allocated urbs */
19 /* urb for isoc transfers */
22 /* transfer buffers for isoc transfer */
23 char **transfer_buffer
;
25 /* Last buffer command and region */
27 int pos
, size
, pktsize
;
29 /* Last field: ODD or EVEN? */
32 /* Stores incomplete commands */
36 /* Stores already requested buffers */
37 struct tm6000_buffer
*buf
;