linux/drivers/media/test-drivers/vidtv
Mauro Carvalho Chehab ad458524b3 media: vidtv: cleanup the logic which estimates buffer size
There's no need to use u64 over there. In a matter of fact,
the div is not even needed, as it is multiplying by 1000 and
dividing by 1000.

So, simplify the logic.

While here, constrain the buffer size to a certain range
(between the current value and 10 times it)

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-17 12:03:18 +02:00
..
Kconfig
Makefile media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_bridge.c media: vidtv: cleanup the logic which estimates buffer size 2020-09-17 12:03:18 +02:00
vidtv_bridge.h media: vidtv: increment byte and block counters 2020-09-14 16:02:55 +02:00
vidtv_channel.c media: vidtv: prefer using dev_foo() instead of pr_foo() 2020-09-14 15:47:51 +02:00
vidtv_channel.h media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_common.c media: vidtv: fix 32-bit warnings 2020-09-14 15:48:11 +02:00
vidtv_common.h media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_demod.c media: vidtv: add DiSEqC dummy ops 2020-09-17 12:00:19 +02:00
vidtv_demod.h media: vidtv: get rid of the work queue 2020-09-14 16:02:54 +02:00
vidtv_encoder.h media: vidtv: fix build on 32bit architectures 2020-09-17 12:02:58 +02:00
vidtv_mux.c media: vidtv: fix build on 32bit architectures 2020-09-17 12:02:58 +02:00
vidtv_mux.h media: vidtv: increment byte and block counters 2020-09-14 16:02:55 +02:00
vidtv_pes.c media: vidtv: fix 32-bit warnings 2020-09-14 15:48:11 +02:00
vidtv_pes.h media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_psi.c media: vidtv: get rid of some endiannes nonsense 2020-09-14 15:48:31 +02:00
vidtv_psi.h media: vidtv: get rid of ENDIAN_BITFIELD nonsense 2020-09-14 15:48:48 +02:00
vidtv_s302m.c media: vidtv: fix build on 32bit architectures 2020-09-17 12:02:58 +02:00
vidtv_s302m.h media: vidtv: fix build on 32bit architectures 2020-09-17 12:02:58 +02:00
vidtv_ts.c media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_ts.h media: vidtv: get rid of ENDIAN_BITFIELD nonsense 2020-09-14 15:48:48 +02:00
vidtv_tuner.c media: vidtv: add basic support for DVBv5 stats 2020-09-14 16:02:54 +02:00
vidtv_tuner.h