Path: blob/master/drivers/media/common/tuners/mt2131_priv.h
15112 views
/*1* Driver for Microtune MT2131 "QAM/8VSB single chip tuner"2*3* Copyright (c) 2006 Steven Toth <[email protected]>4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13*14* GNU General Public License for more details.15*16* You should have received a copy of the GNU General Public License17* along with this program; if not, write to the Free Software18* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.19*/2021#ifndef __MT2131_PRIV_H__22#define __MT2131_PRIV_H__2324/* Regs */25#define MT2131_PWR 0x0726#define MT2131_UPC_1 0x0b27#define MT2131_AGC_RL 0x1028#define MT2131_MISC_2 0x152930/* frequency values in KHz */31#define MT2131_IF1 122032#define MT2131_IF2 4400033#define MT2131_FREF 160003435struct mt2131_priv {36struct mt2131_config *cfg;37struct i2c_adapter *i2c;3839u32 frequency;40u32 bandwidth;41};4243#endif /* __MT2131_PRIV_H__ */4445/*46* Local variables:47* c-basic-offset: 848*/495051