diff options
author | Antti Palosaari <crope@iki.fi> | 2017-06-26 11:57:09 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-21 21:11:54 +0300 |
commit | 83d6b7c3276fc056e65957b23c0ef7a3e9a50c18 (patch) | |
tree | 6cfa6866d9b6cd5d62a38e6c59a2904c0e14e271 /drivers/media/dvb-frontends/af9013.h | |
parent | 12c6b22fbf2379e0b194289227848f4f0439e5c3 (diff) | |
download | linux-83d6b7c3276fc056e65957b23c0ef7a3e9a50c18.tar.xz |
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); }; /* |