cxd2841er_priv.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * cxd2841er_priv.h
  3. *
  4. * Sony CXD2441ER digital demodulator driver internal definitions
  5. *
  6. * Copyright 2012 Sony Corporation
  7. * Copyright (C) 2014 NetUP Inc.
  8. * Copyright (C) 2014 Sergey Kozlov <serjk@netup.ru>
  9. * Copyright (C) 2014 Abylay Ospan <aospan@netup.ru>
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 2 of the License, or
  14. * (at your option) any later version.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. */
  21. #ifndef CXD2841ER_PRIV_H
  22. #define CXD2841ER_PRIV_H
  23. #define I2C_SLVX 0
  24. #define I2C_SLVT 1
  25. #define CXD2841ER_CHIP_ID 0xa7
  26. #define CXD2841ER_DVBS_POLLING_INVL 10
  27. struct cxd2841er_cnr_data {
  28. u32 value;
  29. int cnr_x1000;
  30. };
  31. enum cxd2841er_dvbt2_profile_t {
  32. DVBT2_PROFILE_ANY = 0,
  33. DVBT2_PROFILE_BASE = 1,
  34. DVBT2_PROFILE_LITE = 2
  35. };
  36. #endif