Antti Palosaari | f926374 | 2012-03-30 06:37:26 -0300 | [diff] [blame] | 1 | /* |
Antti Palosaari | 465433f | 2015-04-15 20:26:06 -0300 | [diff] [blame] | 2 | * Infineon TUA9001 silicon tuner driver |
Antti Palosaari | f926374 | 2012-03-30 06:37:26 -0300 | [diff] [blame] | 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. |
Antti Palosaari | f926374 | 2012-03-30 06:37:26 -0300 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #ifndef TUA9001_PRIV_H |
| 18 | #define TUA9001_PRIV_H |
| 19 | |
Antti Palosaari | 465433f | 2015-04-15 20:26:06 -0300 | [diff] [blame] | 20 | #include "tua9001.h" |
Antti Palosaari | 47f95db | 2015-04-16 07:36:51 -0300 | [diff] [blame] | 21 | #include <linux/math64.h> |
Antti Palosaari | dd219a8 | 2015-04-15 20:38:43 -0300 | [diff] [blame] | 22 | #include <linux/regmap.h> |
Antti Palosaari | 465433f | 2015-04-15 20:26:06 -0300 | [diff] [blame] | 23 | |
| 24 | struct tua9001_reg_val { |
Antti Palosaari | f926374 | 2012-03-30 06:37:26 -0300 | [diff] [blame] | 25 | u8 reg; |
| 26 | u16 val; |
| 27 | }; |
| 28 | |
Antti Palosaari | 465433f | 2015-04-15 20:26:06 -0300 | [diff] [blame] | 29 | struct tua9001_dev { |
Antti Palosaari | fc851c6 | 2015-04-15 19:12:34 -0300 | [diff] [blame] | 30 | struct dvb_frontend *fe; |
Antti Palosaari | 465433f | 2015-04-15 20:26:06 -0300 | [diff] [blame] | 31 | struct i2c_client *client; |
Antti Palosaari | dd219a8 | 2015-04-15 20:38:43 -0300 | [diff] [blame] | 32 | struct regmap *regmap; |
Antti Palosaari | f926374 | 2012-03-30 06:37:26 -0300 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | #endif |