tua9001_priv.h 912 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Infineon TUA9001 silicon tuner driver
  3. *
  4. * Copyright (C) 2009 Antti Palosaari <crope@iki.fi>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  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 TUA9001_PRIV_H
  17. #define TUA9001_PRIV_H
  18. #include "tua9001.h"
  19. #include <linux/math64.h>
  20. #include <linux/regmap.h>
  21. struct tua9001_reg_val {
  22. u8 reg;
  23. u16 val;
  24. };
  25. struct tua9001_dev {
  26. struct dvb_frontend *fe;
  27. struct i2c_client *client;
  28. struct regmap *regmap;
  29. };
  30. #endif