PM / Domains: Try power off masters in error path of __pm_genpd_poweron()
[linux/fpc-iii.git] / drivers / media / tuners / qm1d1c0042.h
blob4f5c18816c44f4941a0be23a35904616cb097795
1 /*
2 * Sharp QM1D1C0042 8PSK tuner driver
4 * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
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.
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 QM1D1C0042_H
18 #define QM1D1C0042_H
20 #include "dvb_frontend.h"
23 struct qm1d1c0042_config {
24 struct dvb_frontend *fe;
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] */
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
37 #endif /* QM1D1C0042_H */