1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Bt8xx based DVB adapter driver 4 * 5 * Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.org> 6 * Copyright (C) 2002 Peter Hettkamp <peter.hettkamp@htp-tel.de> 7 * Copyright (C) 1999-2001 Ralph Metzler & Marcus Metzler for convergence integrated media GmbH 8 * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.de> 9 */ 10 11 #ifndef DVB_BT8XX_H 12 #define DVB_BT8XX_H 13 14 #include <linux/i2c.h> 15 #include <linux/mutex.h> 16 #include <media/dvbdev.h> 17 #include <media/dvb_net.h> 18 #include "bttv.h" 19 #include "mt352.h" 20 #include "sp887x.h" 21 #include "dst_common.h" 22 #include "nxt6000.h" 23 #include "cx24110.h" 24 #include "or51211.h" 25 #include "lgdt330x.h" 26 #include "zl10353.h" 27 #include "tuner-simple.h" 28 29 struct dvb_bt8xx_card { 30 struct mutex lock; 31 int nfeeds; 32 char card_name[32]; 33 struct dvb_adapter dvb_adapter; 34 struct bt878 *bt; 35 unsigned int bttv_nr; 36 struct dvb_demux demux; 37 struct dmxdev dmxdev; 38 struct dmx_frontend fe_hw; 39 struct dmx_frontend fe_mem; 40 u32 gpio_mode; 41 u32 op_sync_orin; 42 u32 irq_err_ignore; 43 struct i2c_adapter *i2c_adapter; 44 struct dvb_net dvbnet; 45 46 struct dvb_frontend* fe; 47 }; 48 49 #endif /* DVB_BT8XX_H */ 50