[media] tuners: remove dvb_frontend_parameters from set_params()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 24 Dec 2011 15:24:33 +0000 (12:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 10:57:29 +0000 (08:57 -0200)
This is a big patch, yet trivial: now that all tuners use the DVBv5
way to pass parameters (e. g. via fe->dtv_property_cache), the
extra parameter can be removed from set_params() call.

After this change, very few DVBv3 specific stuff are left at the
tuners.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
102 files changed:
drivers/media/common/tuners/max2165.c
drivers/media/common/tuners/mc44s803.c
drivers/media/common/tuners/mt2060.c
drivers/media/common/tuners/mt2131.c
drivers/media/common/tuners/mt2266.c
drivers/media/common/tuners/mxl5005s.c
drivers/media/common/tuners/mxl5007t.c
drivers/media/common/tuners/qt1010.c
drivers/media/common/tuners/tda18212.c
drivers/media/common/tuners/tda18218.c
drivers/media/common/tuners/tda18271-fe.c
drivers/media/common/tuners/tda827x.c
drivers/media/common/tuners/tuner-simple.c
drivers/media/common/tuners/tuner-xc2028.c
drivers/media/common/tuners/xc4000.c
drivers/media/common/tuners/xc5000.c
drivers/media/dvb/bt8xx/dvb-bt8xx.c
drivers/media/dvb/dvb-core/dvb_frontend.h
drivers/media/dvb/dvb-usb/af9005-fe.c
drivers/media/dvb/dvb-usb/cxusb.c
drivers/media/dvb/dvb-usb/dib0700_devices.c
drivers/media/dvb/dvb-usb/digitv.c
drivers/media/dvb/dvb-usb/mxl111sf-demod.c
drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
drivers/media/dvb/frontends/af9013.c
drivers/media/dvb/frontends/atbm8830.c
drivers/media/dvb/frontends/au8522_dig.c
drivers/media/dvb/frontends/bsbe1.h
drivers/media/dvb/frontends/bsru6.h
drivers/media/dvb/frontends/cx22700.c
drivers/media/dvb/frontends/cx22702.c
drivers/media/dvb/frontends/cx24110.c
drivers/media/dvb/frontends/cx24113.c
drivers/media/dvb/frontends/cx24123.c
drivers/media/dvb/frontends/cxd2820r_c.c
drivers/media/dvb/frontends/cxd2820r_t.c
drivers/media/dvb/frontends/cxd2820r_t2.c
drivers/media/dvb/frontends/dib0070.c
drivers/media/dvb/frontends/dib0090.c
drivers/media/dvb/frontends/dib3000mb.c
drivers/media/dvb/frontends/dib3000mc.c
drivers/media/dvb/frontends/dib7000m.c
drivers/media/dvb/frontends/dib7000p.c
drivers/media/dvb/frontends/dib8000.c
drivers/media/dvb/frontends/drxd_hard.c
drivers/media/dvb/frontends/drxk_hard.c
drivers/media/dvb/frontends/dvb-pll.c
drivers/media/dvb/frontends/dvb_dummy_fe.c
drivers/media/dvb/frontends/ec100.c
drivers/media/dvb/frontends/it913x-fe.c
drivers/media/dvb/frontends/itd1000.c
drivers/media/dvb/frontends/ix2505v.c
drivers/media/dvb/frontends/l64781.c
drivers/media/dvb/frontends/lgdt3305.c
drivers/media/dvb/frontends/lgdt330x.c
drivers/media/dvb/frontends/lgs8gl5.c
drivers/media/dvb/frontends/lgs8gxx.c
drivers/media/dvb/frontends/mb86a20s.c
drivers/media/dvb/frontends/mt312.c
drivers/media/dvb/frontends/mt352.c
drivers/media/dvb/frontends/nxt6000.c
drivers/media/dvb/frontends/or51132.c
drivers/media/dvb/frontends/or51211.c
drivers/media/dvb/frontends/s5h1409.c
drivers/media/dvb/frontends/s5h1411.c
drivers/media/dvb/frontends/s5h1420.c
drivers/media/dvb/frontends/s5h1432.c
drivers/media/dvb/frontends/sp8870.c
drivers/media/dvb/frontends/sp887x.c
drivers/media/dvb/frontends/stb6000.c
drivers/media/dvb/frontends/stv0288.c
drivers/media/dvb/frontends/stv0297.c
drivers/media/dvb/frontends/stv0299.c
drivers/media/dvb/frontends/stv0367.c
drivers/media/dvb/frontends/stv6110.c
drivers/media/dvb/frontends/tda10021.c
drivers/media/dvb/frontends/tda10023.c
drivers/media/dvb/frontends/tda10048.c
drivers/media/dvb/frontends/tda1004x.c
drivers/media/dvb/frontends/tda10086.c
drivers/media/dvb/frontends/tda18271c2dd.c
drivers/media/dvb/frontends/tda8083.c
drivers/media/dvb/frontends/tda826x.c
drivers/media/dvb/frontends/tdhd1.h
drivers/media/dvb/frontends/tua6100.c
drivers/media/dvb/frontends/ves1820.c
drivers/media/dvb/frontends/ves1x93.c
drivers/media/dvb/frontends/zl10036.c
drivers/media/dvb/frontends/zl10039.c
drivers/media/dvb/frontends/zl10353.c
drivers/media/dvb/mantis/mantis_vp1033.c
drivers/media/dvb/mantis/mantis_vp2033.c
drivers/media/dvb/mantis/mantis_vp2040.c
drivers/media/dvb/pluto2/pluto2.c
drivers/media/dvb/ttpci/av7110.c
drivers/media/dvb/ttpci/budget-av.c
drivers/media/dvb/ttpci/budget-ci.c
drivers/media/dvb/ttpci/budget-patch.c
drivers/media/dvb/ttpci/budget.c
drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
drivers/media/video/cx88/cx88-dvb.c
drivers/media/video/saa7134/saa7134-dvb.c

index 03434491e333269532ea2925b4180ac04b7d4078..cb2c98fbad1ba066d839ace44fe8a6fb5c500024 100644 (file)
@@ -257,8 +257,7 @@ static void max2165_debug_status(struct max2165_priv *priv)
        dprintk("VCO: %d, VCO Sub-band: %d, ADC: %d\n", vco, vco_sub_band, adc);
 }
 
-static int max2165_set_params(struct dvb_frontend *fe,
-       struct dvb_frontend_parameters *params)
+static int max2165_set_params(struct dvb_frontend *fe)
 {
        struct max2165_priv *priv = fe->tuner_priv;
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
index 5a8758cad5e9f12d9f3aa51cd6dc10170fb586bb..5ddce7e326f743043d8cdaa87c5c1f3ca8c079d4 100644 (file)
@@ -214,8 +214,7 @@ exit:
        return err;
 }
 
-static int mc44s803_set_params(struct dvb_frontend *fe,
-                              struct dvb_frontend_parameters *params)
+static int mc44s803_set_params(struct dvb_frontend *fe)
 {
        struct mc44s803_priv *priv = fe->tuner_priv;
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
index 6fe2ef9f6259b0d8b250f414cbb69b07ecc7d068..13381de58a843a4b8f4997705bdfc62c40ae34f5 100644 (file)
@@ -153,7 +153,7 @@ static int mt2060_spurcheck(u32 lo1,u32 lo2,u32 if2)
 #define IF2  36150       // IF2 frequency = 36.150 MHz
 #define FREF 16000       // Quartz oscillator 16 MHz
 
-static int mt2060_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int mt2060_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct mt2060_priv *priv;
index d9cab1ff6dff0ace50dcfecf393c9257a78d2245..f83b0c1ea6c86ad08e1f2252cde018077189d0db 100644 (file)
@@ -92,8 +92,7 @@ static int mt2131_writeregs(struct mt2131_priv *priv,u8 *buf, u8 len)
        return 0;
 }
 
-static int mt2131_set_params(struct dvb_frontend *fe,
-                            struct dvb_frontend_parameters *params)
+static int mt2131_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct mt2131_priv *priv;
index dd883d7819680679ce6b30e66af905b085dbb089..2fb5a60a621cd64bcbf27205b9a4d1f94cff2672 100644 (file)
@@ -122,7 +122,7 @@ static u8 mt2266_vhf[] = { 0x1d, 0xfe, 0x00, 0x00, 0xb4, 0x03, 0xa5, 0xa5,
 
 #define FREF 30000       // Quartz oscillator 30 MHz
 
-static int mt2266_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int mt2266_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct mt2266_priv *priv;
index c35d3551410eaeb25a1876ad91a0fc87266f9f0b..6133315fb0e34ed5b48ba5e26c2bc48e249d8722 100644 (file)
@@ -3979,8 +3979,7 @@ static int mxl5005s_AssignTunerMode(struct dvb_frontend *fe, u32 mod_type,
        return 0;
 }
 
-static int mxl5005s_set_params(struct dvb_frontend *fe,
-                              struct dvb_frontend_parameters *params)
+static int mxl5005s_set_params(struct dvb_frontend *fe)
 {
        struct mxl5005s_state *state = fe->tuner_priv;
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
index e22fcb12bcf3b8533384535fd29270ebd21917a3..844cfac79f6fe6f4e69c5e498b59119afa9560ff 100644 (file)
@@ -616,8 +616,7 @@ fail:
 
 /* ------------------------------------------------------------------------- */
 
-static int mxl5007t_set_params(struct dvb_frontend *fe,
-                              struct dvb_frontend_parameters *params)
+static int mxl5007t_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u32 delsys = c->delivery_system;
index bd433adc492e8dac5077726606ff3dc2dd1f1f7e..2d79b1f5d5ebcebe9a00321ee278239ca64d0a7f 100644 (file)
@@ -82,8 +82,7 @@ static void qt1010_dump_regs(struct qt1010_priv *priv)
        printk(KERN_CONT "\n");
 }
 
-static int qt1010_set_params(struct dvb_frontend *fe,
-                            struct dvb_frontend_parameters *params)
+static int qt1010_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct qt1010_priv *priv;
@@ -319,7 +318,6 @@ static u8 qt1010_init_meas2(struct qt1010_priv *priv,
 static int qt1010_init(struct dvb_frontend *fe)
 {
        struct qt1010_priv *priv = fe->tuner_priv;
-       struct dvb_frontend_parameters params;
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        int err = 0;
        u8 i, tmpval, *valptr = NULL;
@@ -399,7 +397,7 @@ static int qt1010_init(struct dvb_frontend *fe)
 
        c->frequency = 545000000; /* Sigmatek DVB-110 545000000 */
                                      /* MSI Megasky 580 GL861 533000000 */
-       return qt1010_set_params(fe, &params);
+       return qt1010_set_params(fe);
 }
 
 static int qt1010_release(struct dvb_frontend *fe)
index a58c74f107a431e490b863a4a0eb8ae64ca848fe..602c2e392b178c255a2d6fa476b8b2fa439f45d0 100644 (file)
@@ -130,8 +130,7 @@ static void tda18212_dump_regs(struct tda18212_priv *priv)
 }
 #endif
 
-static int tda18212_set_params(struct dvb_frontend *fe,
-       struct dvb_frontend_parameters *p)
+static int tda18212_set_params(struct dvb_frontend *fe)
 {
        struct tda18212_priv *priv = fe->tuner_priv;
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
index bcdd826dac38a2666eb5c5a63505bd01feabf3c3..dfb3a831df4540541757f5b6cc0ce7f23f989cd3 100644 (file)
@@ -109,8 +109,7 @@ static int tda18218_rd_reg(struct tda18218_priv *priv, u8 reg, u8 *val)
        return tda18218_rd_regs(priv, reg, val, 1);
 }
 
-static int tda18218_set_params(struct dvb_frontend *fe,
-       struct dvb_frontend_parameters *params)
+static int tda18218_set_params(struct dvb_frontend *fe)
 {
        struct tda18218_priv *priv = fe->tuner_priv;
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
index 6348bb3021393d6763382a83b4113eec6b6df737..53299b0a857c11ba8ead9553033e5d81e0afdcdd 100644 (file)
@@ -928,8 +928,7 @@ fail:
 
 /* ------------------------------------------------------------------ */
 
-static int tda18271_set_params(struct dvb_frontend *fe,
-                              struct dvb_frontend_parameters *params)
+static int tda18271_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u32 delsys = c->delivery_system;
index 7316308d93889fa40a6904bfa26e2dcb6e50bd14..d96d0b9e189940624d3c5c8d2ef334502333a9cc 100644 (file)
@@ -152,8 +152,7 @@ static int tuner_transfer(struct dvb_frontend *fe,
        return rc;
 }
 
-static int tda827xo_set_params(struct dvb_frontend *fe,
-                              struct dvb_frontend_parameters *params)
+static int tda827xo_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct tda827x_priv *priv = fe->tuner_priv;
@@ -517,8 +516,7 @@ static void tda827xa_lna_gain(struct dvb_frontend *fe, int high,
        }
 }
 
-static int tda827xa_set_params(struct dvb_frontend *fe,
-                              struct dvb_frontend_parameters *params)
+static int tda827xa_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct tda827x_priv *priv = fe->tuner_priv;
index 1dad5fbb4de0ffdb8ae39076c659ebd302edfe95..ce91c43c53e8dc3881a7b3023f0fd1c4f0063958 100644 (file)
@@ -907,8 +907,7 @@ static int simple_dvb_calc_regs(struct dvb_frontend *fe,
        return 5;
 }
 
-static int simple_dvb_set_params(struct dvb_frontend *fe,
-                                struct dvb_frontend_parameters *params)
+static int simple_dvb_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u32 delsys = c->delivery_system;
index d052c264a457eb5c9c2d2bfaf3b7525999666b3a..bdcbfd740f02860c861d86d83726a76aa97ab986 100644 (file)
@@ -1084,8 +1084,7 @@ static int xc2028_set_analog_freq(struct dvb_frontend *fe,
                                V4L2_TUNER_ANALOG_TV, type, p->std, 0);
 }
 
-static int xc2028_set_params(struct dvb_frontend *fe,
-                            struct dvb_frontend_parameters *p)
+static int xc2028_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u32 delsys = c->delivery_system;
index ee6db66143f1a07013554980a872e39e35ed2a06..793c5c69c2f266dd5dd209ae39783c05a9c4aa5c 100644 (file)
@@ -1121,8 +1121,7 @@ static void xc_debug_dump(struct xc4000_priv *priv)
        dprintk(1, "*** Quality (0:<8dB, 7:>56dB) = %d\n", quality);
 }
 
-static int xc4000_set_params(struct dvb_frontend *fe,
-       struct dvb_frontend_parameters *params)
+static int xc4000_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u32 delsys = c->delivery_system;
index 5c56d3cc030b275a89fdc36e1332b75d347690e9..7796339bcc7a1e06d9cb4315aee793591a980b93 100644 (file)
@@ -628,8 +628,7 @@ static void xc_debug_dump(struct xc5000_priv *priv)
        dprintk(1, "*** Quality (0:<8dB, 7:>56dB) = %d\n", quality);
 }
 
-static int xc5000_set_params(struct dvb_frontend *fe,
-                            struct dvb_frontend_parameters *params)
+static int xc5000_set_params(struct dvb_frontend *fe)
 {
        int ret, b;
        struct xc5000_priv *priv = fe->tuner_priv;
index 87e4c72989d1735104ca2d3b17a81de4c86bc143..b79629f1e52033e8ac1fc81694a6c343eba9e262 100644 (file)
@@ -192,7 +192,7 @@ static struct zl10353_config thomson_dtt7579_zl10353_config = {
        .demod_address = 0x0f,
 };
 
-static int cx24108_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int cx24108_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u32 freq = c->frequency;
@@ -267,7 +267,7 @@ static struct cx24110_config pctvsat_config = {
        .demod_address = 0x55,
 };
 
-static int microtune_mt7202dtf_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int microtune_mt7202dtf_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv;
@@ -463,7 +463,7 @@ static struct or51211_config or51211_config = {
        .sleep = or51211_sleep,
 };
 
-static int vp3021_alps_tded4_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int vp3021_alps_tded4_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv;
index 99ae7828f893318563b093dd2d8d862ac38932b5..895f88f06f5b85ce2949ff554c8828164e405484 100644 (file)
@@ -198,7 +198,7 @@ struct dvb_tuner_ops {
        int (*sleep)(struct dvb_frontend *fe);
 
        /** This is for simple PLLs - set all parameters in one go. */
-       int (*set_params)(struct dvb_frontend *fe, struct dvb_frontend_parameters *p);
+       int (*set_params)(struct dvb_frontend *fe);
        int (*set_analog_params)(struct dvb_frontend *fe, struct analog_parameters *p);
 
        /** This is support for demods like the mt352 - fills out the supplied buffer with what to write. */
index 3263e9749d09dfd610e467da5a583f84c26dc2d1..aa44f6592a32693551a8a39d4487531950aab209 100644 (file)
@@ -1189,7 +1189,7 @@ static int af9005_fe_set_frontend(struct dvb_frontend *fe,
                return ret;
        /* set tuner */
        deb_info("set tuner\n");
-       ret = fe->ops.tuner_ops.set_params(fe, fep);
+       ret = fe->ops.tuner_ops.set_params(fe);
        if (ret)
                return ret;
 
index 4f9bfc5438079c624af94e93a8889ae137fd2594..e8e5a74fa5c71e17559b0be7301d5901c5bc0ed8 100644 (file)
@@ -1067,12 +1067,10 @@ static struct dib0070_config dib7070p_dib0070_config = {
 };
 
 struct dib0700_adapter_state {
-       int (*set_param_save) (struct dvb_frontend *,
-                              struct dvb_frontend_parameters *);
+       int (*set_param_save) (struct dvb_frontend *);
 };
 
-static int dib7070_set_param_override(struct dvb_frontend *fe,
-                                     struct dvb_frontend_parameters *fep)
+static int dib7070_set_param_override(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct dvb_usb_adapter *adap = fe->dvb->priv;
@@ -1088,7 +1086,7 @@ static int dib7070_set_param_override(struct dvb_frontend *fe,
 
        dib7000p_set_wbd_ref(fe, offset + dib0070_wbd_offset(fe));
 
-       return state->set_param_save(fe, fep);
+       return state->set_param_save(fe);
 }
 
 static int cxusb_dualdig4_rev2_tuner_attach(struct dvb_usb_adapter *adap)
index 70c3be6a1ec209c429c91dc45492f9d3cbf8ff5b..81ef4b46f790f936129b849e55878e8b8a9ff89e 100644 (file)
@@ -30,7 +30,7 @@ MODULE_PARM_DESC(force_lna_activation, "force the activation of Low-Noise-Amplif
                "if applicable for the device (default: 0=automatic/off).");
 
 struct dib0700_adapter_state {
-       int (*set_param_save) (struct dvb_frontend *, struct dvb_frontend_parameters *);
+       int (*set_param_save) (struct dvb_frontend *);
        const struct firmware *frontend_firmware;
 };
 
@@ -804,7 +804,7 @@ static struct dib0070_config dib7770p_dib0070_config = {
         .charge_pump = 2,
 };
 
-static int dib7070_set_param_override(struct dvb_frontend *fe, struct dvb_frontend_parameters *fep)
+static int dib7070_set_param_override(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct dvb_usb_adapter *adap = fe->dvb->priv;
@@ -819,11 +819,10 @@ static int dib7070_set_param_override(struct dvb_frontend *fe, struct dvb_fronte
        }
        deb_info("WBD for DiB7000P: %d\n", offset + dib0070_wbd_offset(fe));
        dib7000p_set_wbd_ref(fe, offset + dib0070_wbd_offset(fe));
-       return state->set_param_save(fe, fep);
+       return state->set_param_save(fe);
 }
 
-static int dib7770_set_param_override(struct dvb_frontend *fe,
-               struct dvb_frontend_parameters *fep)
+static int dib7770_set_param_override(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct dvb_usb_adapter *adap = fe->dvb->priv;
@@ -844,7 +843,7 @@ static int dib7770_set_param_override(struct dvb_frontend *fe,
         }
         deb_info("WBD for DiB7000P: %d\n", offset + dib0070_wbd_offset(fe));
         dib7000p_set_wbd_ref(fe, offset + dib0070_wbd_offset(fe));
-        return state->set_param_save(fe, fep);
+        return state->set_param_save(fe);
 }
 
 static int dib7770p_tuner_attach(struct dvb_usb_adapter *adap)
@@ -1207,8 +1206,7 @@ static struct dib0070_config dib807x_dib0070_config[2] = {
        }
 };
 
-static int dib807x_set_param_override(struct dvb_frontend *fe,
-               struct dvb_frontend_parameters *fep)
+static int dib807x_set_param_override(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct dvb_usb_adapter *adap = fe->dvb->priv;
@@ -1227,7 +1225,7 @@ static int dib807x_set_param_override(struct dvb_frontend *fe,
        deb_info("WBD for DiB8000: %d\n", offset);
        dib8000_set_wbd_ref(fe, offset);
 
-       return state->set_param_save(fe, fep);
+       return state->set_param_save(fe);
 }
 
 static int dib807x_tuner_attach(struct dvb_usb_adapter *adap)
@@ -1506,8 +1504,7 @@ static struct dib0090_config dib809x_dib0090_config = {
        .fref_clock_ratio = 6,
 };
 
-static int dib8096_set_param_override(struct dvb_frontend *fe,
-               struct dvb_frontend_parameters *fep)
+static int dib8096_set_param_override(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct dvb_usb_adapter *adap = fe->dvb->priv;
@@ -1518,7 +1515,7 @@ static int dib8096_set_param_override(struct dvb_frontend *fe,
        enum frontend_tune_state tune_state = CT_SHUTDOWN;
        u16 ltgain, rf_gain_limit;
 
-       ret = state->set_param_save(fe, fep);
+       ret = state->set_param_save(fe);
        if (ret < 0)
                return ret;
 
@@ -1823,8 +1820,7 @@ struct dibx090p_adc dib8090p_adc_tab[] = {
        {0xffffffff, 0, 0, 0}, /* 60 MHz */
 };
 
-static int dib8096p_agc_startup(struct dvb_frontend *fe,
-               struct dvb_frontend_parameters *fep)
+static int dib8096p_agc_startup(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct dvb_usb_adapter *adap = fe->dvb->priv;
@@ -1834,7 +1830,7 @@ static int dib8096p_agc_startup(struct dvb_frontend *fe,
        int better_sampling_freq = 0, ret;
        struct dibx090p_adc *adc_table = &dib8090p_adc_tab[0];
 
-       ret = state->set_param_save(fe, fep);
+       ret = state->set_param_save(fe);
        if (ret < 0)
                return ret;
        memset(&pll, 0, sizeof(struct dibx000_bandwidth_config));
@@ -2325,7 +2321,7 @@ static int dib7090p_get_best_sampling(struct dvb_frontend *fe , struct dib7090p_
                return 0;
 }
 
-static int dib7090_agc_startup(struct dvb_frontend *fe, struct dvb_frontend_parameters *fep)
+static int dib7090_agc_startup(struct dvb_frontend *fe)
 {
        struct dvb_usb_adapter *adap = fe->dvb->priv;
        struct dib0700_adapter_state *state = adap->priv;
@@ -2334,7 +2330,7 @@ static int dib7090_agc_startup(struct dvb_frontend *fe, struct dvb_frontend_para
        struct dib7090p_best_adc adc;
        int ret;
 
-       ret = state->set_param_save(fe, fep);
+       ret = state->set_param_save(fe);
        if (ret < 0)
                return ret;
 
index 2856ab74e964b1fcfe38ef066b296c3b723b959a..00a446deaa763274bd4a5bb96250df64734d9dc9 100644 (file)
@@ -118,7 +118,7 @@ static struct mt352_config digitv_mt352_config = {
        .demod_init = digitv_mt352_demod_init,
 };
 
-static int digitv_nxt6000_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *fep)
+static int digitv_nxt6000_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dvb_usb_adapter *adap = fe->dvb->priv;
        u8 b[5];
index d1f58371c7119209c24a74bafb54a328a530fdb7..3ae772910a083439f4e6b6749364517f4cd1ab0d 100644 (file)
@@ -303,7 +303,7 @@ static int mxl111sf_demod_set_frontend(struct dvb_frontend *fe,
        mxl_dbg("()");
 
        if (fe->ops.tuner_ops.set_params) {
-               ret = fe->ops.tuner_ops.set_params(fe, param);
+               ret = fe->ops.tuner_ops.set_params(fe);
                if (mxl_fail(ret))
                        goto fail;
                msleep(50);
index aeac7a9a80d65cfb90287ca8970da1baf1d0cfce..3a533df2d8d3494ee8f03a68c91fd321c59c7f47 100644 (file)
@@ -272,8 +272,7 @@ static int mxl1x1sf_tuner_loop_thru_ctrl(struct mxl111sf_tuner_state *state,
 
 /* ------------------------------------------------------------------------ */
 
-static int mxl111sf_tuner_set_params(struct dvb_frontend *fe,
-                                    struct dvb_frontend_parameters *params)
+static int mxl111sf_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u32 delsys  = c->delivery_system;
index 77862fe2c65ed655a3f7899b09ea00101110a48b..94df6cc6f5370fae9889796b43afa021518e5847 100644 (file)
@@ -587,7 +587,7 @@ static int af9013_set_frontend(struct dvb_frontend *fe,
 
        /* program tuner */
        if (fe->ops.tuner_ops.set_params)
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
 
        /* program CFOE coefficients */
        if (c->bandwidth_hz != state->bandwidth_hz) {
index 1539ea1f81acc9abee58b96bc04c182866febb91..90480d3d6fdf9021d73052933c1a93538b4a4346 100644 (file)
@@ -279,7 +279,7 @@ static int atbm8830_set_fe(struct dvb_frontend *fe,
        if (fe->ops.tuner_ops.set_params) {
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 1);
-               fe->ops.tuner_ops.set_params(fe, fe_params);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index 5c0d3989f5bd331b3877e4adaddc8b14eb2aadb8..1df9d9c4a2597871cae344d6f37d9f48a3764da1 100644 (file)
@@ -596,7 +596,7 @@ static int au8522_set_frontend(struct dvb_frontend *fe,
        if (fe->ops.tuner_ops.set_params) {
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 1);
-               ret = fe->ops.tuner_ops.set_params(fe, p);
+               ret = fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index e008946011b216e456b91aa0839d19e9eb2e7278..53e4d0dbb745ccabd5001c5b0780631e547d0f78 100644 (file)
@@ -69,7 +69,7 @@ static int alps_bsbe1_set_symbol_rate(struct dvb_frontend* fe, u32 srate, u32 ra
        return 0;
 }
 
-static int alps_bsbe1_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters *params)
+static int alps_bsbe1_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        int ret;
index e59544d3b846ce9c14b66aeade19fdd959f62d3f..c2a578e1314dce5ffb4495de51c5e97277036c12 100644 (file)
@@ -101,7 +101,7 @@ static int alps_bsru6_set_symbol_rate(struct dvb_frontend *fe, u32 srate, u32 ra
        return 0;
 }
 
-static int alps_bsru6_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int alps_bsru6_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        u8 buf[4];
index 0142214b013363735ce084a8ed63871908fccd3c..6ef82a1a15ef06ed9a6f8e4cb33e55587eb77871 100644 (file)
@@ -326,7 +326,7 @@ static int cx22700_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_par
        cx22700_writereg (state, 0x00, 0x00);
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index 3139558148bacb1f92a972dbaff2baf27ef4f18a..73dd87ae5b3ea9effe6d679aeebec7d6132f7b8e 100644 (file)
@@ -267,7 +267,7 @@ static int cx22702_set_tps(struct dvb_frontend *fe,
        struct cx22702_state *state = fe->demodulator_priv;
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index bf9c999aa47051d7b71420cd20be6e3f2a781589..1eb9253c7bc34f32ba063a74192fe694a199a19e 100644 (file)
@@ -537,7 +537,7 @@ static int cx24110_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_par
 
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index 07737e2f71310e92f4b723086b0907a5c9821b95..4b8794fa992dfed838fbdce0ee8fa135f9a601c5 100644 (file)
@@ -476,8 +476,7 @@ static int cx24113_init(struct dvb_frontend *fe)
        return ret;
 }
 
-static int cx24113_set_params(struct dvb_frontend *fe,
-               struct dvb_frontend_parameters *p)
+static int cx24113_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct cx24113_state *state = fe->tuner_priv;
index b1dd8acc607a4d70133524501f643e3deb89f081..4d387d3e24d6a4f3869e001d6b6f309b1c1b0b42 100644 (file)
@@ -945,7 +945,7 @@ static int cx24123_set_frontend(struct dvb_frontend *fe,
        if (!state->config->dont_use_pll)
                cx24123_pll_tune(fe, p);
        else if (fe->ops.tuner_ops.set_params)
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
        else
                err("it seems I don't have a tuner...");
 
index bc13db4ef224c6961ef84184c5761d955189f443..9d081efcc646904664b6e45ea5a4e99131a3e950 100644 (file)
@@ -57,7 +57,7 @@ int cxd2820r_set_frontend_c(struct dvb_frontend *fe,
 
        /* program tuner */
        if (fe->ops.tuner_ops.set_params)
-               fe->ops.tuner_ops.set_params(fe, params);
+               fe->ops.tuner_ops.set_params(fe);
 
        if (priv->delivery_system !=  SYS_DVBC_ANNEX_A) {
                for (i = 0; i < ARRAY_SIZE(tab); i++) {
index 4ce0576c87e4aa7af88f2d469008ea8afa908fd0..d0b854a911e623066c919b6c6e21ca28677c79a0 100644 (file)
@@ -81,7 +81,7 @@ int cxd2820r_set_frontend_t(struct dvb_frontend *fe,
 
        /* program tuner */
        if (fe->ops.tuner_ops.set_params)
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
 
        if (priv->delivery_system != SYS_DVBT) {
                for (i = 0; i < ARRAY_SIZE(tab); i++) {
index 76e3c83127e87272e0bf4e17ed6f318deacccaec..c62cf4df1e7d90562d2fe32f40f5347feb349b29 100644 (file)
@@ -99,7 +99,7 @@ int cxd2820r_set_frontend_t2(struct dvb_frontend *fe,
 
        /* program tuner */
        if (fe->ops.tuner_ops.set_params)
-               fe->ops.tuner_ops.set_params(fe, params);
+               fe->ops.tuner_ops.set_params(fe);
 
        if (priv->delivery_system != SYS_DVBT2) {
                for (i = 0; i < ARRAY_SIZE(tab); i++) {
index 4ca3441b24168cc3946a76799f19bc560f5e880b..3b024bfe980aec8ef10cc5f5ae6fb78ff647e68e 100644 (file)
@@ -516,7 +516,7 @@ static int dib0070_tune_digital(struct dvb_frontend *fe)
 }
 
 
-static int dib0070_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)
+static int dib0070_tune(struct dvb_frontend *fe)
 {
     struct dib0070_state *state = fe->tuner_priv;
     uint32_t ret;
index 2b30ab2ade5e483da6344b6bf8f80848eba4a145..224d81e8509136ecaa5334702aaafea81b4135d3 100644 (file)
@@ -2566,7 +2566,7 @@ static int dib0090_get_frequency(struct dvb_frontend *fe, u32 * frequency)
        return 0;
 }
 
-static int dib0090_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)
+static int dib0090_set_params(struct dvb_frontend *fe)
 {
        struct dib0090_state *state = fe->tuner_priv;
        u32 ret;
index 437904cbf3e6c5000660da6da0c92aeda5e4da99..7403198eeb145066284c5d1053abc4dfb0c0624e 100644 (file)
@@ -124,7 +124,7 @@ static int dib3000mb_set_frontend(struct dvb_frontend* fe,
        int search_state, seq;
 
        if (tuner && fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, fep);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
 
                deb_setf("bandwidth: ");
index 088e7fadbe3db11d01828606ed478096086c5c51..32cd0068641950bedde52d779bfb69af0e073fb1 100644 (file)
@@ -696,7 +696,7 @@ static int dib3000mc_set_frontend(struct dvb_frontend* fe,
        state->sfn_workaround_active = buggy_sfn_workaround;
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, fep);
+               fe->ops.tuner_ops.set_params(fe);
                msleep(100);
        }
 
index dbb76d75c932fecb36784a62be7451a3d63fb4c8..a30a48255bef4d559b5275a8b423bdcfbaf063c4 100644 (file)
@@ -1217,7 +1217,7 @@ static int dib7000m_set_frontend(struct dvb_frontend* fe,
        dib7000m_set_bandwidth(state, BANDWIDTH_TO_KHZ(fep->u.ofdm.bandwidth));
 
        if (fe->ops.tuner_ops.set_params)
-               fe->ops.tuner_ops.set_params(fe, fep);
+               fe->ops.tuner_ops.set_params(fe);
 
        /* start up the AGC */
        state->agc_state = 0;
index b5f3fb4f09ed1de3e3dd45f98baa5f358f716953..99832078b6a0e70a7c376fcf0cc8331052db19a0 100644 (file)
@@ -1489,7 +1489,7 @@ static int dib7000p_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_pa
        state->sfn_workaround_active = buggy_sfn_workaround;
 
        if (fe->ops.tuner_ops.set_params)
-               fe->ops.tuner_ops.set_params(fe, fep);
+               fe->ops.tuner_ops.set_params(fe);
 
        /* start up the AGC */
        state->agc_state = 0;
index b8da0c9e085e84684b24446a11dfae368d9a76cc..2da2bb39cb00a9df717f5991b5444706ba90488c 100644 (file)
@@ -2986,7 +2986,7 @@ static int dib8000_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
                        dib8096p_set_output_mode(state->fe[index_frontend],
                                        OUTMODE_HIGH_Z);
                if (state->fe[index_frontend]->ops.tuner_ops.set_params)
-                       state->fe[index_frontend]->ops.tuner_ops.set_params(state->fe[index_frontend], fep);
+                       state->fe[index_frontend]->ops.tuner_ops.set_params(state->fe[index_frontend]);
 
                dib8000_set_tune_state(state->fe[index_frontend], CT_AGC_START);
        }
index beb67759f82426df57e06bdd61a187422c216a45..955d3a58c6591ece7b0c8f65bcdadf8af4c44933 100644 (file)
@@ -2907,7 +2907,7 @@ static int drxd_set_frontend(struct dvb_frontend *fe,
        DRX_Stop(state);
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, param);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index d795898c06680799eec92d559f43d34a5aee62e8..83b8474667ac69f0da188aaa81640a88ba63a986 100644 (file)
@@ -6240,7 +6240,7 @@ static int drxk_set_parameters(struct dvb_frontend *fe,
        if (fe->ops.i2c_gate_ctrl)
                fe->ops.i2c_gate_ctrl(fe, 1);
        if (fe->ops.tuner_ops.set_params)
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
        if (fe->ops.i2c_gate_ctrl)
                fe->ops.i2c_gate_ctrl(fe, 0);
        state->param = *p;
index f967cf9b4a60f31a213e8712271c29e702d72859..978805ed3847b653e0d361c95a988e472ec37f3d 100644 (file)
@@ -608,8 +608,7 @@ static int dvb_pll_sleep(struct dvb_frontend *fe)
        return -EINVAL;
 }
 
-static int dvb_pll_set_params(struct dvb_frontend *fe,
-                             struct dvb_frontend_parameters *params)
+static int dvb_pll_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct dvb_pll_priv *priv = fe->tuner_priv;
index a7fc7e53a5518f6b20edbb7d96d050c8a2a5dbe3..e3a7e424f82f369c770ad2c9c5d9784ac1051a63 100644 (file)
@@ -76,7 +76,7 @@ static int dvb_dummy_fe_get_frontend(struct dvb_frontend* fe, struct dvb_fronten
 static int dvb_dummy_fe_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_parameters *p)
 {
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index 2414dc6ee5d992f29c387788e452fb35736e088c..1ef79f0208e2651759fd5a0c3060ffbf8faaed10 100644 (file)
@@ -88,7 +88,7 @@ static int ec100_set_frontend(struct dvb_frontend *fe,
 
        /* program tuner */
        if (fe->ops.tuner_ops.set_params)
-               fe->ops.tuner_ops.set_params(fe, params);
+               fe->ops.tuner_ops.set_params(fe);
 
        ret = ec100_write_reg(state, 0x04, 0x06);
        if (ret)
index 8088e62a20285736fec5e6d18696eacdeef84a30..8857710b90e44c5f439bf480a54f27bd403c6582 100644 (file)
@@ -642,7 +642,7 @@ static int it913x_fe_set_frontend(struct dvb_frontend *fe,
                break;
        default:
                if (fe->ops.tuner_ops.set_params) {
-                       fe->ops.tuner_ops.set_params(fe, p);
+                       fe->ops.tuner_ops.set_params(fe);
                        if (fe->ops.i2c_gate_ctrl)
                                fe->ops.i2c_gate_ctrl(fe, 0);
                }
index afe7cc0d859e787cac7c7a4a3bd6ab6ffd666b6f..316457584fe7a6fe7a18ae430fe1c194393dbf7c 100644 (file)
@@ -250,7 +250,7 @@ static void itd1000_set_lo(struct itd1000_state *state, u32 freq_khz)
        itd1000_set_vco(state, freq_khz);
 }
 
-static int itd1000_set_parameters(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)
+static int itd1000_set_parameters(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct itd1000_state *state = fe->tuner_priv;
index aca48172504cf41ed92cfa41a0a95cc86529e25f..bc5a82082aaae7891d55dd2cd3c6eabff93e9b84 100644 (file)
@@ -129,8 +129,7 @@ static int ix2505v_release(struct dvb_frontend *fe)
  *  1 -> 8 -> 6
  */
 
-static int ix2505v_set_params(struct dvb_frontend *fe,
-               struct dvb_frontend_parameters *params)
+static int ix2505v_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct ix2505v_state *state = fe->tuner_priv;
index 445fa10680644c9d546d5aa8644947e6b5587573..eee6bb54503f180211dc9b13a2aa47457d86ce8d 100644 (file)
@@ -140,7 +140,7 @@ static int apply_frontend_param (struct dvb_frontend* fe, struct dvb_frontend_pa
        int bw = p->bandwidth - BANDWIDTH_8_MHZ;
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, param);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index 3272881cb112922e30d829c010b9fde5fc3fe4f4..321f9911ba929ed41a05487b070a4e463235fbf8 100644 (file)
@@ -686,7 +686,7 @@ static int lgdt3304_set_parameters(struct dvb_frontend *fe,
        lg_dbg("(%d, %d)\n", param->frequency, param->u.vsb.modulation);
 
        if (fe->ops.tuner_ops.set_params) {
-               ret = fe->ops.tuner_ops.set_params(fe, param);
+               ret = fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
                if (lg_fail(ret))
@@ -756,7 +756,7 @@ static int lgdt3305_set_parameters(struct dvb_frontend *fe,
        lg_dbg("(%d, %d)\n", param->frequency, param->u.vsb.modulation);
 
        if (fe->ops.tuner_ops.set_params) {
-               ret = fe->ops.tuner_ops.set_params(fe, param);
+               ret = fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
                if (lg_fail(ret))
index c39d8d63979b870582050bd3b0c02c767e97dda9..ab3971264e3652ea367b3ce1d11e475c76ce5381 100644 (file)
@@ -424,7 +424,7 @@ static int lgdt330x_set_parameters(struct dvb_frontend* fe,
 
        /* Tune to the specified frequency */
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, param);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index bb37ed289a059542d2821b9612261a18e7751f1e..4a9bd999942f0ca1b2ad954845b2e108c74a32fa 100644 (file)
@@ -322,7 +322,7 @@ lgs8gl5_set_frontend(struct dvb_frontend *fe,
                return -EINVAL;
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index 1172b54689f81df3e7888e320f11c82f96c069d5..bf9b12b00a9324903da86bbd8bcdb8504662fbe9 100644 (file)
@@ -678,7 +678,7 @@ static int lgs8gxx_set_fe(struct dvb_frontend *fe,
 
        /* set frequency */
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, fe_params);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index 0f867a5055fb95b3368bc65ce744fd221caf8b83..8c92070988e40f980b5234cee85844b002133f5c 100644 (file)
@@ -496,7 +496,7 @@ static int mb86a20s_set_frontend(struct dvb_frontend *fe,
        if (fe->ops.i2c_gate_ctrl)
                fe->ops.i2c_gate_ctrl(fe, 1);
        dprintk("Calling tuner set parameters\n");
-       fe->ops.tuner_ops.set_params(fe, p);
+       fe->ops.tuner_ops.set_params(fe);
 
        /*
         * Make it more reliable: if, for some reason, the initial
index 83e6f1a1b7009cae02fb0c3579901a2d032be126..302d72a81b48e20ab679fa9b745228e631d55b0e 100644 (file)
@@ -603,7 +603,7 @@ static int mt312_set_frontend(struct dvb_frontend *fe,
        }
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index e2a86daba502127864c5e6ba6a73c0c3506e90c5..16a9fac2ba6c9b12902d61d3367c0b00744ffafd 100644 (file)
@@ -293,7 +293,7 @@ static int mt352_set_parameters(struct dvb_frontend* fe,
 
        if (state->config.no_tuner) {
                if (fe->ops.tuner_ops.set_params) {
-                       fe->ops.tuner_ops.set_params(fe, param);
+                       fe->ops.tuner_ops.set_params(fe);
                        if (fe->ops.i2c_gate_ctrl)
                                fe->ops.i2c_gate_ctrl(fe, 0);
                }
index 6599b8fea9e9ad0d2c3bad2560565670b5e2486c..d17dd2ddc2f230af6f3e546fc983b242280dcbfe 100644 (file)
@@ -463,7 +463,7 @@ static int nxt6000_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_par
        int result;
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, param);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index 38e67accb8c360af874fc9b3d57804c523d4a34a..5cd965b05ee8f886a04e009002f746c3fd1d2d9a 100644 (file)
@@ -363,7 +363,7 @@ static int or51132_set_parameters(struct dvb_frontend* fe,
        }
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, param);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index c709ce6771c86ca831e9e17e1677e03da0b05e7c..92d4dd8bba40d054e76026144c26bd80b1ca4bad 100644 (file)
@@ -226,7 +226,7 @@ static int or51211_set_parameters(struct dvb_frontend* fe,
        /* Change only if we are actually changing the channel */
        if (state->current_frequency != param->frequency) {
                if (fe->ops.tuner_ops.set_params) {
-                       fe->ops.tuner_ops.set_params(fe, param);
+                       fe->ops.tuner_ops.set_params(fe);
                        if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
                }
 
index 0d6d5e3e2c31a2de892eb15c3df19c7b03571414..5ffb19e86c160833ee69a9b16b6b0afb0fdea823 100644 (file)
@@ -647,7 +647,7 @@ static int s5h1409_set_frontend(struct dvb_frontend *fe,
        if (fe->ops.tuner_ops.set_params) {
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 1);
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index 5fca113a2013f25d043a3666cf361970de18e1e1..6852abe24ab8465d329b826468d873c1ae6b3ca8 100644 (file)
@@ -602,7 +602,7 @@ static int s5h1411_set_frontend(struct dvb_frontend *fe,
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 1);
 
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
 
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
index 3879d2e378aa73da4ac1b923a7e163c6c54a48a6..c4a8a01a6ca610a1b6ac8e3cbe70c5df73446e8a 100644 (file)
@@ -649,7 +649,7 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe,
                        (state->symbol_rate == p->u.qpsk.symbol_rate)) {
 
                if (fe->ops.tuner_ops.set_params) {
-                       fe->ops.tuner_ops.set_params(fe, p);
+                       fe->ops.tuner_ops.set_params(fe);
                        if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
                }
                if (fe->ops.tuner_ops.get_frequency) {
@@ -744,7 +744,7 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe,
 
        /* set tuner PLL */
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
                s5h1420_setfreqoffset(state, 0);
index 0c6dcb90d16826686d97f81be8aca55da555407b..2717bae1e514447753cf89efcc87031f7e3ac35e 100644 (file)
@@ -188,7 +188,7 @@ static int s5h1432_set_frontend(struct dvb_frontend *fe,
                /*current_frequency = p->frequency; */
                /*state->current_frequency = p->frequency; */
        } else {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                msleep(300);
                s5h1432_set_channel_bandwidth(fe, dvb_bandwidth);
                switch (p->u.ofdm.bandwidth) {
@@ -207,7 +207,7 @@ static int s5h1432_set_frontend(struct dvb_frontend *fe,
                default:
                        return 0;
                }
-               /*fe->ops.tuner_ops.set_params(fe, p); */
+               /*fe->ops.tuner_ops.set_params(fe); */
 /*Soft Reset chip*/
                msleep(30);
                s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x09, 0x1a);
@@ -231,7 +231,7 @@ static int s5h1432_set_frontend(struct dvb_frontend *fe,
                default:
                        return 0;
                }
-               /*fe->ops.tuner_ops.set_params(fe,p); */
+               /*fe->ops.tuner_ops.set_params(fe); */
                /*Soft Reset chip*/
                msleep(30);
                s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x09, 0x1a);
index b85eb60a893e34954a313382a2fad0b5d8a88499..9cff9098a41b0136486df7074939bebc66bd0e97 100644 (file)
@@ -260,7 +260,7 @@ static int sp8870_set_frontend_parameters (struct dvb_frontend* fe,
 
        // set tuner parameters
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index 4a7c3d8426088bdccd39ab95b197b8b2963ab3d9..efe09268296b04cde86a53be8223f4ada2f75c25 100644 (file)
@@ -353,7 +353,7 @@ static int sp887x_setup_frontend_parameters (struct dvb_frontend* fe,
 
        /* setup the PLL */
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
        if (fe->ops.tuner_ops.get_frequency) {
index d4f4ebbfce3a1315802ba3f7059a42d63f924320..a0c3c526b132415d5bc705c2f5c8064e64fb9243 100644 (file)
@@ -75,8 +75,7 @@ static int stb6000_sleep(struct dvb_frontend *fe)
        return (ret == 1) ? 0 : ret;
 }
 
-static int stb6000_set_params(struct dvb_frontend *fe,
-                               struct dvb_frontend_parameters *params)
+static int stb6000_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct stb6000_priv *priv = fe->tuner_priv;
index 0aa3962ff18bc37bb07d5e838fe43596405d9c20..a1b493391f45d2f2361ae0c51f6c4e5a3795ab28 100644 (file)
@@ -484,7 +484,7 @@ static int stv0288_set_frontend(struct dvb_frontend *fe,
        dfp->frequency = c->frequency;
        dfp->u.qpsk.symbol_rate = c->symbol_rate;
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, dfp);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index 84d88f33275e060f690ffdf5b288d038431b561b..daeaddf6f883aefa6a2e88bd3838e0e372013613 100644 (file)
@@ -455,7 +455,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
 
        stv0297_init(fe);
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index 42684bec888374a6f8315a96b3b85b046947814d..bd79e05cdc7e16fb72fe01a5204cb052257c09c8 100644 (file)
@@ -579,7 +579,7 @@ static int stv0299_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_par
        stv0299_writeregI(state, 0x0c, (stv0299_readreg(state, 0x0c) & 0xfe) | invval);
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index e57ab53e2e27a7ad6bde437afdbdbc00a7278d85..586295df7cabe83c9a5f4dd38f7ba0377b69b540 100644 (file)
@@ -1822,7 +1822,7 @@ static int stv0367ter_set_frontend(struct dvb_frontend *fe,
        if (fe->ops.tuner_ops.set_params) {
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 1);
-               fe->ops.tuner_ops.set_params(fe, param);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
@@ -3120,7 +3120,7 @@ static int stv0367cab_set_frontend(struct dvb_frontend *fe,
        if (fe->ops.tuner_ops.set_params) {
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 1);
-               fe->ops.tuner_ops.set_params(fe, param);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index 2dca7c8e5148bb989b1e75b7ec5605afdf72851d..20b5fa92c53e7374977b55800ec95c831239966c 100644 (file)
@@ -347,8 +347,7 @@ static int stv6110_set_frequency(struct dvb_frontend *fe, u32 frequency)
        return 0;
 }
 
-static int stv6110_set_params(struct dvb_frontend *fe,
-                             struct dvb_frontend_parameters *params)
+static int stv6110_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u32 bandwidth = carrier_width(c->symbol_rate, c->rolloff);
index 2518c5a332259cd2af94f40d1d128df2921e48dd..a1629d1d565b19833ba7413802f803f5260c7e03 100644 (file)
@@ -283,7 +283,7 @@ static int tda10021_set_parameters (struct dvb_frontend *fe,
        //printk("tda10021: set frequency to %d qam=%d symrate=%d\n", p->frequency,qam,p->u.qam.symbol_rate);
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index af7f1b808a3435ed83b6886dd99c47f96d571d48..ecc4b5592a176c0da760966e0c684cde80bb2cb6 100644 (file)
@@ -351,7 +351,7 @@ static int tda10023_set_parameters (struct dvb_frontend *fe,
        }
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index 7f105946a4342171056e8b774c7032ec4970dedc..d450385d91ccfc4dbf177b783a19c83a7c8db3d2 100644 (file)
@@ -756,7 +756,7 @@ static int tda10048_set_frontend(struct dvb_frontend *fe,
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 1);
 
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
 
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
index ea485d9235508c4053ff64c76125af960c8b6daf..dbac35bbca57287f68a2926979897776d561e68e 100644 (file)
@@ -718,7 +718,7 @@ static int tda1004x_set_fe(struct dvb_frontend* fe,
 
        // set frequency
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, fe_params);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
        }
index f2c8faac6f36426e0c7beb3f361e223b3b12cfcd..7656ff7b41aaf495e1a5c4e418a515faea1e2540 100644 (file)
@@ -425,7 +425,7 @@ static int tda10086_set_frontend(struct dvb_frontend* fe,
 
        /* set params */
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, fe_params);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl)
                        fe->ops.i2c_gate_ctrl(fe, 0);
 
index f8933cf66ebb0581381933cca51af38c5d45d62d..86da3d816498e320772a3a094702d9699b894e19 100644 (file)
@@ -1124,8 +1124,7 @@ static int release(struct dvb_frontend *fe)
 }
 
 
-static int set_params(struct dvb_frontend *fe,
-                     struct dvb_frontend_parameters *params)
+static int set_params(struct dvb_frontend *fe)
 {
        struct tda_state *state = fe->tuner_priv;
        int status = 0;
index 9369f7442f273b810c8568873047153d7a1149ba..3f2b1b8eb00b76021c8374ca90313386d466a199 100644 (file)
@@ -320,7 +320,7 @@ static int tda8083_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_par
        struct tda8083_state* state = fe->demodulator_priv;
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index ab9122a237f58f6b5efcf32f4f183caba8661388..04bbcc24de0a7834c0b6b4d1132157472cd173a5 100644 (file)
@@ -71,7 +71,7 @@ static int tda826x_sleep(struct dvb_frontend *fe)
        return (ret == 1) ? 0 : ret;
 }
 
-static int tda826x_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int tda826x_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct tda826x_priv *priv = fe->tuner_priv;
index 9db221bf35ad221c736f724c2f803d560b71dce2..17750985db0cacfc15af5ccec345a8b4ee91dede 100644 (file)
@@ -40,7 +40,7 @@ static struct tda1004x_config alps_tdhd1_204a_config = {
        .request_firmware = alps_tdhd1_204_request_firmware
 };
 
-static int alps_tdhd1_204a_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int alps_tdhd1_204a_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct i2c_adapter *i2c = fe->tuner_priv;
index 7842e620e6b34a8e4e9ebed1498fcc6ce43bb61a..029384d1fdddd0caa08a333b37fb50968df0caa5 100644 (file)
@@ -67,8 +67,7 @@ static int tua6100_sleep(struct dvb_frontend *fe)
        return (ret == 1) ? 0 : ret;
 }
 
-static int tua6100_set_params(struct dvb_frontend *fe,
-                             struct dvb_frontend_parameters *params)
+static int tua6100_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct tua6100_priv *priv = fe->tuner_priv;
index 550a07a8a9975d253b9e39482d5e4cc0b040adb8..270c7f93008b07fe4004153f164097492ecc8a11 100644 (file)
@@ -219,7 +219,7 @@ static int ves1820_set_parameters(struct dvb_frontend* fe, struct dvb_frontend_p
                return -EINVAL;
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
 
index 8d7854c2fb0c142683a2c823a3447af61c637438..5ffbf5e89a6530cfc0fb38a6c7d35223482d689a 100644 (file)
@@ -389,7 +389,7 @@ static int ves1x93_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_par
        struct ves1x93_state* state = fe->demodulator_priv;
 
        if (fe->ops.tuner_ops.set_params) {
-               fe->ops.tuner_ops.set_params(fe, p);
+               fe->ops.tuner_ops.set_params(fe);
                if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0);
        }
        ves1x93_set_inversion (state, p->inversion);
index 129d0f2a87e42d5afe2f0f0358e89c0b34ec580c..0903d461b8fa769ca5fe2db4a918edfc2388d4bf 100644 (file)
@@ -305,8 +305,7 @@ static int zl10036_set_gain_params(struct zl10036_state *state,
        return zl10036_write(state, buf, sizeof(buf));
 }
 
-static int zl10036_set_params(struct dvb_frontend *fe,
-               struct dvb_frontend_parameters *params)
+static int zl10036_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct zl10036_state *state = fe->tuner_priv;
index 7fc8cef408b7308b016489001a299ee741520353..eff9c5fde50ad65662948cb9109341a0c25a7e0f 100644 (file)
@@ -176,8 +176,7 @@ static int zl10039_sleep(struct dvb_frontend *fe)
        return 0;
 }
 
-static int zl10039_set_params(struct dvb_frontend *fe,
-                             struct dvb_frontend_parameters *params)
+static int zl10039_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct zl10039_state *state = fe->tuner_priv;
index 9caccc03d588cb1a3f7a451e20599c1a23a7013c..0945aa0f929456d640f655d46cbd84348c0ec012 100644 (file)
@@ -362,7 +362,7 @@ static int zl10353_set_parameters(struct dvb_frontend *fe,
         */
        if (state->config.no_tuner) {
                if (fe->ops.tuner_ops.set_params) {
-                       fe->ops.tuner_ops.set_params(fe, param);
+                       fe->ops.tuner_ops.set_params(fe);
                        if (fe->ops.i2c_gate_ctrl)
                                fe->ops.i2c_gate_ctrl(fe, 0);
                }
index dfaca2ab48031689c14817cb0d14a0c98bbe23f2..ad013e93ed11d7bd05638ebf7eb5a398c4631244 100644 (file)
@@ -83,8 +83,7 @@ u8 lgtdqcs001f_inittab[] = {
 #define MANTIS_MODEL_NAME      "VP-1033"
 #define MANTIS_DEV_TYPE                "DVB-S/DSS"
 
-int lgtdqcs001f_tuner_set(struct dvb_frontend *fe,
-                         struct dvb_frontend_parameters *params)
+int lgtdqcs001f_tuner_set(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct mantis_pci *mantis       = fe->dvb->priv;
index f58ce608076c94034b5ab0040eb71af5b9a70ce1..1ca6837fbe468a8da8f82fe7818a4240880e5004 100644 (file)
@@ -65,7 +65,7 @@ static u8 read_pwm(struct mantis_pci *mantis)
        return pwm;
 }
 
-static int tda1002x_cu1216_tuner_set(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int tda1002x_cu1216_tuner_set(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct mantis_pci *mantis = fe->dvb->priv;
index beadfea4f0c84bcfefb172fe6a26669d7cf62e23..d480741afd786dc3e13420077d43f4567f38e666 100644 (file)
@@ -47,7 +47,7 @@ struct tda10023_config vp2040_tda10023_cu1216_config = {
        .invert         = 1,
 };
 
-static int tda1002x_cu1216_tuner_set(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int tda1002x_cu1216_tuner_set(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct mantis_pci *mantis       = fe->dvb->priv;
index 027da577c4072bbc8455920900d06ca69f966095..e1f20c236989584161afa2623a52f39b75c68062 100644 (file)
@@ -445,8 +445,7 @@ static inline u32 divide(u32 numerator, u32 denominator)
 }
 
 /* LG Innotek TDTE-E001P (Infineon TUA6034) */
-static int lg_tdtpe001p_tuner_set_params(struct dvb_frontend *fe,
-                                        struct dvb_frontend_parameters *foo)
+static int lg_tdtpe001p_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct pluto *pluto = frontend_to_pluto(fe);
index c6191e1f162b61ef5bf578caeaf71990601b689e..94b13ae1b2fb1291480598a498938d6179dcbb70 100644 (file)
@@ -1568,7 +1568,7 @@ static int get_firmware(struct av7110* av7110)
        return ret;
 }
 
-static int alps_bsrv2_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters *params)
+static int alps_bsrv2_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct av7110* av7110 = fe->dvb->priv;
@@ -1611,7 +1611,7 @@ static struct ves1x93_config alps_bsrv2_config = {
        .invert_pwm = 0,
 };
 
-static int alps_tdbe2_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters *params)
+static int alps_tdbe2_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct av7110* av7110 = fe->dvb->priv;
@@ -1643,7 +1643,7 @@ static struct ves1820_config alps_tdbe2_config = {
 
 
 
-static int grundig_29504_451_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters *params)
+static int grundig_29504_451_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct av7110* av7110 = fe->dvb->priv;
@@ -1670,7 +1670,7 @@ static struct tda8083_config grundig_29504_451_config = {
 
 
 
-static int philips_cd1516_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters *params)
+static int philips_cd1516_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct av7110* av7110 = fe->dvb->priv;
@@ -1702,7 +1702,7 @@ static struct ves1820_config philips_cd1516_config = {
 
 
 
-static int alps_tdlb7_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters *params)
+static int alps_tdlb7_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct av7110* av7110 = fe->dvb->priv;
@@ -1840,7 +1840,7 @@ static u8 nexusca_stv0297_inittab[] = {
        0xff, 0xff,
 };
 
-static int nexusca_stv0297_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters *params)
+static int nexusca_stv0297_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct av7110* av7110 = fe->dvb->priv;
@@ -1896,7 +1896,7 @@ static struct stv0297_config nexusca_stv0297_config = {
 
 
 
-static int grundig_29504_401_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters *params)
+static int grundig_29504_401_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct av7110* av7110 = fe->dvb->priv;
index a40ea6e1c0d1835ee9d70dfcd9eeac0fe6f86d3a..8b32e282bf5d50d3bae319b6fa1b411e7ff6ada4 100644 (file)
@@ -502,8 +502,7 @@ static int philips_su1278_ty_ci_set_symbol_rate(struct dvb_frontend *fe, u32 sra
        return 0;
 }
 
-static int philips_su1278_ty_ci_tuner_set_params(struct dvb_frontend *fe,
-                                                struct dvb_frontend_parameters *params)
+static int philips_su1278_ty_ci_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u32 div;
@@ -618,7 +617,7 @@ static struct stv0299_config cinergy_1200s_1894_0010_config = {
        .set_symbol_rate = philips_su1278_ty_ci_set_symbol_rate,
 };
 
-static int philips_cu1216_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int philips_cu1216_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct budget *budget = (struct budget *) fe->dvb->priv;
@@ -699,7 +698,7 @@ static int philips_tu1216_tuner_init(struct dvb_frontend *fe)
        return 0;
 }
 
-static int philips_tu1216_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int philips_tu1216_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct budget *budget = (struct budget *) fe->dvb->priv;
index bf8b4934cb7ca756728932494ef152beba4b6e53..98e524178765bb3c1e6094e43fb7edda621fe3ac 100644 (file)
@@ -660,8 +660,7 @@ static int philips_su1278_tt_set_symbol_rate(struct dvb_frontend *fe, u32 srate,
        return 0;
 }
 
-static int philips_su1278_tt_tuner_set_params(struct dvb_frontend *fe,
-                                          struct dvb_frontend_parameters *params)
+static int philips_su1278_tt_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv;
@@ -742,7 +741,7 @@ static int philips_tdm1316l_tuner_init(struct dvb_frontend *fe)
        return 0;
 }
 
-static int philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv;
@@ -858,7 +857,7 @@ static struct tda1004x_config philips_tdm1316l_config_invert = {
        .request_firmware = philips_tdm1316l_request_firmware,
 };
 
-static int dvbc_philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int dvbc_philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv;
index 4485cccf004e33ec05e8c1703599b52b36a52f01..2cb35c23d2ac890e212a9c8bee34a91a197f8443 100644 (file)
@@ -261,7 +261,7 @@ static int budget_patch_diseqc_send_burst(struct dvb_frontend* fe, fe_sec_mini_c
        return 0;
 }
 
-static int alps_bsrv2_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int alps_bsrv2_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv;
@@ -303,7 +303,7 @@ static struct ves1x93_config alps_bsrv2_config = {
        .invert_pwm = 0,
 };
 
-static int grundig_29504_451_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int grundig_29504_451_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv;
index ff41eee75102069d28ccb58b9d1a02c06c004c9d..b21bcce667088a2d0f09cf66cab7d9985a72427b 100644 (file)
@@ -200,7 +200,7 @@ static int budget_diseqc_send_burst(struct dvb_frontend* fe, fe_sec_mini_cmd_t m
        return 0;
 }
 
-static int alps_bsrv2_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int alps_bsrv2_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct budget* budget = (struct budget*) fe->dvb->priv;
@@ -242,7 +242,7 @@ static struct ves1x93_config alps_bsrv2_config =
        .invert_pwm = 0,
 };
 
-static int alps_tdbe2_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int alps_tdbe2_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct budget* budget = (struct budget*) fe->dvb->priv;
@@ -270,7 +270,7 @@ static struct ves1820_config alps_tdbe2_config = {
        .selagc = VES1820_SELAGC_SIGNAMPERR,
 };
 
-static int grundig_29504_401_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int grundig_29504_401_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct budget *budget = fe->dvb->priv;
@@ -328,7 +328,7 @@ static struct l64781_config grundig_29504_401_config_activy = {
 
 static u8 tuner_address_grundig_29504_401_activy = 0x60;
 
-static int grundig_29504_451_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int grundig_29504_451_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct budget* budget = (struct budget*) fe->dvb->priv;
@@ -352,7 +352,7 @@ static struct tda8083_config grundig_29504_451_config = {
        .demod_address = 0x68,
 };
 
-static int s5h1420_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int s5h1420_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct budget* budget = (struct budget*) fe->dvb->priv;
index 2379f387c50ce372407f60227e67754a035e7095..5f6ac48198f0c5f97a81fa2f40ce404dabb2883f 100644 (file)
@@ -1017,7 +1017,7 @@ static u32 functionality(struct i2c_adapter *adapter)
 
 
 
-static int alps_tdmb7_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int alps_tdmb7_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv;
@@ -1072,7 +1072,7 @@ static int philips_tdm1316l_tuner_init(struct dvb_frontend* fe)
        return 0;
 }
 
-static int philips_tdm1316l_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv;
@@ -1279,7 +1279,7 @@ static int alps_stv0299_set_symbol_rate(struct dvb_frontend *fe, u32 srate, u32
        return 0;
 }
 
-static int philips_tsa5059_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int philips_tsa5059_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv;
@@ -1323,7 +1323,7 @@ static struct stv0299_config alps_stv0299_config = {
        .set_symbol_rate = alps_stv0299_set_symbol_rate,
 };
 
-static int ttusb_novas_grundig_29504_491_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int ttusb_novas_grundig_29504_491_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv;
@@ -1351,7 +1351,7 @@ static struct tda8083_config ttusb_novas_grundig_29504_491_config = {
        .demod_address = 0x68,
 };
 
-static int alps_tdbe2_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+static int alps_tdbe2_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct ttusb* ttusb = fe->dvb->priv;
@@ -1396,7 +1396,7 @@ static u8 read_pwm(struct ttusb* ttusb)
 }
 
 
-static int dvbc_philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int dvbc_philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct ttusb *ttusb = (struct ttusb *) fe->dvb->priv;
index f5430772d504019351e14d0b5a0dc52db092971b..0829a4f65f6ec31017e0b3661aece21cbb4e2049 100644 (file)
@@ -815,8 +815,7 @@ static const u8 samsung_smt_7020_inittab[] = {
 };
 
 
-static int samsung_smt_7020_tuner_set_params(struct dvb_frontend *fe,
-       struct dvb_frontend_parameters *params)
+static int samsung_smt_7020_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct cx8802_dev *dev = fe->dvb->priv;
index 5fdb8455fe8a897cfad8caed2e9329b732ddc20a..089fa0fb5c94d359c1a91ce9c5b2630a209a0991 100644 (file)
@@ -183,8 +183,7 @@ static int mt352_avermedia_xc3028_init(struct dvb_frontend *fe)
        return 0;
 }
 
-static int mt352_pinnacle_tuner_set_params(struct dvb_frontend* fe,
-                                          struct dvb_frontend_parameters* params)
+static int mt352_pinnacle_tuner_set_params(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        u8 off[] = { 0x00, 0xf1};
@@ -288,7 +287,7 @@ static int philips_tda1004x_request_firmware(struct dvb_frontend *fe,
  * these tuners are tu1216, td1316(a)
  */
 
-static int philips_tda6651_pll_set(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int philips_tda6651_pll_set(struct dvb_frontend *fe)
 {
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct saa7134_dev *dev = fe->dvb->priv;
@@ -438,9 +437,9 @@ static int philips_td1316_tuner_init(struct dvb_frontend *fe)
        return 0;
 }
 
-static int philips_td1316_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
+static int philips_td1316_tuner_set_params(struct dvb_frontend *fe)
 {
-       return philips_tda6651_pll_set(fe, params);
+       return philips_tda6651_pll_set(fe);
 }
 
 static int philips_td1316_tuner_sleep(struct dvb_frontend *fe)