Commit | Line | Data |
---|---|---|
7608f575 AT |
1 | /* |
2 | * Sharp QM1D1C0042 8PSK tuner driver | |
3 | * | |
4 | * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com> | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or | |
7 | * modify it under the terms of the GNU General Public License as | |
8 | * published by the Free Software Foundation version 2. | |
9 | * | |
10 | * | |
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. | |
15 | */ | |
16 | ||
17 | #ifndef QM1D1C0042_H | |
18 | #define QM1D1C0042_H | |
19 | ||
20 | #include "dvb_frontend.h" | |
21 | ||
22 | ||
23 | struct qm1d1c0042_config { | |
24 | struct dvb_frontend *fe; | |
25 | ||
26 | u32 xtal_freq; /* [kHz] */ /* currently ignored */ | |
27 | bool lpf; /* enable LPF */ | |
28 | bool fast_srch; /* enable fast search mode, no LPF */ | |
29 | u32 lpf_wait; /* wait in tuning with LPF enabled. [ms] */ | |
30 | u32 fast_srch_wait; /* with fast-search mode, no LPF. [ms] */ | |
31 | u32 normal_srch_wait; /* with no LPF/fast-search mode. [ms] */ | |
32 | }; | |
33 | /* special values indicating to use the default in qm1d1c0042_config */ | |
34 | #define QM1D1C0042_CFG_XTAL_DFLT 0 | |
35 | #define QM1D1C0042_CFG_WAIT_DFLT 0 | |
36 | ||
37 | #endif /* QM1D1C0042_H */ |