linux_dsm_epyc7002/drivers/media/dvb/dvb-usb
Trent Piepho 4ce1567892 V4L/DVB (5777): Dvb-pll digitv dvb-usb: Eliminate last user of dvb_pll_configure
The last user of dvb_pll_configure was the dvb-usb function
dvb_usb_tuner_calc_regs(), which was nothing more than a wrapper around
dvb_pll_configure().  It's just a copy of the functionality provided by
the tuner_ops calc_regs method, and can be deleted.

There were two users of dvb_usb_tuner_calc_regs().
One was dvb_usb_tuner_set_params_i2c(), which is converted to use
fe->ops.tuner_ops.calc_regs().

The other was the digitv driver.  This driver can use one of two demods,
mt352 or nxt6000.  

For the mt352, the driver would set tuner_ops.calc_regs to 
dvb_usb_tuner_calc_regs().  

We can just attach dvb_pll and use the tuner_ops.calc_regs() provided by 
that module. For the nxt600, the driver would set tuner_ops.set_params 
to digitv_nxt6000_tuner_set_params.  

That function would in turn use dvb_usb_tuner_calc_regs().

We convert it to use tuner_ops.calc_regs() instead, and use 
dvb_pll_attach.

The digitv_tuner_attach() needs to know which frontend was attached by 
digitv_frontend_attach(), since the nxt6000 needs tuner_ops.set_params() 
to be overridden with digitv_nxt6000_tuner_set_params().

So, to do this a digitv_state that says which frontend was used is added 
to the dvb_usb_device private state field.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-18 14:24:15 -03:00
..
a800.c V4L/DVB (4749): Fixed DVB-USB-Adapter indention 2006-12-10 08:50:51 -02:00
af9005-fe.c V4L/DVB (5625): Add support for the AF9005 demodulator from Afatech 2007-07-18 14:23:26 -03:00
af9005-remote.c V4L/DVB (5625): Add support for the AF9005 demodulator from Afatech 2007-07-18 14:23:26 -03:00
af9005-script.h V4L/DVB (5625): Add support for the AF9005 demodulator from Afatech 2007-07-18 14:23:26 -03:00
af9005.c V4L/DVB (5625): Add support for the AF9005 demodulator from Afatech 2007-07-18 14:23:26 -03:00
af9005.h V4L/DVB (5625): Add support for the AF9005 demodulator from Afatech 2007-07-18 14:23:26 -03:00
au6610.c V4L/DVB (5424): Fix i2c implementation for gl861 and au6610 2007-04-27 15:44:36 -03:00
au6610.h V4L/DVB (5236): Initial support for Sigmatek DVB-110 DVB-T 2007-02-21 13:35:30 -02:00
cxusb.c V4L/DVB (5636): Integrate all users of the fmd1216 tuner with dvb-pll 2007-07-18 14:23:29 -03:00
cxusb.h V4L/DVB (3575): Cxusb: fix i2c debug messages for bluebird devices 2006-03-24 16:26:55 -03:00
dib07x0.h V4L/DVB (4647): Added module for DiB0700 based devices 2006-10-03 15:12:33 -03:00
dib0700_core.c V4L/DVB (5373): [PATCH] Hauppauge Nova-T endianess problem on powerpc 2007-04-27 15:44:09 -03:00
dib0700_devices.c V4L/DVB (5373): [PATCH] Hauppauge Nova-T endianess problem on powerpc 2007-04-27 15:44:09 -03:00
dib0700.h V4L/DVB (4772): Add support for DiBcom DiB7000PC 2006-12-10 08:51:03 -02:00
dibusb-common.c V4L/DVB (4750): AGC command1/2 is board specific 2006-10-14 00:44:29 -03:00
dibusb-mb.c V4L/DVB (5652): Dibusb-mb: use dvb_attach for dib3000mb_attach 2007-07-18 14:23:26 -03:00
dibusb-mc.c V4L/DVB (4749): Fixed DVB-USB-Adapter indention 2006-12-10 08:50:51 -02:00
dibusb.h V4L/DVB (4748): Fixed oops for Nova-T USB2 2006-10-14 00:44:28 -03:00
digitv.c V4L/DVB (5777): Dvb-pll digitv dvb-usb: Eliminate last user of dvb_pll_configure 2007-07-18 14:24:15 -03:00
digitv.h V4L/DVB (5777): Dvb-pll digitv dvb-usb: Eliminate last user of dvb_pll_configure 2007-07-18 14:24:15 -03:00
dtt200u-fe.c V4L/DVB (4028): Change dvb_frontend_ops to be a real field instead of a pointer field inside dvb_frontend 2006-06-25 02:00:42 -03:00
dtt200u.c V4L/DVB (4749): Fixed DVB-USB-Adapter indention 2006-12-10 08:50:51 -02:00
dtt200u.h V4L/DVB (3321): Indention cleanups 2006-01-09 18:21:34 -02:00
dvb-usb-common.h V4L/DVB (4643): Multi-input patch for DVB-USB device 2006-10-03 15:10:54 -03:00
dvb-usb-dvb.c V4L/DVB (4643): Multi-input patch for DVB-USB device 2006-10-03 15:10:54 -03:00
dvb-usb-firmware.c V4L/DVB (4650): Misc fixes for dib0700 download 2006-10-03 15:12:42 -03:00
dvb-usb-i2c.c V4L/DVB (5777): Dvb-pll digitv dvb-usb: Eliminate last user of dvb_pll_configure 2007-07-18 14:24:15 -03:00
dvb-usb-ids.h V4L/DVB (5628): Add support for A-LINK DTU dvb-t adapter 2007-07-18 14:23:28 -03:00
dvb-usb-init.c V4L/DVB (4657): Power control of the device for dual board 2006-10-03 15:13:18 -03:00
dvb-usb-remote.c V4L/DVB (5698): Input: drivers/media - switch to using input_dev->dev.parent 2007-07-18 14:23:46 -03:00
dvb-usb-urb.c V4L/DVB (4649): Merged VP702x support to dvb-usb multi input 2006-10-03 15:12:40 -03:00
dvb-usb.h V4L/DVB (5777): Dvb-pll digitv dvb-usb: Eliminate last user of dvb_pll_configure 2007-07-18 14:24:15 -03:00
gl861.c V4L/DVB (5628): Add support for A-LINK DTU dvb-t adapter 2007-07-18 14:23:28 -03:00
gl861.h V4L/DVB (5228): Gl861: remove unneeded "extern int" declaration 2007-02-21 13:35:27 -02:00
gp8psk-fe.c V4L/DVB (4029): [PATCH] Genpix 8PSK->USB driver (Take 2) 2006-06-25 02:00:32 -03:00
gp8psk.c V4L/DVB (4749): Fixed DVB-USB-Adapter indention 2006-12-10 08:50:51 -02:00
gp8psk.h V4L/DVB (4029): [PATCH] Genpix 8PSK->USB driver (Take 2) 2006-06-25 02:00:32 -03:00
Kconfig V4L/DVB (5626): Marked af9005 driver as experimental and fix dependencies 2007-07-18 14:23:27 -03:00
m920x.c V4L/DVB (5696): M920x: add missing error handling to prevent syslog spamming 2007-07-18 14:23:44 -03:00
m920x.h V4L/DVB (5692): M920x: attempt to fix hw pid filters on second endpoint 2007-07-18 14:23:38 -03:00
Makefile V4L/DVB (5745): Dvb: use '+=' instead of '=' for EXTRA_CFLAGS 2007-07-18 14:23:56 -03:00
nova-t-usb2.c V4L/DVB (4956): [NOVA-T-USB2] Put remote-debugging in the right place 2006-12-27 10:23:24 -02:00
opera1.c V4L/DVB (5558): Opera: use 7-bit i2c addresses 2007-04-27 15:45:59 -03:00
opera1.h V4L/DVB (5532): Add support for Opera S1- DVB-USB 2007-04-27 15:45:42 -03:00
ttusb2.c V4L/DVB (5371): [PATCH] Pinnacle PCTV Sat Pro USB (450e) support by ttusb2.c (400e driver) 2007-04-27 15:44:08 -03:00
ttusb2.h V4L/DVB (4863): Adding support for Pinnacle PCTV 400e DVB-S 2006-12-10 09:05:03 -02:00
umt-010.c V4L/DVB (5650): Umt-010: trivial whitespace cleanup 2007-07-18 14:23:24 -03:00
usb-urb.c [PATCH] slab: remove SLAB_ATOMIC 2006-12-07 08:39:24 -08:00
vp702x-fe.c V4L/DVB (5602): Enable DiSEqC in Starbox II (vp7021a) 2007-05-09 10:12:55 -03:00
vp702x.c V4L/DVB (4749): Fixed DVB-USB-Adapter indention 2006-12-10 08:50:51 -02:00
vp702x.h V4L/DVB (4649): Merged VP702x support to dvb-usb multi input 2006-10-03 15:12:40 -03:00
vp7045-fe.c V4L/DVB (4028): Change dvb_frontend_ops to be a real field instead of a pointer field inside dvb_frontend 2006-06-25 02:00:42 -03:00
vp7045.c V4L/DVB (4765): Dvb-usb/vp7045.c patch for extra key 2006-12-10 08:50:59 -02:00
vp7045.h [PATCH] dvb: Add generalized dvb-usb driver 2005-06-24 00:05:30 -07:00