/* AF-901x DVB-T demodulator driver Copyright (c) Manu Abraham Copyright (c) AFA Technologies This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef __AF901x_PRIV_H #define __AF901x_PRIV_H /** * For the USB devices, the i2c_adapter is just virtual * but on the PCIe devices, it is in fact a real bus */ struct af901x_state { struct i2c_adapter *i2c_adapter; struct af901x_config *config; enum fe_status stat; u32 ber; u32 unc; u16 abort_count; struct dvb_frontend frontend; enum fe_modulation constellation; u32 fcw; u8 unplug_th; }; #endif //__AF901x_PRIV_H