-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 8130 b: refs/heads/master c: e2efeab h: refs/heads/master v: v3
- Loading branch information
Patrick Boettcher
authored and
Linus Torvalds
committed
Sep 9, 2005
1 parent
5a13cb3
commit f6c814b
Showing
3 changed files
with
38 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 3beab78f8ad5a483fdbdcbb8599fb06da102b8b7 | ||
refs/heads/master: e2efeab26b77061ba5418f4c98c3b3ed100fb608 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
#ifndef _DVB_USB_CXUSB_H_ | ||
#define _DVB_USB_CXUSB_H_ | ||
|
||
#define DVB_USB_LOG_PREFIX "digitv" | ||
#define DVB_USB_LOG_PREFIX "cxusb" | ||
#include "dvb-usb.h" | ||
|
||
extern int dvb_usb_cxusb_debug; | ||
#define deb_info(args...) dprintk(dvb_usb_cxusb_debug,0x01,args) | ||
|
||
/* usb commands - some of it are guesses, don't have a reference yet */ | ||
#define CMD_I2C_WRITE 0x08 | ||
#define CMD_I2C_READ 0x09 | ||
#define CMD_I2C_WRITE 0x08 | ||
#define CMD_I2C_READ 0x09 | ||
|
||
#define CMD_IOCTL 0x0e | ||
#define IOCTL_SET_I2C_PATH 0x02 | ||
#define CMD_GPIO_READ 0x0d | ||
#define CMD_GPIO_WRITE 0x0e | ||
#define GPIO_TUNER 0x02 | ||
|
||
#define CMD_POWER_OFF 0x50 | ||
#define CMD_POWER_ON 0x51 | ||
#define CMD_POWER_OFF 0xdc | ||
#define CMD_POWER_ON 0xde | ||
|
||
enum cxusb_i2c_pathes { | ||
PATH_UNDEF = 0x00, | ||
PATH_CX22702 = 0x01, | ||
PATH_TUNER_OTHER = 0x02, | ||
}; | ||
#define CMD_STREAMING_ON 0x36 | ||
#define CMD_STREAMING_OFF 0x37 | ||
|
||
#define CMD_ANALOG 0x50 | ||
#define CMD_DIGITAL 0x51 | ||
|
||
struct cxusb_state { | ||
enum cxusb_i2c_pathes cur_i2c_path; | ||
u8 gpio_write_state[3]; | ||
}; | ||
|
||
#endif |