cxd2880_tnrdmd_dvbt.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * cxd2880_tnrdmd_dvbt.h
  4. * Sony CXD2880 DVB-T2/T tuner + demodulator driver
  5. * control interface for DVB-T
  6. *
  7. * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
  8. */
  9. #ifndef CXD2880_TNRDMD_DVBT_H
  10. #define CXD2880_TNRDMD_DVBT_H
  11. #include "cxd2880_common.h"
  12. #include "cxd2880_tnrdmd.h"
  13. struct cxd2880_dvbt_tune_param {
  14. u32 center_freq_khz;
  15. enum cxd2880_dtv_bandwidth bandwidth;
  16. enum cxd2880_dvbt_profile profile;
  17. };
  18. int cxd2880_tnrdmd_dvbt_tune1(struct cxd2880_tnrdmd *tnr_dmd,
  19. struct cxd2880_dvbt_tune_param
  20. *tune_param);
  21. int cxd2880_tnrdmd_dvbt_tune2(struct cxd2880_tnrdmd *tnr_dmd,
  22. struct cxd2880_dvbt_tune_param
  23. *tune_param);
  24. int cxd2880_tnrdmd_dvbt_sleep_setting(struct cxd2880_tnrdmd
  25. *tnr_dmd);
  26. int cxd2880_tnrdmd_dvbt_check_demod_lock(struct cxd2880_tnrdmd
  27. *tnr_dmd,
  28. enum
  29. cxd2880_tnrdmd_lock_result
  30. *lock);
  31. int cxd2880_tnrdmd_dvbt_check_ts_lock(struct cxd2880_tnrdmd
  32. *tnr_dmd,
  33. enum
  34. cxd2880_tnrdmd_lock_result
  35. *lock);
  36. #endif