aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/frontends/dvb-pll.c43
-rw-r--r--drivers/media/dvb/frontends/dvb-pll.h1
2 files changed, 0 insertions, 44 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c
index 7735e7484e78..b2491f106cef 100644
--- a/drivers/media/dvb/frontends/dvb-pll.c
+++ b/drivers/media/dvb/frontends/dvb-pll.c
@@ -374,48 +374,6 @@ static struct dvb_pll_desc dvb_pll_philips_sd1878_tda8261 = {
374 }, 374 },
375}; 375};
376 376
377/*
378 * Philips TD1316 Tuner.
379 */
380static void td1316_bw(struct dvb_frontend *fe, u8 *buf,
381 const struct dvb_frontend_parameters *params)
382{
383 u8 band;
384
385 /* determine band */
386 if (params->frequency < 161000000)
387 band = 1;
388 else if (params->frequency < 444000000)
389 band = 2;
390 else
391 band = 4;
392
393 buf[3] |= band;
394
395 /* setup PLL filter */
396 if (params->u.ofdm.bandwidth == BANDWIDTH_8_MHZ)
397 buf[3] |= 1 << 3;
398}
399
400static struct dvb_pll_desc dvb_pll_philips_td1316 = {
401 .name = "Philips TD1316",
402 .min = 87000000,
403 .max = 895000000,
404 .iffreq= 36166667,
405 .set = td1316_bw,
406 .count = 9,
407 .entries = {
408 { 93834000, 166667, 0xca, 0x60},
409 { 123834000, 166667, 0xca, 0xa0},
410 { 163834000, 166667, 0xca, 0xc0},
411 { 253834000, 166667, 0xca, 0x60},
412 { 383834000, 166667, 0xca, 0xa0},
413 { 443834000, 166667, 0xca, 0xc0},
414 { 583834000, 166667, 0xca, 0x60},
415 { 793834000, 166667, 0xca, 0xa0},
416 { 858834000, 166667, 0xca, 0xe0},
417 },
418};
419 377
420 378
421static void opera1_bw(struct dvb_frontend *fe, u8 *buf, 379static void opera1_bw(struct dvb_frontend *fe, u8 *buf,
@@ -462,7 +420,6 @@ static struct dvb_pll_desc *pll_list[] = {
462 [DVB_PLL_TDHU2] = &dvb_pll_tdhu2, 420 [DVB_PLL_TDHU2] = &dvb_pll_tdhu2,
463 [DVB_PLL_SAMSUNG_TBMV] = &dvb_pll_samsung_tbmv, 421 [DVB_PLL_SAMSUNG_TBMV] = &dvb_pll_samsung_tbmv,
464 [DVB_PLL_PHILIPS_SD1878_TDA8261] = &dvb_pll_philips_sd1878_tda8261, 422 [DVB_PLL_PHILIPS_SD1878_TDA8261] = &dvb_pll_philips_sd1878_tda8261,
465 [DVB_PLL_PHILIPS_TD1316] = &dvb_pll_philips_td1316,
466 [DVB_PLL_OPERA1] = &dvb_pll_opera1, 423 [DVB_PLL_OPERA1] = &dvb_pll_opera1,
467}; 424};
468 425
diff --git a/drivers/media/dvb/frontends/dvb-pll.h b/drivers/media/dvb/frontends/dvb-pll.h
index 48cd41fac1e1..8736ccb9954b 100644
--- a/drivers/media/dvb/frontends/dvb-pll.h
+++ b/drivers/media/dvb/frontends/dvb-pll.h
@@ -22,7 +22,6 @@
22#define DVB_PLL_TDHU2 16 22#define DVB_PLL_TDHU2 16
23#define DVB_PLL_SAMSUNG_TBMV 17 23#define DVB_PLL_SAMSUNG_TBMV 17
24#define DVB_PLL_PHILIPS_SD1878_TDA8261 18 24#define DVB_PLL_PHILIPS_SD1878_TDA8261 18
25#define DVB_PLL_PHILIPS_TD1316 19
26#define DVB_PLL_OPERA1 21 25#define DVB_PLL_OPERA1 21
27 26
28/** 27/**