diff options
author | 2017-06-26 04:57:09 -0400 | |
---|---|---|
committer | 2018-03-21 14:11:54 -0400 | |
commit | 83d6b7c3276fc056e65957b23c0ef7a3e9a50c18 (patch) | |
tree | 6cfa6866d9b6cd5d62a38e6c59a2904c0e14e271 /drivers/media/dvb-frontends/af9013.h | |
parent | media: af9013: remove all legacy media attach releated stuff (diff) | |
download | linux-83d6b7c3276fc056e65957b23c0ef7a3e9a50c18.tar.gz linux-83d6b7c3276fc056e65957b23c0ef7a3e9a50c18.tar.bz2 linux-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.h | 5 |
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); }; /* |