cxd2841er_priv.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 CXD2854ER_CHIP_ID 0xc1
  27. #define CXD2841ER_DVBS_POLLING_INVL 10
  28. struct cxd2841er_cnr_data {
  29. u32 value;
  30. int cnr_x1000;
  31. };
  32. enum cxd2841er_dvbt2_profile_t {
  33. DVBT2_PROFILE_ANY = 0,
  34. DVBT2_PROFILE_BASE = 1,
  35. DVBT2_PROFILE_LITE = 2
  36. };
  37. #endif