linux/drivers/media/dvb/frontends
Julia Lawall 75b697f747 V4L/DVB (12483): Use DIV_ROUND_CLOSEST
The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
but is perhaps more readable.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@haskernel@
@@

@depends on haskernel@
expression x,__divisor;
@@

- (((x) + ((__divisor) / 2)) / (__divisor))
+ DIV_ROUND_CLOSEST(x,__divisor)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12 12:19:08 -03:00
..
af9013_priv.h V4L/DVB (8971): initial driver for af9013 demodulator 2008-10-12 09:37:02 -02:00
af9013.c V4L/DVB (12269): af9013: auto-detect parameters in case of garbage given by app 2009-07-24 14:03:29 -03:00
af9013.h V4L/DVB (8971): initial driver for af9013 demodulator 2008-10-12 09:37:02 -02:00
au8522_decoder.c V4L/DVB (11380): v4l2-subdev: change s_routing prototype 2009-04-06 21:44:27 -03:00
au8522_dig.c V4L/DVB (11987): au8522: add support for QAM-64 modulation type 2009-06-16 19:07:49 -03:00
au8522_priv.h V4L/DVB (11065): au8522: add support for analog side of demodulator 2009-03-30 12:43:25 -03:00
au8522.h V4L/DVB (11065): au8522: add support for analog side of demodulator 2009-03-30 12:43:25 -03:00
bcm3510_priv.h
bcm3510.c dvb frontends: treat firmware data as const 2008-07-10 14:26:31 +01:00
bcm3510.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
bsbe1.h V4L/DVB (7660): bsbe1: Use settings recommended by the manufacturer 2008-04-24 14:09:45 -03:00
bsru6.h V4L/DVB (7662): stv0299: Fixed some typos 2008-04-24 14:09:45 -03:00
cx22700.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
cx22700.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
cx22702.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
cx22702.h V4L/DVB (9256): cx22702: Checkpatch compliance 2008-10-17 17:27:42 -03:00
cx24110.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
cx24110.h V4L/DVB (8906): v4l-dvb: fix assorted sparse warnings 2008-10-12 09:36:58 -02:00
cx24113.c V4L/DVB (12427): cx24113: fix mips compiler warning 2009-09-12 12:18:49 -03:00
cx24113.h V4L/DVB (9811): Add support for the CX24113 DVB-S tuner driver 2008-12-30 09:38:34 -02:00
cx24116.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
cx24116.h V4L/DVB (10144): cx24116: build fix 2009-01-02 17:12:12 -02:00
cx24123.c V4L/DVB (12197): Remove unnecessary semicolons 2009-09-12 12:17:23 -03:00
cx24123.h V4L/DVB (9260): cx24123: Checkpatch compliance 2008-10-17 17:27:56 -03:00
dib0070.c V4L/DVB (12197): Remove unnecessary semicolons 2009-09-12 12:17:23 -03:00
dib0070.h V4L/DVB (10904): remove dib0070_ctrl_agc_filter from dib0070.h 2009-03-30 12:43:14 -03:00
dib3000.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
dib3000mb_priv.h
dib3000mb.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
dib3000mc.c V4L/DVB (7070): Fix some tuning problems 2008-01-25 19:05:17 -02:00
dib3000mc.h V4L/DVB (10903): cleanup linewraps in dib3000mc.h 2009-03-30 12:43:14 -03:00
dib7000m.c V4L/DVB (8946): dib7000m: fix powerpc build error 2008-10-12 09:37:00 -02:00
dib7000m.h V4L/DVB (10902): cleanup linewraps in dib7000m.h 2009-03-30 12:43:14 -03:00
dib7000p.c V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
dib7000p.h V4L/DVB (10901): cleanup linewraps in dib7000p.h 2009-03-30 12:43:14 -03:00
dibx000_common.c
dibx000_common.h V4L/DVB (7074): DiB7000P: correct tuning problem for 7MHz channel 2008-01-25 19:05:20 -02:00
drx397xD_fw.h V4L/DVB (10129): dvb: remove deprecated use of RW_LOCK_UNLOCKED in frontends 2008-12-30 09:40:40 -02:00
drx397xD.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
drx397xD.h V4L/DVB (8725): drx397xD.c sparse annotations 2008-10-12 09:36:51 -02:00
dvb_dummy_fe.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
dvb_dummy_fe.h V4L/DVB (11111): dvb_dummy_fe: Fix compilation breakage 2009-03-30 12:43:29 -03:00
dvb-pll.c V4L/DVB (12290): dvb-pll: Add support for Alps TDEE4 DVB-C NIM 2009-09-12 12:17:50 -03:00
dvb-pll.h V4L/DVB (12290): dvb-pll: Add support for Alps TDEE4 DVB-C NIM 2009-09-12 12:17:50 -03:00
eds1547.h V4L/DVB (9176): Add support for DvbWorld USB cards with STV0288 demodulator. 2008-10-13 12:27:03 -02:00
isl6405.c V4L/DVB (7224): Initial DVB-S support for MD8800 /CTX948 2008-04-24 14:07:43 -03:00
isl6405.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
isl6421.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
isl6421.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
isl6423.c V4L/DVB (11583): isl6423: Various fixes to use external modulation 2009-06-16 18:20:38 -03:00
isl6423.h V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
itd1000_priv.h V4L/DVB (11284): Fix i2c code of flexcop-driver for rare revisions 2009-03-30 12:43:47 -03:00
itd1000.c V4L/DVB (7857): make itd1000_fre_values[] static const 2008-05-14 02:54:10 -03:00
itd1000.h V4L/DVB (7569): Added support for SkyStar2 rev2.7 and ITD1000 DVB-S tuner 2008-04-24 14:09:40 -03:00
Kconfig V4L/DVB (12461): Add ce5039(zl10039) tuner support. 2009-09-12 12:18:55 -03:00
l64781.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
l64781.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
lgdt330x_priv.h
lgdt330x.c V4L/DVB (8146): lgdt330x: add additional FEC control configuration option 2008-07-20 07:14:05 -03:00
lgdt330x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
lgdt3304.c V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
lgdt3304.h V4L/DVB (9367): Move lgdt3304 driver to the proper place and allow it to compile 2008-12-29 17:53:13 -02:00
lgdt3305.c V4L/DVB (11877): lgdt3305: fix 64bit division in function lgdt3305_set_if 2009-06-16 19:14:15 -03:00
lgdt3305.h V4L/DVB (10925): add support for LG Electronics LGDT3305 ATSC/QAM-B Demodulator 2009-03-30 12:43:16 -03:00
lgs8gl5.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
lgs8gl5.h V4L/DVB (8657): cxusb: add lgs8gl5 and support for Magic-Pro DMB-TH usb stick 2008-10-12 09:36:49 -02:00
lgs8gxx_priv.h V4L/DVB (12271): lgs8gxx: add lgs8g75 support 2009-09-12 12:17:38 -03:00
lgs8gxx.c V4L/DVB (12271): lgs8gxx: add lgs8g75 support 2009-09-12 12:17:38 -03:00
lgs8gxx.h V4L/DVB (12271): lgs8gxx: add lgs8g75 support 2009-09-12 12:17:38 -03:00
lnbh24.h V4L/DVB (10800): Add support for ST LNBH24 LNB power controller. 2009-03-30 12:43:04 -03:00
lnbp21.c V4L/DVB (11931): lnbp21: Add missing newline 2009-06-16 19:07:23 -03:00
lnbp21.h V4L/DVB (10800): Add support for ST LNBH24 LNB power controller. 2009-03-30 12:43:04 -03:00
Makefile V4L/DVB (12461): Add ce5039(zl10039) tuner support. 2009-09-12 12:18:55 -03:00
mt312_priv.h V4L/DVB (7574): mt312: Add support for zl10313 demod 2008-04-24 14:09:40 -03:00
mt312.c V4L/DVB (12200): mt312: Fix checkpatch warnings 2009-09-12 12:17:24 -03:00
mt312.h V4L/DVB (7861): mt312: Prefix functions only with mt312_, Add zl10313 to kconfig description 2008-05-14 02:54:12 -03:00
mt352_priv.h
mt352.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
mt352.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
nxt200x.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
nxt200x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
nxt6000_priv.h
nxt6000.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
nxt6000.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
or51132.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
or51132.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
or51211.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
or51211.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
s5h1409.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
s5h1409.h V4L/DVB (9258): s5h1409: Checkpatch compliance 2008-10-17 17:27:48 -03:00
s5h1411.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
s5h1411.h V4L/DVB (9313): s5h1411: Add the #define for an existing supporting I/F 2008-10-21 14:30:59 -02:00
s5h1420_priv.h V4L/DVB (7568): Support for DVB-S demod PN1010 (clone of S5H1420) added 2008-04-24 14:09:39 -03:00
s5h1420.c V4L/DVB (9043): S5H1420: Fix size of shadow-array to avoid overflow 2008-10-04 23:01:21 -03:00
s5h1420.h V4L/DVB (9037): Fix support for Hauppauge Nova-S SE 2008-10-04 23:00:46 -03:00
s921_core.c V4L/DVB (9366): Move S921 driver to the proper place and allow it to compile 2008-12-29 17:53:13 -02:00
s921_core.h V4L/DVB (9366): Move S921 driver to the proper place and allow it to compile 2008-12-29 17:53:13 -02:00
s921_module.c V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
s921_module.h V4L/DVB (9366): Move S921 driver to the proper place and allow it to compile 2008-12-29 17:53:13 -02:00
si21xx.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
si21xx.h V4L/DVB (9017): Add support for Silicon Laboratories SI2109/2110 demodulators. 2008-10-12 09:37:06 -02:00
sp887x.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
sp887x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
sp8870.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
sp8870.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
stb0899_algo.c V4L/DVB (10975): Bug: Use signed types, Offsets and range can be negative 2009-03-13 13:19:16 -03:00
stb0899_cfg.h V4L/DVB (9450): Code Review: #4 Consolidate configurations 2008-12-29 17:53:22 -02:00
stb0899_drv.c V4L/DVB (10974): Use Diseqc 3/3 mode to send data 2009-03-13 13:19:07 -03:00
stb0899_drv.h V4L/DVB (9462): Allow specifying clock per device 2008-12-29 17:53:23 -02:00
stb0899_priv.h V4L/DVB (10975): Bug: Use signed types, Offsets and range can be negative 2009-03-13 13:19:16 -03:00
stb0899_reg.h V4L/DVB (9468): Miscellaneous fixes 2008-12-29 17:53:24 -02:00
stb6000.c V4L/DVB (9175): Remove NULL pointer in stb6000 driver. 2008-10-13 12:26:25 -02:00
stb6000.h V4L/DVB (9026): Add support for ST STV0288 demodulator and cards with it. 2008-10-12 09:37:07 -02:00
stb6100_cfg.h V4L/DVB (11248): Remove debug output from stb6100_cfg.h 2009-03-30 12:43:43 -03:00
stb6100.c V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
stb6100.h V4L/DVB (9417): DVB_ATTACH for STB0899, STB6100, TDA8261 2008-12-29 17:53:18 -02:00
stv090x_priv.h V4L/DVB (11682): STV0900/STV0903: Add support for Silicon cut >= 3 2009-06-16 18:20:51 -03:00
stv090x_reg.h V4L/DVB (11682): STV0900/STV0903: Add support for Silicon cut >= 3 2009-06-16 18:20:51 -03:00
stv090x.c V4L/DVB (12131): BUGFIX: An incorrect Carrier Recovery Loop optimization table was being 2009-06-23 03:29:57 -03:00
stv090x.h V4L/DVB (11581): stv090x and stv6110x: fix repeater level setup and ref clock 2009-06-16 18:20:38 -03:00
stv0288.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
stv0288.h V4L/DVB (9174): Allow custom inittab for ST STV0288 demodulator. 2008-10-13 12:26:01 -02:00
stv0297.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
stv0297.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
stv0299.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
stv0299.h V4L/DVB (9026): Add support for ST STV0288 demodulator and cards with it. 2008-10-12 09:37:07 -02:00
stv0900_core.c V4L/DVB (12312): stv0900: fix i2c repeater configuration must be set to manual 2009-09-12 12:18:03 -03:00
stv0900_init.h V4L/DVB (11057): Fix CiMax stability in Netup Dual DVB-S2 CI 2009-03-30 12:43:24 -03:00
stv0900_priv.h V4L/DVB (12098): Create table for customize stv0900 ts registers. 2009-06-23 03:14:12 -03:00
stv0900_reg.h V4L/DVB (10801): Add headers for ST STV0900 dual demodulator. 2009-03-30 12:43:04 -03:00
stv0900_sw.c V4L/DVB (12197): Remove unnecessary semicolons 2009-09-12 12:17:23 -03:00
stv0900.h V4L/DVB (12098): Create table for customize stv0900 ts registers. 2009-06-23 03:14:12 -03:00
stv6110.c V4L/DVB (12313): stv6110: Read registers through one time i2c_transfer calling 2009-09-12 12:18:03 -03:00
stv6110.h V4L/DVB (12310): stv6110 tuner: remove unused iq_wiring configuration parameter. 2009-09-12 12:18:02 -03:00
stv6110x_priv.h V4L/DVB (11581): stv090x and stv6110x: fix repeater level setup and ref clock 2009-06-16 18:20:38 -03:00
stv6110x_reg.h V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
stv6110x.c V4L/DVB (11592): stv6110x: Fix read bug 2009-06-16 18:20:40 -03:00
stv6110x.h V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
tda826x.c V4L/DVB (7656): tda826x: Calculate cut off fequency from symbol rate 2008-04-24 14:09:44 -03:00
tda826x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda1002x.h V4L/DVB (8334): tda10023: Fix typo in tda10023_attach dummy routine 2008-07-20 07:25:08 -03:00
tda1004x.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda1004x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda8083.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda8083.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda8261_cfg.h V4L/DVB (9450): Code Review: #4 Consolidate configurations 2008-12-29 17:53:22 -02:00
tda8261.c V4L/DVB (12481): Fix lowband tuning with tda8261 2009-09-12 12:19:07 -03:00
tda8261.h V4L/DVB (9450): Code Review: #4 Consolidate configurations 2008-12-29 17:53:22 -02:00
tda10021.c V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
tda10023.c V4L/DVB (8030): TDA10023: make TS output mode configurable 2008-07-20 07:09:24 -03:00
tda10048.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda10048.h V4L/DVB (11854): TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes. 2009-06-16 18:21:13 -03:00
tda10086.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda10086.h V4L/DVB (7655): tda10086 coding stlye fixes 2008-04-24 14:09:44 -03:00
tdhd1.h V4L/DVB (8890): budget: Add callback to load firmware for the TDHD1 tuner 2008-10-12 09:36:57 -02:00
tua6100.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tua6100.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
ves1x93.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
ves1x93.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
ves1820.c V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
ves1820.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
z0194a.h V4L/DVB (9296): Patch to remove warning message during cx88-dvb compilation 2008-10-17 17:41:30 -03:00
zl10036.c V4L/DVB (12200): mt312: Fix checkpatch warnings 2009-09-12 12:17:24 -03:00
zl10036.h V4L/DVB (10822): Add support for Zarlink ZL10036 DVB-S tuner. 2009-03-30 12:43:06 -03:00
zl10039.c V4L/DVB (12461): Add ce5039(zl10039) tuner support. 2009-09-12 12:18:55 -03:00
zl10039.h V4L/DVB (12461): Add ce5039(zl10039) tuner support. 2009-09-12 12:18:55 -03:00
zl10353_priv.h V4L/DVB (11215): zl10353: add support for Intel CE6230 and Intel CE6231 2009-03-30 12:43:40 -03:00
zl10353.c V4L/DVB (12341): zl10353 and qt1010: fix stack corruption bug 2009-08-13 20:39:02 -03:00
zl10353.h V4L/DVB (11215): zl10353: add support for Intel CE6230 and Intel CE6231 2009-03-30 12:43:40 -03:00