⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tm6000-usb-isoc.h

📁 trident tm5600的linux驱动
💻 H
字号:
/*   tm6000-buf.c - driver for TM5600/TM6000 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 "compat.h"#include <linux/videodev2.h>#define TM6000_URB_MSG_LEN 180struct usb_isoc_ctl {		/* max packet size of isoc transaction */	int				max_pkt_size;		/* number of allocated urbs */	int				num_bufs;		/* urb for isoc transfers */	struct urb			**urb;		/* transfer buffers for isoc transfer */	char				**transfer_buffer;		/* Last buffer command and region */	u8				cmd;	int				pos, size, pktsize;		/* Last field: ODD or EVEN? */	int				field;		/* Stores incomplete commands */	u32				tmp_buf;	int				tmp_buf_len;		/* Stores already requested buffers */	struct tm6000_buffer    	*buf;		/* Stores the number of received fields */	int				nfields;};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -