summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/rtl2832.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-15 13:34:13 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-03 16:12:34 -0200
commit0aa32ef9b38f9683b4ddaab9ac9bee8f75d872d2 (patch)
tree4b93cb188896c809229485f0862e71a24b9d46aa /drivers/media/dvb-frontends/rtl2832.h
parenteec21beb35a0d45a555ab6ac0a99257a2e7e726a (diff)
[media] rtl2832: provide register IO callbacks
Provide register read and write callbacks for SDR module. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2832.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.h b/drivers/media/dvb-frontends/rtl2832.h
index e79c479d6127..f86af6f3b370 100644
--- a/drivers/media/dvb-frontends/rtl2832.h
+++ b/drivers/media/dvb-frontends/rtl2832.h
@@ -80,6 +80,10 @@ struct rtl2832_platform_data {
int (*enable_slave_ts)(struct i2c_client *);
int (*pid_filter)(struct dvb_frontend *, u8, u16, int);
int (*pid_filter_ctrl)(struct dvb_frontend *, int);
+ /* Register access for SDR module */
+ int (*bulk_read)(struct i2c_client *, unsigned int, void *, size_t);
+ int (*bulk_write)(struct i2c_client *, unsigned int, const void *, size_t);
+ int (*update_bits)(struct i2c_client *, unsigned int, unsigned int, unsigned int);
};
#endif /* RTL2832_H */