mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 01:32:47 +07:00
3259081991
From now on, I'll start using my @kernel.org as my development e-mail. As such, let's remove the entries that point to the old mchehab@s-opensource.com at MAINTAINERS file. For the files written with a copyright with mchehab@s-opensource, let's keep Samsung on their names, using mchehab+samsung@kernel.org, in order to keep pointing to my employer, with sponsors the work. For the files written before I join Samsung (on July, 4 2013), let's just use mchehab@kernel.org. For bug reports, we can simply point to just kernel.org, as this will reach my mchehab+samsung inbox anyway. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Brian Warner <brian.warner@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
39 lines
805 B
C
39 lines
805 B
C
/*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
* tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices
|
|
*
|
|
* Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@kernel.org>
|
|
*/
|
|
|
|
#include <linux/videodev2.h>
|
|
|
|
#define TM6000_URB_MSG_LEN 180
|
|
|
|
struct 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 vfield, field;
|
|
|
|
/* Stores incomplete commands */
|
|
u32 tmp_buf;
|
|
int tmp_buf_len;
|
|
|
|
/* Stores already requested buffers */
|
|
struct tm6000_buffer *buf;
|
|
};
|