perf tools: Don't clone maps from parent when synthesizing forks
[linux/fpc-iii.git] / drivers / media / tuners / tda18250.h
blob961806a81f9fe49ea9bbe184dfb7dbff90573f1c
1 /*
2 * NXP TDA18250BHN silicon tuner driver
4 * Copyright (C) 2017 Olli Salonen <olli.salonen@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 TDA18250_H
18 #define TDA18250_H
20 #include <linux/kconfig.h>
21 #include <media/media-device.h>
22 #include <media/dvb_frontend.h>
24 #define TDA18250_XTAL_FREQ_16MHZ 0
25 #define TDA18250_XTAL_FREQ_24MHZ 1
26 #define TDA18250_XTAL_FREQ_25MHZ 2
27 #define TDA18250_XTAL_FREQ_27MHZ 3
28 #define TDA18250_XTAL_FREQ_30MHZ 4
29 #define TDA18250_XTAL_FREQ_MAX 5
31 struct tda18250_config {
32 u16 if_dvbt_6;
33 u16 if_dvbt_7;
34 u16 if_dvbt_8;
35 u16 if_dvbc_6;
36 u16 if_dvbc_8;
37 u16 if_atsc;
38 u8 xtal_freq;
39 bool loopthrough;
42 * frontend
44 struct dvb_frontend *fe;
46 #if defined(CONFIG_MEDIA_CONTROLLER)
47 struct media_device *mdev;
48 #endif
51 #endif