diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-14 09:34:26 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-14 17:02:55 +0300 |
commit | 9cf8572d6b6ffc42755f897c1623eb026cdf8c79 (patch) | |
tree | d2962a8da014299b0328edeaa421c0ad288c0d90 /drivers/media/test-drivers/vidtv/vidtv_mux.h | |
parent | f58cac01ab4e0221b3886261ec2a8386cd3d8896 (diff) | |
download | linux-9cf8572d6b6ffc42755f897c1623eb026cdf8c79.tar.xz |
media: vidtv: increment byte and block counters
Add support for incrementing DVBv5 stats for block counters
and post/pre BER byte counts.
For now, the errors won't be incremented yet.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/test-drivers/vidtv/vidtv_mux.h')
-rw-r--r-- | drivers/media/test-drivers/vidtv/vidtv_mux.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/test-drivers/vidtv/vidtv_mux.h b/drivers/media/test-drivers/vidtv/vidtv_mux.h index 67de85fd50aa..2caa60623e97 100644 --- a/drivers/media/test-drivers/vidtv/vidtv_mux.h +++ b/drivers/media/test-drivers/vidtv/vidtv_mux.h @@ -18,6 +18,8 @@ #include <linux/types.h> #include <linux/hashtable.h> #include <linux/workqueue.h> +#include <media/dvb_frontend.h> + #include "vidtv_psi.h" /** @@ -100,6 +102,7 @@ struct vidtv_mux_pid_ctx { * @priv: Private data. */ struct vidtv_mux { + struct dvb_frontend *fe; struct device *dev; struct vidtv_mux_timing timing; @@ -153,7 +156,8 @@ struct vidtv_mux_init_args { void *priv; }; -struct vidtv_mux *vidtv_mux_init(struct device *dev, +struct vidtv_mux *vidtv_mux_init(struct dvb_frontend *fe, + struct device *dev, struct vidtv_mux_init_args args); void vidtv_mux_destroy(struct vidtv_mux *m); |