1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Driver for Microtune MT2131 "QAM/8VSB single chip tuner"
4 *
5 * Copyright (c) 2006 Steven Toth <stoth@linuxtv.org>
6 */
7
8#ifndef __MT2131_PRIV_H__
9#define __MT2131_PRIV_H__
10
11/* Regs */
12#define MT2131_PWR 0x07
13#define MT2131_UPC_1 0x0b
14#define MT2131_AGC_RL 0x10
15#define MT2131_MISC_2 0x15
16
17/* frequency values in KHz */
18#define MT2131_IF1 1220
19#define MT2131_IF2 44000
20#define MT2131_FREF 16000
21
22struct mt2131_priv {
23 struct mt2131_config *cfg;
24 struct i2c_adapter *i2c;
25
26 u32 frequency;
27};
28
29#endif /* __MT2131_PRIV_H__ */
30

source code of linux/drivers/media/tuners/mt2131_priv.h