2 * dst-bt878.h: part of the DST driver for the TwinHan DST Frontend
4 * Copyright (C) 2003 Jamie Honan
7 struct dst_gpio_enable
{
12 struct dst_gpio_output
{
17 struct dst_gpio_read
{
21 union dst_gpio_packet
{
22 struct dst_gpio_enable enb
;
23 struct dst_gpio_output outp
;
24 struct dst_gpio_read rd
;
28 #define DST_IG_ENABLE 0
29 #define DST_IG_WRITE 1
35 int bt878_device_control(struct bt878
*bt
, unsigned int cmd
, union dst_gpio_packet
*mp
);