1
linux/drivers/media/dvb/frontends
Trent Piepho 0fd17d6da8 V4L/DVB (5455): Dvb-pll: Adjust rounding to be consistent
Some PLLs had one half the step size added to the offset, so that the
divisor would be rounded to the nearest integer.  Some didn't and so
would always be rounded down.

This makes dvb-pll round to the nearest when calculating the divisor,
without the offset needing to be fudged.  PLLs that had a fudged offset
have the offset changed to be just the IF frequency.
The satellite PLL dvb_pll_philips_sd1878_tda8261 was rounding up for some
reason, and I've kept it that way.

In addition, frequencies that were rounded to the nearest kHz are
extended to full Hz resolution.  One sixth MHz step sizes that were
listed as 166,666 Hz are changed to 166,667 Hz, which is slightly closer.

PLLs that were already rounding:
dvb_pll_tda665x, offset was 36 1/6 (to nearest kHz) + step/2
dvb_pll_fmd1216me, offset was 36 1/8 (to two digits) + step/2
dvb_pll_thomson_fe6600, offset was 36 1/8 (to two digits) + step/2
dvb_pll_env57h1xd5, offset was 36 1/8 + step

Note that the last PLL, dvb_pll_env57h1xd5, appears to have had a bug in
the offset.  Rather than adding stepsize/2, it was adding a full
stepsize.  The PLL definition originally came from the dibusb driver,
which used 36 1/8 + step/2.  The change to 36 1/8 + step was probably a
mistake added when the tuner was converted to dvb-pll.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-27 15:44:56 -03:00
..
bcm3510_priv.h
bcm3510.c
bcm3510.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
bsbe1.h
bsru6.h
cx22700.c
cx22700.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
cx22702.c
cx22702.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
cx24110.c V4L/DVB (5202): DVB: Use ARRAY_SIZE macro when appropriate 2007-02-21 13:35:18 -02:00
cx24110.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
cx24123.c V4L/DVB (5202): DVB: Use ARRAY_SIZE macro when appropriate 2007-02-21 13:35:18 -02:00
cx24123.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
dib3000.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
dib3000mb_priv.h
dib3000mb.c Fix typos concerning hierarchy 2007-02-17 19:23:03 +01:00
dib3000mc.c V4L/DVB (4998): [PATCH] DIB3000MC and NOVA T USB2 #2 2007-02-21 13:34:14 -02:00
dib3000mc.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
dib7000m.c V4L/DVB (4773): Misc fixes for DiB3000 and DiB7000 2006-12-10 08:51:04 -02:00
dib7000m.h V4L/DVB (4766): Add working dib7000m-module 2006-12-10 08:51:00 -02:00
dib7000p.c V4L/DVB (4772): Add support for DiBcom DiB7000PC 2006-12-10 08:51:03 -02:00
dib7000p.h V4L/DVB (4772): Add support for DiBcom DiB7000PC 2006-12-10 08:51:03 -02:00
dibx000_common.c V4L/DVB (4794): Dvb: dibx000_common-fix 2006-12-10 08:51:11 -02:00
dibx000_common.h V4L/DVB (4766): Add working dib7000m-module 2006-12-10 08:51:00 -02:00
dvb_dummy_fe.c
dvb_dummy_fe.h
dvb-pll.c V4L/DVB (5455): Dvb-pll: Adjust rounding to be consistent 2007-04-27 15:44:56 -03:00
dvb-pll.h V4L/DVB (5362): Dvb-pll: add code for doing tuner initialization 2007-04-27 15:44:04 -03:00
isl6421.c V4L/DVB (5472): Isl6421: don't reference freed memory 2007-03-27 08:45:56 -03:00
isl6421.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
Kconfig V4L/DVB (5363): Dvb: Remove lgh06xf driver 2007-04-27 15:44:05 -03:00
l64781.c [PATCH] make 1-bit bitfields unsigned 2006-12-07 08:39:38 -08:00
l64781.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
lgdt330x_priv.h V4L/DVB (4789): Lgdt330x: SNR and signal strength reporting 2006-12-10 08:51:09 -02:00
lgdt330x.c V4L/DVB (4891): Lgdt330x: fix broken whitespace 2006-12-10 09:05:24 -02:00
lgdt330x.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
lnbp21.c
lnbp21.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
Makefile V4L/DVB (5363): Dvb: Remove lgh06xf driver 2007-04-27 15:44:05 -03:00
mt312_priv.h
mt312.c
mt312.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
mt352_priv.h
mt352.c
mt352.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
mt2060_priv.h
mt2060.c
mt2060.h
nxt200x.c [PATCH] cx88-dvb: fix nxt200x rf input switching 2007-03-24 16:49:22 -07:00
nxt200x.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
nxt6000_priv.h
nxt6000.c
nxt6000.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
or51132.c V4L/DVB (5374): Or51132: refactor i2c code, improve error resilience 2007-04-27 15:44:09 -03:00
or51132.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
or51211.c V4L/DVB (4940): Or51211: Changed SNR and signal strength calculations 2006-12-10 09:22:53 -02:00
or51211.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
qt1010_priv.h V4L/DVB (5137): Dvb: add new qt1010 tuner module 2007-02-21 13:34:53 -02:00
qt1010.c V4L/DVB (5253): Qt1010: whitespace / 80 column cleanups 2007-02-21 13:35:33 -02:00
qt1010.h V4L/DVB (5137): Dvb: add new qt1010 tuner module 2007-02-21 13:34:53 -02:00
s5h1420.c
s5h1420.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
sp887x.c
sp887x.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
sp8870.c
sp8870.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
stv0297.c V4L/DVB (5247): Stv0297: Enable BER/UNC counting 2007-02-21 13:35:32 -02:00
stv0297.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
stv0299.c V4L/DVB (5195): Frontends: make 4 functions static 2007-02-21 13:35:16 -02:00
stv0299.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
tda826x.c V4L/DVB (4864): TDA826x I2C read with 2 messages 2006-12-10 09:05:02 -02:00
tda826x.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
tda827x.c V4L/DVB (5369): Fixed 1 byte too short buffer in tda827x.c 2007-04-27 15:44:07 -03:00
tda827x.h V4L/DVB (5317): Create tda827x dvb tuner module 2007-04-27 15:43:35 -03:00
tda1004x.c V4L/DVB (5369): Fixed 1 byte too short buffer in tda827x.c 2007-04-27 15:44:07 -03:00
tda1004x.h V4L/DVB (5317): Create tda827x dvb tuner module 2007-04-27 15:43:35 -03:00
tda8083.c V4L/DVB (4788): Tda8083: support for uncorrectable blocks and bit error rate 2006-12-10 08:51:08 -02:00
tda8083.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
tda10021.c V4L/DVB (5297): Fix identation on tda10021.c 2007-04-27 15:43:24 -03:00
tda10021.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
tda10086.c V4L/DVB (5495): Tda10086: fix DiSEqC message length 2007-04-02 11:03:04 -03:00
tda10086.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
tua6100.c V4L/DVB (4847): Drivers/media/dvb/frontends: kfree() cleanups 2006-12-10 08:51:33 -02:00
tua6100.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
ves1x93.c
ves1x93.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
ves1820.c
ves1820.h V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel 2006-11-03 00:49:40 -03:00
zl10353_priv.h V4L/DVB (5218): Zl10353: register definitions update 2007-02-21 13:35:25 -02:00
zl10353.c V4L/DVB (5218): Zl10353: register definitions update 2007-02-21 13:35:25 -02:00
zl10353.h V4L/DVB (5217): Zl10353: Implement TRL nominal rate calculation 2007-02-21 13:35:24 -02:00