[PATCH] dvb: DST: reorganize Twinhan DST driver to support CI
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / media / dvb / bt8xx / dst_priv.h
blob3974a4c6ebe75c704dc8d4ed5bb87788d5788362
1 /*
2 * dst-bt878.h: part of the DST driver for the TwinHan DST Frontend
4 * Copyright (C) 2003 Jamie Honan
5 */
7 struct dst_gpio_enable {
8 u32 mask;
9 u32 enable;
12 struct dst_gpio_output {
13 u32 mask;
14 u32 highvals;
17 struct dst_gpio_read {
18 unsigned long value;
21 union dst_gpio_packet {
22 struct dst_gpio_enable enb;
23 struct dst_gpio_output outp;
24 struct dst_gpio_read rd;
25 int psize;
28 #define DST_IG_ENABLE 0
29 #define DST_IG_WRITE 1
30 #define DST_IG_READ 2
31 #define DST_IG_TS 3
33 struct bt878;
35 int bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *mp);