diff options
author | Antti Palosaari <crope@iki.fi> | 2014-04-10 21:58:10 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-04-23 09:47:33 -0300 |
commit | 930a873081986393f6e7e0fb9275753c1485277b (patch) | |
tree | fd40f7facb9fe2448f8dfe4220cdafe6d62aae8c /drivers/media/tuners/si2157_priv.h | |
parent | 701b57ee3387b8e3749845b02310b5625fbd8da0 (diff) | |
download | op-kernel-dev-930a873081986393f6e7e0fb9275753c1485277b.zip op-kernel-dev-930a873081986393f6e7e0fb9275753c1485277b.tar.gz |
[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 0000000..6018851 --- /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 |