linux/drivers/media/tuners/tua9001_priv.h
<<
>>
Prefs
   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
  17#ifndef TUA9001_PRIV_H
  18#define TUA9001_PRIV_H
  19
  20#include "tua9001.h"
  21#include <linux/math64.h>
  22#include <linux/regmap.h>
  23
  24struct tua9001_reg_val {
  25        u8 reg;
  26        u16 val;
  27};
  28
  29struct tua9001_dev {
  30        struct dvb_frontend *fe;
  31        struct i2c_client *client;
  32        struct regmap *regmap;
  33};
  34
  35#endif
  36