cxd2841er_priv.h 794 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * cxd2841er_priv.h
  4. *
  5. * Sony CXD2441ER digital demodulator driver internal definitions
  6. *
  7. * Copyright 2012 Sony Corporation
  8. * Copyright (C) 2014 NetUP Inc.
  9. * Copyright (C) 2014 Sergey Kozlov <serjk@netup.ru>
  10. * Copyright (C) 2014 Abylay Ospan <aospan@netup.ru>
  11. */
  12. #ifndef CXD2841ER_PRIV_H
  13. #define CXD2841ER_PRIV_H
  14. #define I2C_SLVX 0
  15. #define I2C_SLVT 1
  16. #define CXD2837ER_CHIP_ID 0xb1
  17. #define CXD2838ER_CHIP_ID 0xb0
  18. #define CXD2841ER_CHIP_ID 0xa7
  19. #define CXD2843ER_CHIP_ID 0xa4
  20. #define CXD2854ER_CHIP_ID 0xc1
  21. #define CXD2841ER_DVBS_POLLING_INVL 10
  22. struct cxd2841er_cnr_data {
  23. u32 value;
  24. int cnr_x1000;
  25. };
  26. enum cxd2841er_dvbt2_profile_t {
  27. DVBT2_PROFILE_ANY = 0,
  28. DVBT2_PROFILE_BASE = 1,
  29. DVBT2_PROFILE_LITE = 2
  30. };
  31. #endif