aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-21 14:10:30 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-21 14:10:30 -0500
commite695e10bc996d6f83df7d85f1011c8d00573f68b (patch)
tree3d0ba107ea8fe7d0090e3cfd5e36cdb4abcaab99 /drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h
parent3a5f10e3708e00c406f154bae412652ec3eb2b48 (diff)
parentf6982d59480953a8f5a84c237a9dabff39f788ce (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (196 commits) V4L/DVB (5253): Qt1010: whitespace / 80 column cleanups V4L/DVB (5252): Qt1010: use ARRAY_SIZE macro when appropriate V4L/DVB (5251): Qt1010: fix compiler warning V4L/DVB (5249): Fix compiler warning in vivi.c V4L/DVB (5247): Stv0297: Enable BER/UNC counting V4L/DVB (5246): Budget-ci: IR handling fixups V4L/DVB (5245): Dvb-ttpci: use i2c gate ctrl from stv0297 frontend driver V4L/DVB (5244): Dvbdev: fix illegal re-usage of fileoperations struct V4L/DVB (5178): Avoid race when deregistering the IR control for dvb-usb V4L/DVB (5240): Qt1010: use i2c_gate_ctrl where appropriate V4L/DVB (5239): Whitespace / 80-column cleanups V4L/DVB (5238): Kconfig: qt1010 should be selected by gl861 and au6610 V4L/DVB (5237): Dvb: add new qt1010 tuner module V4L/DVB (5236): Initial support for Sigmatek DVB-110 DVB-T V4L/DVB (5235): Gl861: use parallel_ts V4L/DVB (5234): Gl861: remove unneeded declaration V4L/DVB (5233): Gl861: correct address of the bulk endpoint V4L/DVB (5232): Gl861: correct oops when loading module V4L/DVB (5231): Gl861: whitespace cleanups V4L/DVB (5230): Gl861: remove NULL entry from gl861_properties ...
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h b/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h
new file mode 100644
index 000000000000..ffbc6d096108
--- /dev/null
+++ b/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h
@@ -0,0 +1,62 @@
1/*
2 *
3 * $Id$
4 *
5 * Copyright (C) 2007 Michael Krufky <mkrufky@linuxtv.org>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 */
21
22#ifndef _PVRUSB2_FX2_CMD_H_
23#define _PVRUSB2_FX2_CMD_H_
24
25#define FX2CMD_MEM_WRITE_DWORD 0x01
26#define FX2CMD_MEM_READ_DWORD 0x02
27
28#define FX2CMD_MEM_READ_64BYTES 0x28
29
30#define FX2CMD_REG_WRITE 0x04
31#define FX2CMD_REG_READ 0x05
32#define FX2CMD_MEMSEL 0x06
33
34#define FX2CMD_I2C_WRITE 0x08
35#define FX2CMD_I2C_READ 0x09
36
37#define FX2CMD_GET_USB_SPEED 0x0b
38
39#define FX2CMD_STREAMING_ON 0x36
40#define FX2CMD_STREAMING_OFF 0x37
41
42#define FX2CMD_FWPOST1 0x52
43
44#define FX2CMD_POWER_OFF 0xdc
45#define FX2CMD_POWER_ON 0xde
46
47#define FX2CMD_DEEP_RESET 0xdd
48
49#define FX2CMD_GET_EEPROM_ADDR 0xeb
50#define FX2CMD_GET_IR_CODE 0xec
51
52#endif /* _PVRUSB2_FX2_CMD_H_ */
53
54/*
55 Stuff for Emacs to see, in order to encourage consistent editing style:
56 *** Local Variables: ***
57 *** mode: c ***
58 *** fill-column: 75 ***
59 *** tab-width: 8 ***
60 *** c-basic-offset: 8 ***
61 *** End: ***
62 */