]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/media/usb/tm6000/tm6000-usb-isoc.h
2 * tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices
4 * Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation version 2
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 #include <linux/videodev2.h>
18 #define TM6000_URB_MSG_LEN 180
21 /* max packet size of isoc transaction */
24 /* number of allocated urbs */
27 /* urb for isoc transfers */
30 /* transfer buffers for isoc transfer */
31 char **transfer_buffer
;
33 /* Last buffer command and region */
35 int pos
, size
, pktsize
;
37 /* Last field: ODD or EVEN? */
40 /* Stores incomplete commands */
44 /* Stores already requested buffers */
45 struct tm6000_buffer
*buf
;