diff options
author | Antti Palosaari <crope@iki.fi> | 2014-04-11 02:58:10 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-04-23 14:47:33 +0200 |
commit | 930a873081986393f6e7e0fb9275753c1485277b (patch) | |
tree | fd40f7facb9fe2448f8dfe4220cdafe6d62aae8c /drivers/media/tuners/si2157_priv.h | |
parent | [media] vb2: Add videobuf2-dvb support (diff) | |
download | linux-930a873081986393f6e7e0fb9275753c1485277b.tar.xz linux-930a873081986393f6e7e0fb9275753c1485277b.zip |
[media] si2157: Silicon Labs Si2157 silicon tuner driver
Silicon Labs Si2157 silicon tuner driver.
Currently it supports only DVB-T.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners/si2157_priv.h')
-rw-r--r-- | drivers/media/tuners/si2157_priv.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/media/tuners/si2157_priv.h b/drivers/media/tuners/si2157_priv.h new file mode 100644 index 000000000000..6018851bdabd --- /dev/null +++ b/drivers/media/tuners/si2157_priv.h @@ -0,0 +1,21 @@ +#ifndef SI2157_PRIV_H +#define SI2157_PRIV_H + +#include "si2157.h" + +/* state struct */ +struct si2157 { + struct mutex i2c_mutex; + struct i2c_client *client; + struct dvb_frontend *fe; + bool active; +}; + +/* firmare command struct */ +#define SI2157_ARGLEN 30 +struct si2157_cmd { + u8 args[SI2157_ARGLEN]; + unsigned len; +}; + +#endif |