| * tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices |
| * Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation version 2 |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| * You should have received a copy of the GNU General Public License |
| * along with this program; if not, write to the Free Software |
| * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| #include <linux/videodev2.h> |
| #define TM6000_URB_MSG_LEN 180 |
| /* max packet size of isoc transaction */ |
| /* number of allocated urbs */ |
| /* urb for isoc transfers */ |
| /* transfer buffers for isoc transfer */ |
| /* Last buffer command and region */ |
| /* Last field: ODD or EVEN? */ |
| /* Stores incomplete commands */ |
| /* Stores already requested buffers */ |
| struct tm6000_buffer *buf; |