![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices 0004 * 0005 * Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@kernel.org> 0006 */ 0007 0008 #include <linux/videodev2.h> 0009 0010 #define TM6000_URB_MSG_LEN 180 0011 0012 struct usb_isoc_ctl { 0013 /* max packet size of isoc transaction */ 0014 int max_pkt_size; 0015 0016 /* number of allocated urbs */ 0017 int num_bufs; 0018 0019 /* urb for isoc transfers */ 0020 struct urb **urb; 0021 0022 /* transfer buffers for isoc transfer */ 0023 char **transfer_buffer; 0024 0025 /* Last buffer command and region */ 0026 u8 cmd; 0027 int pos, size, pktsize; 0028 0029 /* Last field: ODD or EVEN? */ 0030 int vfield, field; 0031 0032 /* Stores incomplete commands */ 0033 u32 tmp_buf; 0034 int tmp_buf_len; 0035 0036 /* Stores already requested buffers */ 0037 struct tm6000_buffer *buf; 0038 };
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |