blob: 4f5c18816c44f4941a0be23a35904616cb097795 [file] [log] [blame]
Akihiro Tsukada7608f572014-09-08 14:20:41 -03001/*
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
23struct 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 */