Merge tag 'for-linus' of git://github.com/openrisc/linux
[linux-2.6-microblaze.git] / drivers / media / tuners / qm1d1c0042.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Sharp QM1D1C0042 8PSK tuner driver
4  *
5  * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
6  */
7
8 #ifndef QM1D1C0042_H
9 #define QM1D1C0042_H
10
11 #include <media/dvb_frontend.h>
12
13
14 struct qm1d1c0042_config {
15         struct dvb_frontend *fe;
16
17         u32  xtal_freq;    /* [kHz] */ /* currently ignored */
18         bool lpf;          /* enable LPF */
19         bool fast_srch;    /* enable fast search mode, no LPF */
20         u32  lpf_wait;         /* wait in tuning with LPF enabled. [ms] */
21         u32  fast_srch_wait;   /* with fast-search mode, no LPF. [ms] */
22         u32  normal_srch_wait; /* with no LPF/fast-search mode. [ms] */
23 };
24 /* special values indicating to use the default in qm1d1c0042_config */
25 #define QM1D1C0042_CFG_XTAL_DFLT 0
26 #define QM1D1C0042_CFG_WAIT_DFLT 0
27
28 #endif /* QM1D1C0042_H */