perf tools: Don't clone maps from parent when synthesizing forks
[linux/fpc-iii.git] / drivers / media / usb / tm6000 / tm6000-usb-isoc.h
blobb275dbce3a1ba5cad58e3efcae308074b5f2822b
1 /*
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>
6 */
8 #include <linux/videodev2.h>
10 #define TM6000_URB_MSG_LEN 180
12 struct usb_isoc_ctl {
13 /* max packet size of isoc transaction */
14 int max_pkt_size;
16 /* number of allocated urbs */
17 int num_bufs;
19 /* urb for isoc transfers */
20 struct urb **urb;
22 /* transfer buffers for isoc transfer */
23 char **transfer_buffer;
25 /* Last buffer command and region */
26 u8 cmd;
27 int pos, size, pktsize;
29 /* Last field: ODD or EVEN? */
30 int vfield, field;
32 /* Stores incomplete commands */
33 u32 tmp_buf;
34 int tmp_buf_len;
36 /* Stores already requested buffers */
37 struct tm6000_buffer *buf;