qm1d1c0042.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. #ifndef QM1D1C0042_H
  17. #define QM1D1C0042_H
  18. #include "dvb_frontend.h"
  19. struct qm1d1c0042_config {
  20. struct dvb_frontend *fe;
  21. u32 xtal_freq; /* [kHz] */ /* currently ignored */
  22. bool lpf; /* enable LPF */
  23. bool fast_srch; /* enable fast search mode, no LPF */
  24. u32 lpf_wait; /* wait in tuning with LPF enabled. [ms] */
  25. u32 fast_srch_wait; /* with fast-search mode, no LPF. [ms] */
  26. u32 normal_srch_wait; /* with no LPF/fast-search mode. [ms] */
  27. };
  28. /* special values indicating to use the default in qm1d1c0042_config */
  29. #define QM1D1C0042_CFG_XTAL_DFLT 0
  30. #define QM1D1C0042_CFG_WAIT_DFLT 0
  31. #endif /* QM1D1C0042_H */