md-cluster: Fix potential error pointer dereference in resize_bitmaps()
[linux/fpc-iii.git] / drivers / media / dvb-frontends / si2165.h
blob0b19317f3a31dd5a13dc9795617a8f138cce60d0
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Driver for Silicon Labs SI2165 DVB-C/-T Demodulator
5 * Copyright (C) 2013-2017 Matthias Schwarzott <zzam@gentoo.org>
7 * References:
8 * http://www.silabs.com/Support%20Documents/TechnicalDocs/Si2165-short.pdf
9 */
11 #ifndef _DVB_SI2165_H
12 #define _DVB_SI2165_H
14 #include <linux/dvb/frontend.h>
16 enum {
17 SI2165_MODE_OFF = 0x00,
18 SI2165_MODE_PLL_EXT = 0x20,
19 SI2165_MODE_PLL_XTAL = 0x21
22 /* I2C addresses
23 * possible values: 0x64,0x65,0x66,0x67
25 struct si2165_platform_data {
27 * frontend
28 * returned by driver
30 struct dvb_frontend **fe;
32 /* external clock or XTAL */
33 u8 chip_mode;
35 /* frequency of external clock or xtal in Hz
36 * possible values: 4000000, 16000000, 20000000, 240000000, 27000000
38 u32 ref_freq_hz;
40 /* invert the spectrum */
41 bool inversion;
44 #endif /* _DVB_SI2165_H */