aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/af9013.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2017-06-26 04:57:09 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-21 14:11:54 -0400
commit83d6b7c3276fc056e65957b23c0ef7a3e9a50c18 (patch)
tree6cfa6866d9b6cd5d62a38e6c59a2904c0e14e271 /drivers/media/dvb-frontends/af9013.h
parentmedia: af9013: remove all legacy media attach releated stuff (diff)
downloadlinux-dev-83d6b7c3276fc056e65957b23c0ef7a3e9a50c18.tar.xz
linux-dev-83d6b7c3276fc056e65957b23c0ef7a3e9a50c18.zip
media: af9013: add pid filter support
af9013 demod has pid filter. Add support for it. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/af9013.h')
-rw-r--r--drivers/media/dvb-frontends/af9013.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9013.h b/drivers/media/dvb-frontends/af9013.h
index 8144d4270b58..165ae29ccac4 100644
--- a/drivers/media/dvb-frontends/af9013.h
+++ b/drivers/media/dvb-frontends/af9013.h
@@ -38,6 +38,9 @@
* @api_version: Firmware API version.
* @gpio: GPIOs.
* @get_dvb_frontend: Get DVB frontend callback.
+ * @get_i2c_adapter: Get I2C adapter.
+ * @pid_filter_ctrl: Control PID filter.
+ * @pid_filter: Set PID to PID filter.
*/
struct af9013_platform_data {
/*
@@ -78,6 +81,8 @@ struct af9013_platform_data {
struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *);
struct i2c_adapter* (*get_i2c_adapter)(struct i2c_client *);
+ int (*pid_filter_ctrl)(struct dvb_frontend *, int);
+ int (*pid_filter)(struct dvb_frontend *, u8, u16, int);
};
/*