Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux/fpc-iii.git] / drivers / media / tuners / m88ts2022.h
blob659fa1b1633a3f0106e6aa7e325ddc07a6ee65b9
1 /*
2 * Montage M88TS2022 silicon tuner driver
4 * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #ifndef M88TS2022_H
18 #define M88TS2022_H
20 #include "dvb_frontend.h"
22 struct m88ts2022_config {
24 * clock
25 * 16000000 - 32000000
27 u32 clock;
30 * RF loop-through
32 u8 loop_through:1;
35 * clock output
37 #define M88TS2022_CLOCK_OUT_DISABLED 0
38 #define M88TS2022_CLOCK_OUT_ENABLED 1
39 #define M88TS2022_CLOCK_OUT_ENABLED_XTALOUT 2
40 u8 clock_out:2;
43 * clock output divider
44 * 1 - 31
46 u8 clock_out_div:5;
49 * pointer to DVB frontend
51 struct dvb_frontend *fe;
54 #endif