summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/dst.h
blob: fe4638497752c559d175a736cf2db644f166d9b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

#define DST_IG_ADDR	0xff	/* fake address to do gpio */

struct dst_gpio_enable {
	u32	mask;
	u32	enable;
};

struct dst_gpio_output {
	u32	mask;
	u32	highvals;
};

struct dst_gpio_read {
	unsigned long value;
};

struct dst_gpio_packet {
	u8	cmd;
	union {
		struct dst_gpio_enable enb;
		struct dst_gpio_output outp;
		struct dst_gpio_read rd;
	} dstg;
};

#define DST_IG_ENABLE	0
#define DST_IG_WRITE	1
#define DST_IG_READ	2
#define DST_IG_TS       3