1 /* SPDX-License-Identifier: GPL-2.0 */
3 * dst-bt878.h: part of the DST driver for the TwinHan DST Frontend
5 * Copyright (C) 2003 Jamie Honan
8 struct dst_gpio_enable
{
13 struct dst_gpio_output
{
18 struct dst_gpio_read
{
22 union dst_gpio_packet
{
23 struct dst_gpio_enable enb
;
24 struct dst_gpio_output outp
;
25 struct dst_gpio_read rd
;
29 #define DST_IG_ENABLE 0
30 #define DST_IG_WRITE 1
36 int bt878_device_control(struct bt878
*bt
, unsigned int cmd
, union dst_gpio_packet
*mp
);