aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx25840/cx25840-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx25840/cx25840-core.c')
-rw-r--r--drivers/media/video/cx25840/cx25840-core.c3188
1 files changed, 3180 insertions, 8 deletions
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c
index cd9976408ab3..41d2ee4e37db 100644
--- a/drivers/media/video/cx25840/cx25840-core.c
+++ b/drivers/media/video/cx25840/cx25840-core.c
@@ -18,6 +18,9 @@
18 * CX2388[578] IRQ handling, IO Pin mux configuration and other small fixes are 18 * CX2388[578] IRQ handling, IO Pin mux configuration and other small fixes are
19 * Copyright (C) 2010 Andy Walls <awalls@md.metrocast.net> 19 * Copyright (C) 2010 Andy Walls <awalls@md.metrocast.net>
20 * 20 *
21 * CX23888 DIF support for the HVR1850
22 * Copyright (C) 2011 Steven Toth <stoth@kernellabs.com>
23 *
21 * This program is free software; you can redistribute it and/or 24 * This program is free software; you can redistribute it and/or
22 * modify it under the terms of the GNU General Public License 25 * modify it under the terms of the GNU General Public License
23 * as published by the Free Software Foundation; either version 2 26 * as published by the Free Software Foundation; either version 2
@@ -80,6 +83,7 @@ MODULE_PARM_DESC(debug, "Debugging messages [0=Off (default) 1=On]");
80 83
81 84
82/* ----------------------------------------------------------------------- */ 85/* ----------------------------------------------------------------------- */
86static void cx23885_std_setup(struct i2c_client *client);
83 87
84int cx25840_write(struct i2c_client *client, u16 addr, u8 value) 88int cx25840_write(struct i2c_client *client, u16 addr, u8 value)
85{ 89{
@@ -498,8 +502,13 @@ static void cx23885_initialize(struct i2c_client *client)
498 * 50.0 MHz * (0xb + 0xe8ba26/0x2000000)/4 = 5 * 28.636363 MHz 502 * 50.0 MHz * (0xb + 0xe8ba26/0x2000000)/4 = 5 * 28.636363 MHz
499 * 572.73 MHz before post divide 503 * 572.73 MHz before post divide
500 */ 504 */
501 cx25840_write4(client, 0x11c, 0x00e8ba26); 505 /* HVR1850 or 50MHz xtal */
502 cx25840_write4(client, 0x118, 0x0000040b); 506 cx25840_write(client, 0x2, 0x71);
507 cx25840_write4(client, 0x11c, 0x01d1744c);
508 cx25840_write4(client, 0x118, 0x00000416);
509 cx25840_write4(client, 0x404, 0x0010253e);
510 cx25840_write4(client, 0x42c, 0x42600000);
511 cx25840_write4(client, 0x44c, 0x161f1000);
503 break; 512 break;
504 case V4L2_IDENT_CX23887_AV: 513 case V4L2_IDENT_CX23887_AV:
505 /* 514 /*
@@ -533,8 +542,18 @@ static void cx23885_initialize(struct i2c_client *client)
533 * 28.636363 MHz * (0xf + 0x02be2c9/0x2000000)/4 = 8 * 13.5 MHz 542 * 28.636363 MHz * (0xf + 0x02be2c9/0x2000000)/4 = 8 * 13.5 MHz
534 * 432.0 MHz before post divide 543 * 432.0 MHz before post divide
535 */ 544 */
536 cx25840_write4(client, 0x10c, 0x002be2c9); 545
537 cx25840_write4(client, 0x108, 0x0000040f); 546 /* HVR1850 */
547 switch (state->id) {
548 case V4L2_IDENT_CX23888_AV:
549 /* 888/HVR1250 specific */
550 cx25840_write4(client, 0x10c, 0x13333333);
551 cx25840_write4(client, 0x108, 0x00000515);
552 break;
553 default:
554 cx25840_write4(client, 0x10c, 0x002be2c9);
555 cx25840_write4(client, 0x108, 0x0000040f);
556 }
538 557
539 /* Luma */ 558 /* Luma */
540 cx25840_write4(client, 0x414, 0x00107d12); 559 cx25840_write4(client, 0x414, 0x00107d12);
@@ -556,8 +575,9 @@ static void cx23885_initialize(struct i2c_client *client)
556 * 368.64 MHz before post divide 575 * 368.64 MHz before post divide
557 * 122.88 MHz / 0xa = 12.288 MHz 576 * 122.88 MHz / 0xa = 12.288 MHz
558 */ 577 */
559 cx25840_write4(client, 0x114, 0x00bedfa4); 578 /* HVR1850 or 50MHz xtal */
560 cx25840_write4(client, 0x110, 0x000a0307); 579 cx25840_write4(client, 0x114, 0x017dbf48);
580 cx25840_write4(client, 0x110, 0x000a030e);
561 break; 581 break;
562 case V4L2_IDENT_CX23887_AV: 582 case V4L2_IDENT_CX23887_AV:
563 /* 583 /*
@@ -617,7 +637,10 @@ static void cx23885_initialize(struct i2c_client *client)
617 finish_wait(&state->fw_wait, &wait); 637 finish_wait(&state->fw_wait, &wait);
618 destroy_workqueue(q); 638 destroy_workqueue(q);
619 639
620 cx25840_std_setup(client); 640 /* Call the cx23885 specific std setup func, we no longer rely on
641 * the generic cx24840 func.
642 */
643 cx23885_std_setup(client);
621 644
622 /* (re)set input */ 645 /* (re)set input */
623 set_input(client, state->vid_input, state->aud_input); 646 set_input(client, state->vid_input, state->aud_input);
@@ -631,6 +654,37 @@ static void cx23885_initialize(struct i2c_client *client)
631 /* Disable and clear audio interrupts - we don't use them */ 654 /* Disable and clear audio interrupts - we don't use them */
632 cx25840_write(client, CX25840_AUD_INT_CTRL_REG, 0xff); 655 cx25840_write(client, CX25840_AUD_INT_CTRL_REG, 0xff);
633 cx25840_write(client, CX25840_AUD_INT_STAT_REG, 0xff); 656 cx25840_write(client, CX25840_AUD_INT_STAT_REG, 0xff);
657
658 /* CC raw enable */
659 /* - VIP 1.1 control codes - 10bit, blue field enable.
660 * - enable raw data during vertical blanking.
661 * - enable ancillary Data insertion for 656 or VIP.
662 */
663 cx25840_write4(client, 0x404, 0x0010253e);
664
665 /* CC on - Undocumented Register */
666 cx25840_write(client, 0x42f, 0x66);
667
668 /* HVR-1250 / HVR1850 DIF related */
669 /* Power everything up */
670 cx25840_write4(client, 0x130, 0x0);
671
672 /* Undocumented */
673 cx25840_write4(client, 0x478, 0x6628021F);
674
675 /* AFE_CLK_OUT_CTRL - Select the clock output source as output */
676 cx25840_write4(client, 0x144, 0x5);
677
678 /* I2C_OUT_CTL - I2S output configuration as
679 * Master, Sony, Left justified, left sample on WS=1
680 */
681 cx25840_write4(client, 0x918, 0x1a0);
682
683 /* AFE_DIAG_CTRL1 */
684 cx25840_write4(client, 0x134, 0x000a1800);
685
686 /* AFE_DIAG_CTRL3 - Inverted Polarity for Audio and Video */
687 cx25840_write4(client, 0x13c, 0x00310000);
634} 688}
635 689
636/* ----------------------------------------------------------------------- */ 690/* ----------------------------------------------------------------------- */
@@ -945,9 +999,14 @@ static int set_input(struct i2c_client *client, enum cx25840_video_input vid_inp
945 vid_input <= CX25840_COMPOSITE8); 999 vid_input <= CX25840_COMPOSITE8);
946 u8 is_component = (vid_input & CX25840_COMPONENT_ON) == 1000 u8 is_component = (vid_input & CX25840_COMPONENT_ON) ==
947 CX25840_COMPONENT_ON; 1001 CX25840_COMPONENT_ON;
1002 u8 is_dif = (vid_input & CX25840_DIF_ON) ==
1003 CX25840_DIF_ON;
1004 u8 is_svideo = (vid_input & CX25840_SVIDEO_ON) ==
1005 CX25840_SVIDEO_ON;
948 int luma = vid_input & 0xf0; 1006 int luma = vid_input & 0xf0;
949 int chroma = vid_input & 0xf00; 1007 int chroma = vid_input & 0xf00;
950 u8 reg; 1008 u8 reg;
1009 u32 val;
951 1010
952 v4l_dbg(1, cx25840_debug, client, 1011 v4l_dbg(1, cx25840_debug, client,
953 "decoder set video input %d, audio input %d\n", 1012 "decoder set video input %d, audio input %d\n",
@@ -1012,6 +1071,66 @@ static int set_input(struct i2c_client *client, enum cx25840_video_input vid_inp
1012 else 1071 else
1013 cx25840_and_or(client, 0x401, ~0x6, is_composite ? 0 : 0x02); 1072 cx25840_and_or(client, 0x401, ~0x6, is_composite ? 0 : 0x02);
1014 1073
1074 if (is_cx2388x(state)) {
1075
1076 /* Enable or disable the DIF for tuner use */
1077 if (is_dif) {
1078 cx25840_and_or(client, 0x102, ~0x80, 0x80);
1079
1080 /* Set of defaults for NTSC and PAL */
1081 cx25840_write4(client, 0x31c, 0xc2262600);
1082 cx25840_write4(client, 0x320, 0xc2262600);
1083
1084 /* 18271 IF - Nobody else yet uses a different
1085 * tuner with the DIF, so these are reasonable
1086 * assumptions (HVR1250 and HVR1850 specific).
1087 */
1088 cx25840_write4(client, 0x318, 0xda262600);
1089 cx25840_write4(client, 0x33c, 0x2a24c800);
1090 cx25840_write4(client, 0x104, 0x0704dd00);
1091 } else {
1092 cx25840_write4(client, 0x300, 0x015c28f5);
1093
1094 cx25840_and_or(client, 0x102, ~0x80, 0);
1095 cx25840_write4(client, 0x340, 0xdf7df83);
1096 cx25840_write4(client, 0x104, 0x0704dd80);
1097 cx25840_write4(client, 0x314, 0x22400600);
1098 cx25840_write4(client, 0x318, 0x40002600);
1099 cx25840_write4(client, 0x324, 0x40002600);
1100 cx25840_write4(client, 0x32c, 0x0250e620);
1101 cx25840_write4(client, 0x39c, 0x01FF0B00);
1102
1103 cx25840_write4(client, 0x410, 0xffff0dbf);
1104 cx25840_write4(client, 0x414, 0x00137d03);
1105 cx25840_write4(client, 0x418, 0x01008080);
1106 cx25840_write4(client, 0x41c, 0x00000000);
1107 cx25840_write4(client, 0x420, 0x001c3e0f);
1108 cx25840_write4(client, 0x42c, 0x42600000);
1109 cx25840_write4(client, 0x430, 0x0000039b);
1110 cx25840_write4(client, 0x438, 0x00000000);
1111
1112 cx25840_write4(client, 0x440, 0xF8E3E824);
1113 cx25840_write4(client, 0x444, 0x401040dc);
1114 cx25840_write4(client, 0x448, 0xcd3f02a0);
1115 cx25840_write4(client, 0x44c, 0x161f1000);
1116 cx25840_write4(client, 0x450, 0x00000802);
1117
1118 cx25840_write4(client, 0x91c, 0x01000000);
1119 cx25840_write4(client, 0x8e0, 0x03063870);
1120 cx25840_write4(client, 0x8d4, 0x7FFF0024);
1121 cx25840_write4(client, 0x8d0, 0x00063073);
1122
1123 cx25840_write4(client, 0x8c8, 0x00010000);
1124 cx25840_write4(client, 0x8cc, 0x00080023);
1125
1126 /* DIF BYPASS */
1127 cx25840_write4(client, 0x33c, 0x2a04c800);
1128 }
1129
1130 /* Reset the DIF */
1131 cx25840_write4(client, 0x398, 0);
1132 }
1133
1015 if (!is_cx2388x(state) && !is_cx231xx(state)) { 1134 if (!is_cx2388x(state) && !is_cx231xx(state)) {
1016 /* Set CH_SEL_ADC2 to 1 if input comes from CH3 */ 1135 /* Set CH_SEL_ADC2 to 1 if input comes from CH3 */
1017 cx25840_and_or(client, 0x102, ~0x2, (reg & 0x80) == 0 ? 2 : 0); 1136 cx25840_and_or(client, 0x102, ~0x2, (reg & 0x80) == 0 ? 2 : 0);
@@ -1036,6 +1155,33 @@ static int set_input(struct i2c_client *client, enum cx25840_video_input vid_inp
1036 cx25840_and_or(client, 0x102, ~0x2, 0); 1155 cx25840_and_or(client, 0x102, ~0x2, 0);
1037 } 1156 }
1038 } 1157 }
1158
1159 /* cx23885 / SVIDEO */
1160 if (is_cx2388x(state) && is_svideo) {
1161#define AFE_CTRL (0x104)
1162#define MODE_CTRL (0x400)
1163 cx25840_and_or(client, 0x102, ~0x2, 0x2);
1164
1165 val = cx25840_read4(client, MODE_CTRL);
1166 val &= 0xFFFFF9FF;
1167
1168 /* YC */
1169 val |= 0x00000200;
1170 val &= ~0x2000;
1171 cx25840_write4(client, MODE_CTRL, val);
1172
1173 val = cx25840_read4(client, AFE_CTRL);
1174
1175 /* Chroma in select */
1176 val |= 0x00001000;
1177 val &= 0xfffffe7f;
1178 /* Clear VGA_SEL_CH2 and VGA_SEL_CH3 (bits 7 and 8).
1179 * This sets them to use video rather than audio.
1180 * Only one of the two will be in use.
1181 */
1182 cx25840_write4(client, AFE_CTRL, val);
1183 } else
1184 cx25840_and_or(client, 0x102, ~0x2, 0);
1039 } 1185 }
1040 1186
1041 state->vid_input = vid_input; 1187 state->vid_input = vid_input;
@@ -1086,6 +1232,23 @@ static int set_input(struct i2c_client *client, enum cx25840_video_input vid_inp
1086 cx25840_write4(client, 0x8d0, 0x1f063870); 1232 cx25840_write4(client, 0x8d0, 0x1f063870);
1087 } 1233 }
1088 1234
1235 if (is_cx2388x(state)) {
1236 /* HVR1850 */
1237 /* AUD_IO_CTRL - I2S Input, Parallel1*/
1238 /* - Channel 1 src - Parallel1 (Merlin out) */
1239 /* - Channel 2 src - Parallel2 (Merlin out) */
1240 /* - Channel 3 src - Parallel3 (Merlin AC97 out) */
1241 /* - I2S source and dir - Merlin, output */
1242 cx25840_write4(client, 0x124, 0x100);
1243
1244 if (!is_dif) {
1245 /* Stop microcontroller if we don't need it
1246 * to avoid audio popping on svideo/composite use.
1247 */
1248 cx25840_and_or(client, 0x803, ~0x10, 0x00);
1249 }
1250 }
1251
1089 return 0; 1252 return 0;
1090} 1253}
1091 1254
@@ -1134,7 +1297,10 @@ static int set_v4lstd(struct i2c_client *client)
1134 } 1297 }
1135 cx25840_and_or(client, 0x400, ~0xf, fmt); 1298 cx25840_and_or(client, 0x400, ~0xf, fmt);
1136 cx25840_and_or(client, 0x403, ~0x3, pal_m); 1299 cx25840_and_or(client, 0x403, ~0x3, pal_m);
1137 cx25840_std_setup(client); 1300 if (is_cx2388x(state))
1301 cx23885_std_setup(client);
1302 else
1303 cx25840_std_setup(client);
1138 if (!is_cx2583x(state)) 1304 if (!is_cx2583x(state))
1139 input_change(client); 1305 input_change(client);
1140 return 0; 1306 return 0;
@@ -1565,6 +1731,9 @@ static int cx25840_s_video_routing(struct v4l2_subdev *sd,
1565 struct cx25840_state *state = to_state(sd); 1731 struct cx25840_state *state = to_state(sd);
1566 struct i2c_client *client = v4l2_get_subdevdata(sd); 1732 struct i2c_client *client = v4l2_get_subdevdata(sd);
1567 1733
1734 if (is_cx2388x(state))
1735 cx23885_std_setup(client);
1736
1568 return set_input(client, input, state->aud_input); 1737 return set_input(client, input, state->aud_input);
1569} 1738}
1570 1739
@@ -1574,6 +1743,8 @@ static int cx25840_s_audio_routing(struct v4l2_subdev *sd,
1574 struct cx25840_state *state = to_state(sd); 1743 struct cx25840_state *state = to_state(sd);
1575 struct i2c_client *client = v4l2_get_subdevdata(sd); 1744 struct i2c_client *client = v4l2_get_subdevdata(sd);
1576 1745
1746 if (is_cx2388x(state))
1747 cx23885_std_setup(client);
1577 return set_input(client, state->vid_input, input); 1748 return set_input(client, state->vid_input, input);
1578} 1749}
1579 1750
@@ -1786,6 +1957,3007 @@ static int cx25840_irq_handler(struct v4l2_subdev *sd, u32 status,
1786 1957
1787/* ----------------------------------------------------------------------- */ 1958/* ----------------------------------------------------------------------- */
1788 1959
1960#define DIF_PLL_FREQ_WORD (0x300)
1961#define DIF_BPF_COEFF01 (0x348)
1962#define DIF_BPF_COEFF23 (0x34c)
1963#define DIF_BPF_COEFF45 (0x350)
1964#define DIF_BPF_COEFF67 (0x354)
1965#define DIF_BPF_COEFF89 (0x358)
1966#define DIF_BPF_COEFF1011 (0x35c)
1967#define DIF_BPF_COEFF1213 (0x360)
1968#define DIF_BPF_COEFF1415 (0x364)
1969#define DIF_BPF_COEFF1617 (0x368)
1970#define DIF_BPF_COEFF1819 (0x36c)
1971#define DIF_BPF_COEFF2021 (0x370)
1972#define DIF_BPF_COEFF2223 (0x374)
1973#define DIF_BPF_COEFF2425 (0x378)
1974#define DIF_BPF_COEFF2627 (0x37c)
1975#define DIF_BPF_COEFF2829 (0x380)
1976#define DIF_BPF_COEFF3031 (0x384)
1977#define DIF_BPF_COEFF3233 (0x388)
1978#define DIF_BPF_COEFF3435 (0x38c)
1979#define DIF_BPF_COEFF36 (0x390)
1980
1981void cx23885_dif_setup(struct i2c_client *client, u32 ifHz)
1982{
1983 u64 pll_freq;
1984 u32 pll_freq_word;
1985
1986 v4l_dbg(1, cx25840_debug, client, "%s(%d)\n", __func__, ifHz);
1987
1988 /* Assuming TV */
1989 /* Calculate the PLL frequency word based on the adjusted ifHz */
1990 pll_freq = ((u64)ifHz * 268435456) / 50000000;
1991 pll_freq_word = (u32)pll_freq;
1992
1993 cx25840_write4(client, DIF_PLL_FREQ_WORD, pll_freq_word);
1994
1995 /* Round down to the nearest 100KHz */
1996 ifHz = (ifHz / 100000) * 100000;
1997
1998 if (ifHz < 3000000)
1999 ifHz = 3000000;
2000
2001 if (ifHz > 16000000)
2002 ifHz = 16000000;
2003
2004 v4l_dbg(1, cx25840_debug, client, "%s(%d) again\n", __func__, ifHz);
2005
2006 switch (ifHz) {
2007 case 3000000:
2008 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
2009 cx25840_write4(client, DIF_BPF_COEFF23, 0x00080012);
2010 cx25840_write4(client, DIF_BPF_COEFF45, 0x001e0024);
2011 cx25840_write4(client, DIF_BPF_COEFF67, 0x001bfff8);
2012 cx25840_write4(client, DIF_BPF_COEFF89, 0xffb4ff50);
2013 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed8fe68);
2014 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe24fe34);
2015 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfebaffc7);
2016 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d031f);
2017 cx25840_write4(client, DIF_BPF_COEFF1819, 0x04f0065d);
2018 cx25840_write4(client, DIF_BPF_COEFF2021, 0x07010688);
2019 cx25840_write4(client, DIF_BPF_COEFF2223, 0x04c901d6);
2020 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe00f9d3);
2021 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600f342);
2022 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf235f337);
2023 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf64efb22);
2024 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0105070f);
2025 cx25840_write4(client, DIF_BPF_COEFF3435, 0x0c460fce);
2026 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2027 break;
2028
2029 case 3100000:
2030 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
2031 cx25840_write4(client, DIF_BPF_COEFF23, 0x00070012);
2032 cx25840_write4(client, DIF_BPF_COEFF45, 0x00220032);
2033 cx25840_write4(client, DIF_BPF_COEFF67, 0x00370026);
2034 cx25840_write4(client, DIF_BPF_COEFF89, 0xfff0ff91);
2035 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff0efe7c);
2036 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe01fdcc);
2037 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe0afedb);
2038 cx25840_write4(client, DIF_BPF_COEFF1617, 0x00440224);
2039 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0434060c);
2040 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0738074e);
2041 cx25840_write4(client, DIF_BPF_COEFF2223, 0x06090361);
2042 cx25840_write4(client, DIF_BPF_COEFF2425, 0xff99fb39);
2043 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fef3b6);
2044 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf21af2a5);
2045 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf573fa33);
2046 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0034067d);
2047 cx25840_write4(client, DIF_BPF_COEFF3435, 0x0bfb0fb9);
2048 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2049 break;
2050
2051 case 3200000:
2052 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000000);
2053 cx25840_write4(client, DIF_BPF_COEFF23, 0x0004000e);
2054 cx25840_write4(client, DIF_BPF_COEFF45, 0x00200038);
2055 cx25840_write4(client, DIF_BPF_COEFF67, 0x004c004f);
2056 cx25840_write4(client, DIF_BPF_COEFF89, 0x002fffdf);
2057 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff5cfeb6);
2058 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe0dfd92);
2059 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd7ffe03);
2060 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36010a);
2061 cx25840_write4(client, DIF_BPF_COEFF1819, 0x03410575);
2062 cx25840_write4(client, DIF_BPF_COEFF2021, 0x072607d2);
2063 cx25840_write4(client, DIF_BPF_COEFF2223, 0x071804d5);
2064 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0134fcb7);
2065 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81ff451);
2066 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf223f22e);
2067 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf4a7f94b);
2068 cx25840_write4(client, DIF_BPF_COEFF3233, 0xff6405e8);
2069 cx25840_write4(client, DIF_BPF_COEFF3435, 0x0bae0fa4);
2070 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2071 break;
2072
2073 case 3300000:
2074 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
2075 cx25840_write4(client, DIF_BPF_COEFF23, 0x00000008);
2076 cx25840_write4(client, DIF_BPF_COEFF45, 0x001a0036);
2077 cx25840_write4(client, DIF_BPF_COEFF67, 0x0056006d);
2078 cx25840_write4(client, DIF_BPF_COEFF89, 0x00670030);
2079 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffbdff10);
2080 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe46fd8d);
2081 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd25fd4f);
2082 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35ffe0);
2083 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0224049f);
2084 cx25840_write4(client, DIF_BPF_COEFF2021, 0x06c9080e);
2085 cx25840_write4(client, DIF_BPF_COEFF2223, 0x07ef0627);
2086 cx25840_write4(client, DIF_BPF_COEFF2425, 0x02c9fe45);
2087 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf961f513);
2088 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf250f1d2);
2089 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf3ecf869);
2090 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfe930552);
2091 cx25840_write4(client, DIF_BPF_COEFF3435, 0x0b5f0f8f);
2092 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2093 break;
2094
2095 case 3400000:
2096 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
2097 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffd0001);
2098 cx25840_write4(client, DIF_BPF_COEFF45, 0x000f002c);
2099 cx25840_write4(client, DIF_BPF_COEFF67, 0x0054007d);
2100 cx25840_write4(client, DIF_BPF_COEFF89, 0x0093007c);
2101 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0024ff82);
2102 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfea6fdbb);
2103 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd03fcca);
2104 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51feb9);
2105 cx25840_write4(client, DIF_BPF_COEFF1819, 0x00eb0392);
2106 cx25840_write4(client, DIF_BPF_COEFF2021, 0x06270802);
2107 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08880750);
2108 cx25840_write4(client, DIF_BPF_COEFF2425, 0x044dffdb);
2109 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabdf5f8);
2110 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2a0f193);
2111 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf342f78f);
2112 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfdc404b9);
2113 cx25840_write4(client, DIF_BPF_COEFF3435, 0x0b0e0f78);
2114 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2115 break;
2116
2117 case 3500000:
2118 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
2119 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffafff9);
2120 cx25840_write4(client, DIF_BPF_COEFF45, 0x0002001b);
2121 cx25840_write4(client, DIF_BPF_COEFF67, 0x0046007d);
2122 cx25840_write4(client, DIF_BPF_COEFF89, 0x00ad00ba);
2123 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00870000);
2124 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff26fe1a);
2125 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd1bfc7e);
2126 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fda4);
2127 cx25840_write4(client, DIF_BPF_COEFF1819, 0xffa5025c);
2128 cx25840_write4(client, DIF_BPF_COEFF2021, 0x054507ad);
2129 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08dd0847);
2130 cx25840_write4(client, DIF_BPF_COEFF2425, 0x05b80172);
2131 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2ef6ff);
2132 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf313f170);
2133 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf2abf6bd);
2134 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfcf6041f);
2135 cx25840_write4(client, DIF_BPF_COEFF3435, 0x0abc0f61);
2136 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2137 break;
2138
2139 case 3600000:
2140 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
2141 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff3);
2142 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff50006);
2143 cx25840_write4(client, DIF_BPF_COEFF67, 0x002f006c);
2144 cx25840_write4(client, DIF_BPF_COEFF89, 0x00b200e3);
2145 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00dc007e);
2146 cx25840_write4(client, DIF_BPF_COEFF1213, 0xffb9fea0);
2147 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd6bfc71);
2148 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fcb1);
2149 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe65010b);
2150 cx25840_write4(client, DIF_BPF_COEFF2021, 0x042d0713);
2151 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08ec0906);
2152 cx25840_write4(client, DIF_BPF_COEFF2425, 0x07020302);
2153 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaff823);
2154 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3a7f16a);
2155 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf228f5f5);
2156 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfc2a0384);
2157 cx25840_write4(client, DIF_BPF_COEFF3435, 0x0a670f4a);
2158 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2159 break;
2160
2161 case 3700000:
2162 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
2163 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff7ffef);
2164 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe9fff1);
2165 cx25840_write4(client, DIF_BPF_COEFF67, 0x0010004d);
2166 cx25840_write4(client, DIF_BPF_COEFF89, 0x00a100f2);
2167 cx25840_write4(client, DIF_BPF_COEFF1011, 0x011a00f0);
2168 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0053ff44);
2169 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdedfca2);
2170 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fbef);
2171 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd39ffae);
2172 cx25840_write4(client, DIF_BPF_COEFF2021, 0x02ea0638);
2173 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08b50987);
2174 cx25840_write4(client, DIF_BPF_COEFF2425, 0x08230483);
2175 cx25840_write4(client, DIF_BPF_COEFF2627, 0xff39f960);
2176 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf45bf180);
2177 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf1b8f537);
2178 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfb6102e7);
2179 cx25840_write4(client, DIF_BPF_COEFF3435, 0x0a110f32);
2180 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2181 break;
2182
2183 case 3800000:
2184 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
2185 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9ffee);
2186 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe1ffdd);
2187 cx25840_write4(client, DIF_BPF_COEFF67, 0xfff00024);
2188 cx25840_write4(client, DIF_BPF_COEFF89, 0x007c00e5);
2189 cx25840_write4(client, DIF_BPF_COEFF1011, 0x013a014a);
2190 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00e6fff8);
2191 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe98fd0f);
2192 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fb67);
2193 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc32fe54);
2194 cx25840_write4(client, DIF_BPF_COEFF2021, 0x01880525);
2195 cx25840_write4(client, DIF_BPF_COEFF2223, 0x083909c7);
2196 cx25840_write4(client, DIF_BPF_COEFF2425, 0x091505ee);
2197 cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c7fab3);
2198 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf52df1b4);
2199 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf15df484);
2200 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfa9b0249);
2201 cx25840_write4(client, DIF_BPF_COEFF3435, 0x09ba0f19);
2202 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2203 break;
2204
2205 case 3900000:
2206 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000000);
2207 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffbfff0);
2208 cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffcf);
2209 cx25840_write4(client, DIF_BPF_COEFF67, 0xffd1fff6);
2210 cx25840_write4(client, DIF_BPF_COEFF89, 0x004800be);
2211 cx25840_write4(client, DIF_BPF_COEFF1011, 0x01390184);
2212 cx25840_write4(client, DIF_BPF_COEFF1213, 0x016300ac);
2213 cx25840_write4(client, DIF_BPF_COEFF1415, 0xff5efdb1);
2214 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fb23);
2215 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb5cfd0d);
2216 cx25840_write4(client, DIF_BPF_COEFF2021, 0x001703e4);
2217 cx25840_write4(client, DIF_BPF_COEFF2223, 0x077b09c4);
2218 cx25840_write4(client, DIF_BPF_COEFF2425, 0x09d2073c);
2219 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0251fc18);
2220 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf61cf203);
2221 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf118f3dc);
2222 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf9d801aa);
2223 cx25840_write4(client, DIF_BPF_COEFF3435, 0x09600eff);
2224 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2225 break;
2226
2227 case 4000000:
2228 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
2229 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffefff4);
2230 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe1ffc8);
2231 cx25840_write4(client, DIF_BPF_COEFF67, 0xffbaffca);
2232 cx25840_write4(client, DIF_BPF_COEFF89, 0x000b0082);
2233 cx25840_write4(client, DIF_BPF_COEFF1011, 0x01170198);
2234 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01c10152);
2235 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0030fe7b);
2236 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fb24);
2237 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfac3fbe9);
2238 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfea5027f);
2239 cx25840_write4(client, DIF_BPF_COEFF2223, 0x0683097f);
2240 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a560867);
2241 cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d2fd89);
2242 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf723f26f);
2243 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0e8f341);
2244 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf919010a);
2245 cx25840_write4(client, DIF_BPF_COEFF3435, 0x09060ee5);
2246 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2247 break;
2248
2249 case 4100000:
2250 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
2251 cx25840_write4(client, DIF_BPF_COEFF23, 0x0002fffb);
2252 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe8ffca);
2253 cx25840_write4(client, DIF_BPF_COEFF67, 0xffacffa4);
2254 cx25840_write4(client, DIF_BPF_COEFF89, 0xffcd0036);
2255 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00d70184);
2256 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01f601dc);
2257 cx25840_write4(client, DIF_BPF_COEFF1415, 0x00ffff60);
2258 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fb6d);
2259 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa6efaf5);
2260 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfd410103);
2261 cx25840_write4(client, DIF_BPF_COEFF2223, 0x055708f9);
2262 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a9e0969);
2263 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0543ff02);
2264 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf842f2f5);
2265 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0cef2b2);
2266 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf85e006b);
2267 cx25840_write4(client, DIF_BPF_COEFF3435, 0x08aa0ecb);
2268 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2269 break;
2270
2271 case 4200000:
2272 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010003);
2273 cx25840_write4(client, DIF_BPF_COEFF23, 0x00050003);
2274 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff3ffd3);
2275 cx25840_write4(client, DIF_BPF_COEFF67, 0xffaaff8b);
2276 cx25840_write4(client, DIF_BPF_COEFF89, 0xff95ffe5);
2277 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0080014a);
2278 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01fe023f);
2279 cx25840_write4(client, DIF_BPF_COEFF1415, 0x01ba0050);
2280 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fbf8);
2281 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa62fa3b);
2282 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfbf9ff7e);
2283 cx25840_write4(client, DIF_BPF_COEFF2223, 0x04010836);
2284 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0aa90a3d);
2285 cx25840_write4(client, DIF_BPF_COEFF2627, 0x069f007f);
2286 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf975f395);
2287 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0cbf231);
2288 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf7a9ffcb);
2289 cx25840_write4(client, DIF_BPF_COEFF3435, 0x084c0eaf);
2290 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2291 break;
2292
2293 case 4300000:
2294 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010003);
2295 cx25840_write4(client, DIF_BPF_COEFF23, 0x0008000a);
2296 cx25840_write4(client, DIF_BPF_COEFF45, 0x0000ffe4);
2297 cx25840_write4(client, DIF_BPF_COEFF67, 0xffb4ff81);
2298 cx25840_write4(client, DIF_BPF_COEFF89, 0xff6aff96);
2299 cx25840_write4(client, DIF_BPF_COEFF1011, 0x001c00f0);
2300 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01d70271);
2301 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0254013b);
2302 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fcbd);
2303 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa9ff9c5);
2304 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfadbfdfe);
2305 cx25840_write4(client, DIF_BPF_COEFF2223, 0x028c073b);
2306 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a750adf);
2307 cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e101fa);
2308 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfab8f44e);
2309 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0ddf1be);
2310 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf6f9ff2b);
2311 cx25840_write4(client, DIF_BPF_COEFF3435, 0x07ed0e94);
2312 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2313 break;
2314
2315 case 4400000:
2316 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
2317 cx25840_write4(client, DIF_BPF_COEFF23, 0x0009000f);
2318 cx25840_write4(client, DIF_BPF_COEFF45, 0x000efff8);
2319 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9ff87);
2320 cx25840_write4(client, DIF_BPF_COEFF89, 0xff52ff54);
2321 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffb5007e);
2322 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01860270);
2323 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02c00210);
2324 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fdb2);
2325 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb22f997);
2326 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9f2fc90);
2327 cx25840_write4(client, DIF_BPF_COEFF2223, 0x0102060f);
2328 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a050b4c);
2329 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0902036e);
2330 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfc0af51e);
2331 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf106f15a);
2332 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf64efe8b);
2333 cx25840_write4(client, DIF_BPF_COEFF3435, 0x078d0e77);
2334 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2335 break;
2336
2337 case 4500000:
2338 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
2339 cx25840_write4(client, DIF_BPF_COEFF23, 0x00080012);
2340 cx25840_write4(client, DIF_BPF_COEFF45, 0x0019000e);
2341 cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5ff9e);
2342 cx25840_write4(client, DIF_BPF_COEFF89, 0xff4fff25);
2343 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff560000);
2344 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0112023b);
2345 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f702c0);
2346 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfec8);
2347 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfbe5f9b3);
2348 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf947fb41);
2349 cx25840_write4(client, DIF_BPF_COEFF2223, 0xff7004b9);
2350 cx25840_write4(client, DIF_BPF_COEFF2425, 0x095a0b81);
2351 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a0004d8);
2352 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfd65f603);
2353 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf144f104);
2354 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf5aafdec);
2355 cx25840_write4(client, DIF_BPF_COEFF3435, 0x072b0e5a);
2356 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2357 break;
2358
2359 case 4600000:
2360 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
2361 cx25840_write4(client, DIF_BPF_COEFF23, 0x00060012);
2362 cx25840_write4(client, DIF_BPF_COEFF45, 0x00200022);
2363 cx25840_write4(client, DIF_BPF_COEFF67, 0x0005ffc1);
2364 cx25840_write4(client, DIF_BPF_COEFF89, 0xff61ff10);
2365 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff09ff82);
2366 cx25840_write4(client, DIF_BPF_COEFF1213, 0x008601d7);
2367 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f50340);
2368 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fff0);
2369 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfcddfa19);
2370 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8e2fa1e);
2371 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfde30343);
2372 cx25840_write4(client, DIF_BPF_COEFF2425, 0x08790b7f);
2373 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad50631);
2374 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfec7f6fc);
2375 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf198f0bd);
2376 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf50dfd4e);
2377 cx25840_write4(client, DIF_BPF_COEFF3435, 0x06c90e3d);
2378 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2379 break;
2380
2381 case 4700000:
2382 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
2383 cx25840_write4(client, DIF_BPF_COEFF23, 0x0003000f);
2384 cx25840_write4(client, DIF_BPF_COEFF45, 0x00220030);
2385 cx25840_write4(client, DIF_BPF_COEFF67, 0x0025ffed);
2386 cx25840_write4(client, DIF_BPF_COEFF89, 0xff87ff15);
2387 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed6ff10);
2388 cx25840_write4(client, DIF_BPF_COEFF1213, 0xffed014c);
2389 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02b90386);
2390 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03110119);
2391 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfdfefac4);
2392 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8c6f92f);
2393 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfc6701b7);
2394 cx25840_write4(client, DIF_BPF_COEFF2425, 0x07670b44);
2395 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7e0776);
2396 cx25840_write4(client, DIF_BPF_COEFF2829, 0x002df807);
2397 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf200f086);
2398 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf477fcb1);
2399 cx25840_write4(client, DIF_BPF_COEFF3435, 0x06650e1e);
2400 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2401 break;
2402
2403 case 4800000:
2404 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
2405 cx25840_write4(client, DIF_BPF_COEFF23, 0xffff0009);
2406 cx25840_write4(client, DIF_BPF_COEFF45, 0x001e0038);
2407 cx25840_write4(client, DIF_BPF_COEFF67, 0x003f001b);
2408 cx25840_write4(client, DIF_BPF_COEFF89, 0xffbcff36);
2409 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec2feb6);
2410 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff5600a5);
2411 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0248038d);
2412 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b00232);
2413 cx25840_write4(client, DIF_BPF_COEFF1819, 0xff39fbab);
2414 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8f4f87f);
2415 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb060020);
2416 cx25840_write4(client, DIF_BPF_COEFF2425, 0x062a0ad2);
2417 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf908a3);
2418 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0192f922);
2419 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf27df05e);
2420 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf3e8fc14);
2421 cx25840_write4(client, DIF_BPF_COEFF3435, 0x06000e00);
2422 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2423 break;
2424
2425 case 4900000:
2426 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
2427 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffc0002);
2428 cx25840_write4(client, DIF_BPF_COEFF45, 0x00160037);
2429 cx25840_write4(client, DIF_BPF_COEFF67, 0x00510046);
2430 cx25840_write4(client, DIF_BPF_COEFF89, 0xfff9ff6d);
2431 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed0fe7c);
2432 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfecefff0);
2433 cx25840_write4(client, DIF_BPF_COEFF1415, 0x01aa0356);
2434 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413032b);
2435 cx25840_write4(client, DIF_BPF_COEFF1819, 0x007ffcc5);
2436 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf96cf812);
2437 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf9cefe87);
2438 cx25840_write4(client, DIF_BPF_COEFF2425, 0x04c90a2c);
2439 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c4309b4);
2440 cx25840_write4(client, DIF_BPF_COEFF2829, 0x02f3fa4a);
2441 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf30ef046);
2442 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf361fb7a);
2443 cx25840_write4(client, DIF_BPF_COEFF3435, 0x059b0de0);
2444 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2445 break;
2446
2447 case 5000000:
2448 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
2449 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fffa);
2450 cx25840_write4(client, DIF_BPF_COEFF45, 0x000a002d);
2451 cx25840_write4(client, DIF_BPF_COEFF67, 0x00570067);
2452 cx25840_write4(client, DIF_BPF_COEFF89, 0x0037ffb5);
2453 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfefffe68);
2454 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe62ff3d);
2455 cx25840_write4(client, DIF_BPF_COEFF1415, 0x00ec02e3);
2456 cx25840_write4(client, DIF_BPF_COEFF1617, 0x043503f6);
2457 cx25840_write4(client, DIF_BPF_COEFF1819, 0x01befe05);
2458 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa27f7ee);
2459 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf8c6fcf8);
2460 cx25840_write4(client, DIF_BPF_COEFF2425, 0x034c0954);
2461 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c5c0aa4);
2462 cx25840_write4(client, DIF_BPF_COEFF2829, 0x044cfb7e);
2463 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf3b1f03f);
2464 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf2e2fae1);
2465 cx25840_write4(client, DIF_BPF_COEFF3435, 0x05340dc0);
2466 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2467 break;
2468
2469 case 5100000:
2470 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
2471 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff4);
2472 cx25840_write4(client, DIF_BPF_COEFF45, 0xfffd001e);
2473 cx25840_write4(client, DIF_BPF_COEFF67, 0x0051007b);
2474 cx25840_write4(client, DIF_BPF_COEFF89, 0x006e0006);
2475 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff48fe7c);
2476 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe1bfe9a);
2477 cx25840_write4(client, DIF_BPF_COEFF1415, 0x001d023e);
2478 cx25840_write4(client, DIF_BPF_COEFF1617, 0x04130488);
2479 cx25840_write4(client, DIF_BPF_COEFF1819, 0x02e6ff5b);
2480 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfb1ef812);
2481 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7f7fb7f);
2482 cx25840_write4(client, DIF_BPF_COEFF2425, 0x01bc084e);
2483 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c430b72);
2484 cx25840_write4(client, DIF_BPF_COEFF2829, 0x059afcba);
2485 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf467f046);
2486 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf26cfa4a);
2487 cx25840_write4(client, DIF_BPF_COEFF3435, 0x04cd0da0);
2488 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2489 break;
2490
2491 case 5200000:
2492 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
2493 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8ffef);
2494 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff00009);
2495 cx25840_write4(client, DIF_BPF_COEFF67, 0x003f007f);
2496 cx25840_write4(client, DIF_BPF_COEFF89, 0x00980056);
2497 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffa5feb6);
2498 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe00fe15);
2499 cx25840_write4(client, DIF_BPF_COEFF1415, 0xff4b0170);
2500 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b004d7);
2501 cx25840_write4(client, DIF_BPF_COEFF1819, 0x03e800b9);
2502 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfc48f87f);
2503 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf768fa23);
2504 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0022071f);
2505 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf90c1b);
2506 cx25840_write4(client, DIF_BPF_COEFF2829, 0x06dafdfd);
2507 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf52df05e);
2508 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf1fef9b5);
2509 cx25840_write4(client, DIF_BPF_COEFF3435, 0x04640d7f);
2510 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2511 break;
2512
2513 case 5300000:
2514 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
2515 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9ffee);
2516 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe6fff3);
2517 cx25840_write4(client, DIF_BPF_COEFF67, 0x00250072);
2518 cx25840_write4(client, DIF_BPF_COEFF89, 0x00af009c);
2519 cx25840_write4(client, DIF_BPF_COEFF1011, 0x000cff10);
2520 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe13fdb8);
2521 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe870089);
2522 cx25840_write4(client, DIF_BPF_COEFF1617, 0x031104e1);
2523 cx25840_write4(client, DIF_BPF_COEFF1819, 0x04b8020f);
2524 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfd98f92f);
2525 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf71df8f0);
2526 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe8805ce);
2527 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7e0c9c);
2528 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0808ff44);
2529 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf603f086);
2530 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf19af922);
2531 cx25840_write4(client, DIF_BPF_COEFF3435, 0x03fb0d5e);
2532 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2533 break;
2534
2535 case 5400000:
2536 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
2537 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffcffef);
2538 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe0ffe0);
2539 cx25840_write4(client, DIF_BPF_COEFF67, 0x00050056);
2540 cx25840_write4(client, DIF_BPF_COEFF89, 0x00b000d1);
2541 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0071ff82);
2542 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe53fd8c);
2543 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfddfff99);
2544 cx25840_write4(client, DIF_BPF_COEFF1617, 0x024104a3);
2545 cx25840_write4(client, DIF_BPF_COEFF1819, 0x054a034d);
2546 cx25840_write4(client, DIF_BPF_COEFF2021, 0xff01fa1e);
2547 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf717f7ed);
2548 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfcf50461);
2549 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad50cf4);
2550 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0921008d);
2551 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf6e7f0bd);
2552 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf13ff891);
2553 cx25840_write4(client, DIF_BPF_COEFF3435, 0x03920d3b);
2554 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2555 break;
2556
2557 case 5500000:
2558 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
2559 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffffff3);
2560 cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffd1);
2561 cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5002f);
2562 cx25840_write4(client, DIF_BPF_COEFF89, 0x009c00ed);
2563 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00cb0000);
2564 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfebafd94);
2565 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd61feb0);
2566 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d0422);
2567 cx25840_write4(client, DIF_BPF_COEFF1819, 0x05970464);
2568 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0074fb41);
2569 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf759f721);
2570 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfb7502de);
2571 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a000d21);
2572 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0a2201d4);
2573 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf7d9f104);
2574 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf0edf804);
2575 cx25840_write4(client, DIF_BPF_COEFF3435, 0x03280d19);
2576 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2577 break;
2578
2579 case 5600000:
2580 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010003);
2581 cx25840_write4(client, DIF_BPF_COEFF23, 0x0003fffa);
2582 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe3ffc9);
2583 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc90002);
2584 cx25840_write4(client, DIF_BPF_COEFF89, 0x007500ef);
2585 cx25840_write4(client, DIF_BPF_COEFF1011, 0x010e007e);
2586 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff3dfdcf);
2587 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd16fddd);
2588 cx25840_write4(client, DIF_BPF_COEFF1617, 0x00440365);
2589 cx25840_write4(client, DIF_BPF_COEFF1819, 0x059b0548);
2590 cx25840_write4(client, DIF_BPF_COEFF2021, 0x01e3fc90);
2591 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7dff691);
2592 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfa0f014d);
2593 cx25840_write4(client, DIF_BPF_COEFF2627, 0x09020d23);
2594 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0b0a0318);
2595 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf8d7f15a);
2596 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf0a5f779);
2597 cx25840_write4(client, DIF_BPF_COEFF3435, 0x02bd0cf6);
2598 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2599 break;
2600
2601 case 5700000:
2602 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010003);
2603 cx25840_write4(client, DIF_BPF_COEFF23, 0x00060001);
2604 cx25840_write4(client, DIF_BPF_COEFF45, 0xffecffc9);
2605 cx25840_write4(client, DIF_BPF_COEFF67, 0xffb4ffd4);
2606 cx25840_write4(client, DIF_BPF_COEFF89, 0x004000d5);
2607 cx25840_write4(client, DIF_BPF_COEFF1011, 0x013600f0);
2608 cx25840_write4(client, DIF_BPF_COEFF1213, 0xffd3fe39);
2609 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd04fd31);
2610 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff360277);
2611 cx25840_write4(client, DIF_BPF_COEFF1819, 0x055605ef);
2612 cx25840_write4(client, DIF_BPF_COEFF2021, 0x033efdfe);
2613 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf8a5f642);
2614 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf8cbffb6);
2615 cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e10cfb);
2616 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0bd50456);
2617 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf9dff1be);
2618 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf067f6f2);
2619 cx25840_write4(client, DIF_BPF_COEFF3435, 0x02520cd2);
2620 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2621 break;
2622
2623 case 5800000:
2624 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
2625 cx25840_write4(client, DIF_BPF_COEFF23, 0x00080009);
2626 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff8ffd2);
2627 cx25840_write4(client, DIF_BPF_COEFF67, 0xffaaffac);
2628 cx25840_write4(client, DIF_BPF_COEFF89, 0x000200a3);
2629 cx25840_write4(client, DIF_BPF_COEFF1011, 0x013c014a);
2630 cx25840_write4(client, DIF_BPF_COEFF1213, 0x006dfec9);
2631 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd2bfcb7);
2632 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe350165);
2633 cx25840_write4(client, DIF_BPF_COEFF1819, 0x04cb0651);
2634 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0477ff7e);
2635 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf9a5f635);
2636 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf7b1fe20);
2637 cx25840_write4(client, DIF_BPF_COEFF2627, 0x069f0ca8);
2638 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0c81058b);
2639 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfaf0f231);
2640 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf033f66d);
2641 cx25840_write4(client, DIF_BPF_COEFF3435, 0x01e60cae);
2642 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2643 break;
2644
2645 case 5900000:
2646 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
2647 cx25840_write4(client, DIF_BPF_COEFF23, 0x0009000e);
2648 cx25840_write4(client, DIF_BPF_COEFF45, 0x0005ffe1);
2649 cx25840_write4(client, DIF_BPF_COEFF67, 0xffacff90);
2650 cx25840_write4(client, DIF_BPF_COEFF89, 0xffc5005f);
2651 cx25840_write4(client, DIF_BPF_COEFF1011, 0x01210184);
2652 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00fcff72);
2653 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd8afc77);
2654 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51003f);
2655 cx25840_write4(client, DIF_BPF_COEFF1819, 0x04020669);
2656 cx25840_write4(client, DIF_BPF_COEFF2021, 0x05830103);
2657 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfad7f66b);
2658 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf6c8fc93);
2659 cx25840_write4(client, DIF_BPF_COEFF2627, 0x05430c2b);
2660 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d0d06b5);
2661 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfc08f2b2);
2662 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf00af5ec);
2663 cx25840_write4(client, DIF_BPF_COEFF3435, 0x017b0c89);
2664 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2665 break;
2666
2667 case 6000000:
2668 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
2669 cx25840_write4(client, DIF_BPF_COEFF23, 0x00070012);
2670 cx25840_write4(client, DIF_BPF_COEFF45, 0x0012fff5);
2671 cx25840_write4(client, DIF_BPF_COEFF67, 0xffbaff82);
2672 cx25840_write4(client, DIF_BPF_COEFF89, 0xff8e000f);
2673 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00e80198);
2674 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01750028);
2675 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe18fc75);
2676 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99ff15);
2677 cx25840_write4(client, DIF_BPF_COEFF1819, 0x03050636);
2678 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0656027f);
2679 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfc32f6e2);
2680 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf614fb17);
2681 cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d20b87);
2682 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d7707d2);
2683 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfd26f341);
2684 cx25840_write4(client, DIF_BPF_COEFF3233, 0xefeaf56f);
2685 cx25840_write4(client, DIF_BPF_COEFF3435, 0x010f0c64);
2686 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2687 break;
2688
2689 case 6100000:
2690 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
2691 cx25840_write4(client, DIF_BPF_COEFF23, 0x00050012);
2692 cx25840_write4(client, DIF_BPF_COEFF45, 0x001c000b);
2693 cx25840_write4(client, DIF_BPF_COEFF67, 0xffd1ff84);
2694 cx25840_write4(client, DIF_BPF_COEFF89, 0xff66ffbe);
2695 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00960184);
2696 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01cd00da);
2697 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfeccfcb2);
2698 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fdf9);
2699 cx25840_write4(client, DIF_BPF_COEFF1819, 0x01e005bc);
2700 cx25840_write4(client, DIF_BPF_COEFF2021, 0x06e703e4);
2701 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfdabf798);
2702 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf599f9b3);
2703 cx25840_write4(client, DIF_BPF_COEFF2627, 0x02510abd);
2704 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0dbf08df);
2705 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfe48f3dc);
2706 cx25840_write4(client, DIF_BPF_COEFF3233, 0xefd5f4f6);
2707 cx25840_write4(client, DIF_BPF_COEFF3435, 0x00a20c3e);
2708 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2709 break;
2710
2711 case 6200000:
2712 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
2713 cx25840_write4(client, DIF_BPF_COEFF23, 0x0002000f);
2714 cx25840_write4(client, DIF_BPF_COEFF45, 0x0021001f);
2715 cx25840_write4(client, DIF_BPF_COEFF67, 0xfff0ff97);
2716 cx25840_write4(client, DIF_BPF_COEFF89, 0xff50ff74);
2717 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0034014a);
2718 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01fa0179);
2719 cx25840_write4(client, DIF_BPF_COEFF1415, 0xff97fd2a);
2720 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fcfa);
2721 cx25840_write4(client, DIF_BPF_COEFF1819, 0x00a304fe);
2722 cx25840_write4(client, DIF_BPF_COEFF2021, 0x07310525);
2723 cx25840_write4(client, DIF_BPF_COEFF2223, 0xff37f886);
2724 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf55cf86e);
2725 cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c709d0);
2726 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0de209db);
2727 cx25840_write4(client, DIF_BPF_COEFF3031, 0xff6df484);
2728 cx25840_write4(client, DIF_BPF_COEFF3233, 0xefcbf481);
2729 cx25840_write4(client, DIF_BPF_COEFF3435, 0x00360c18);
2730 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2731 break;
2732
2733 case 6300000:
2734 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
2735 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffe000a);
2736 cx25840_write4(client, DIF_BPF_COEFF45, 0x0021002f);
2737 cx25840_write4(client, DIF_BPF_COEFF67, 0x0010ffb8);
2738 cx25840_write4(client, DIF_BPF_COEFF89, 0xff50ff3b);
2739 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffcc00f0);
2740 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01fa01fa);
2741 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0069fdd4);
2742 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fc26);
2743 cx25840_write4(client, DIF_BPF_COEFF1819, 0xff5d0407);
2744 cx25840_write4(client, DIF_BPF_COEFF2021, 0x07310638);
2745 cx25840_write4(client, DIF_BPF_COEFF2223, 0x00c9f9a8);
2746 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf55cf74e);
2747 cx25840_write4(client, DIF_BPF_COEFF2627, 0xff3908c3);
2748 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0de20ac3);
2749 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0093f537);
2750 cx25840_write4(client, DIF_BPF_COEFF3233, 0xefcbf410);
2751 cx25840_write4(client, DIF_BPF_COEFF3435, 0xffca0bf2);
2752 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2753 break;
2754
2755 case 6400000:
2756 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
2757 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffb0003);
2758 cx25840_write4(client, DIF_BPF_COEFF45, 0x001c0037);
2759 cx25840_write4(client, DIF_BPF_COEFF67, 0x002fffe2);
2760 cx25840_write4(client, DIF_BPF_COEFF89, 0xff66ff17);
2761 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff6a007e);
2762 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01cd0251);
2763 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0134fea5);
2764 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fb8b);
2765 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe2002e0);
2766 cx25840_write4(client, DIF_BPF_COEFF2021, 0x06e70713);
2767 cx25840_write4(client, DIF_BPF_COEFF2223, 0x0255faf5);
2768 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf599f658);
2769 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaf0799);
2770 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0dbf0b96);
2771 cx25840_write4(client, DIF_BPF_COEFF3031, 0x01b8f5f5);
2772 cx25840_write4(client, DIF_BPF_COEFF3233, 0xefd5f3a3);
2773 cx25840_write4(client, DIF_BPF_COEFF3435, 0xff5e0bca);
2774 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2775 break;
2776
2777 case 6500000:
2778 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
2779 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fffb);
2780 cx25840_write4(client, DIF_BPF_COEFF45, 0x00120037);
2781 cx25840_write4(client, DIF_BPF_COEFF67, 0x00460010);
2782 cx25840_write4(client, DIF_BPF_COEFF89, 0xff8eff0f);
2783 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff180000);
2784 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01750276);
2785 cx25840_write4(client, DIF_BPF_COEFF1415, 0x01e8ff8d);
2786 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fb31);
2787 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfcfb0198);
2788 cx25840_write4(client, DIF_BPF_COEFF2021, 0x065607ad);
2789 cx25840_write4(client, DIF_BPF_COEFF2223, 0x03cefc64);
2790 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf614f592);
2791 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2e0656);
2792 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d770c52);
2793 cx25840_write4(client, DIF_BPF_COEFF3031, 0x02daf6bd);
2794 cx25840_write4(client, DIF_BPF_COEFF3233, 0xefeaf33b);
2795 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfef10ba3);
2796 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2797 break;
2798
2799 case 6600000:
2800 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
2801 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff7fff5);
2802 cx25840_write4(client, DIF_BPF_COEFF45, 0x0005002f);
2803 cx25840_write4(client, DIF_BPF_COEFF67, 0x0054003c);
2804 cx25840_write4(client, DIF_BPF_COEFF89, 0xffc5ff22);
2805 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfedfff82);
2806 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00fc0267);
2807 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0276007e);
2808 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fb1c);
2809 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfbfe003e);
2810 cx25840_write4(client, DIF_BPF_COEFF2021, 0x05830802);
2811 cx25840_write4(client, DIF_BPF_COEFF2223, 0x0529fdec);
2812 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf6c8f4fe);
2813 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabd04ff);
2814 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d0d0cf6);
2815 cx25840_write4(client, DIF_BPF_COEFF3031, 0x03f8f78f);
2816 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf00af2d7);
2817 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfe850b7b);
2818 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2819 break;
2820
2821 case 6700000:
2822 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
2823 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff0);
2824 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff80020);
2825 cx25840_write4(client, DIF_BPF_COEFF67, 0x00560060);
2826 cx25840_write4(client, DIF_BPF_COEFF89, 0x0002ff4e);
2827 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec4ff10);
2828 cx25840_write4(client, DIF_BPF_COEFF1213, 0x006d0225);
2829 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02d50166);
2830 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fb4e);
2831 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb35fee1);
2832 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0477080e);
2833 cx25840_write4(client, DIF_BPF_COEFF2223, 0x065bff82);
2834 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf7b1f4a0);
2835 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf9610397);
2836 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0c810d80);
2837 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0510f869);
2838 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf033f278);
2839 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfe1a0b52);
2840 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2841 break;
2842
2843 case 6800000:
2844 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
2845 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffaffee);
2846 cx25840_write4(client, DIF_BPF_COEFF45, 0xffec000c);
2847 cx25840_write4(client, DIF_BPF_COEFF67, 0x004c0078);
2848 cx25840_write4(client, DIF_BPF_COEFF89, 0x0040ff8e);
2849 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfecafeb6);
2850 cx25840_write4(client, DIF_BPF_COEFF1213, 0xffd301b6);
2851 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02fc0235);
2852 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fbc5);
2853 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfaaafd90);
2854 cx25840_write4(client, DIF_BPF_COEFF2021, 0x033e07d2);
2855 cx25840_write4(client, DIF_BPF_COEFF2223, 0x075b011b);
2856 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf8cbf47a);
2857 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81f0224);
2858 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0bd50def);
2859 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0621f94b);
2860 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf067f21e);
2861 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfdae0b29);
2862 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2863 break;
2864
2865 case 6900000:
2866 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
2867 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffdffef);
2868 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe3fff6);
2869 cx25840_write4(client, DIF_BPF_COEFF67, 0x0037007f);
2870 cx25840_write4(client, DIF_BPF_COEFF89, 0x0075ffdc);
2871 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfef2fe7c);
2872 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff3d0122);
2873 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02ea02dd);
2874 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fc79);
2875 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa65fc5d);
2876 cx25840_write4(client, DIF_BPF_COEFF2021, 0x01e3074e);
2877 cx25840_write4(client, DIF_BPF_COEFF2223, 0x082102ad);
2878 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfa0ff48c);
2879 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fe00a9);
2880 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0b0a0e43);
2881 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0729fa33);
2882 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf0a5f1c9);
2883 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfd430b00);
2884 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2885 break;
2886
2887 case 7000000:
2888 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
2889 cx25840_write4(client, DIF_BPF_COEFF23, 0x0001fff3);
2890 cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffe2);
2891 cx25840_write4(client, DIF_BPF_COEFF67, 0x001b0076);
2892 cx25840_write4(client, DIF_BPF_COEFF89, 0x009c002d);
2893 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff35fe68);
2894 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfeba0076);
2895 cx25840_write4(client, DIF_BPF_COEFF1415, 0x029f0352);
2896 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfd60);
2897 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa69fb53);
2898 cx25840_write4(client, DIF_BPF_COEFF2021, 0x00740688);
2899 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08a7042d);
2900 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfb75f4d6);
2901 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600ff2d);
2902 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0a220e7a);
2903 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0827fb22);
2904 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf0edf17a);
2905 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfcd80ad6);
2906 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2907 break;
2908
2909 case 7100000:
2910 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
2911 cx25840_write4(client, DIF_BPF_COEFF23, 0x0004fff9);
2912 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe0ffd2);
2913 cx25840_write4(client, DIF_BPF_COEFF67, 0xfffb005e);
2914 cx25840_write4(client, DIF_BPF_COEFF89, 0x00b0007a);
2915 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff8ffe7c);
2916 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe53ffc1);
2917 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0221038c);
2918 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fe6e);
2919 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfab6fa80);
2920 cx25840_write4(client, DIF_BPF_COEFF2021, 0xff010587);
2921 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08e90590);
2922 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfcf5f556);
2923 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf52bfdb3);
2924 cx25840_write4(client, DIF_BPF_COEFF2829, 0x09210e95);
2925 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0919fc15);
2926 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf13ff12f);
2927 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfc6e0aab);
2928 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2929 break;
2930
2931 case 7200000:
2932 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
2933 cx25840_write4(client, DIF_BPF_COEFF23, 0x00070000);
2934 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe6ffc9);
2935 cx25840_write4(client, DIF_BPF_COEFF67, 0xffdb0039);
2936 cx25840_write4(client, DIF_BPF_COEFF89, 0x00af00b8);
2937 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfff4feb6);
2938 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe13ff10);
2939 cx25840_write4(client, DIF_BPF_COEFF1415, 0x01790388);
2940 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0311ff92);
2941 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb48f9ed);
2942 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfd980453);
2943 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08e306cd);
2944 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe88f60a);
2945 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf482fc40);
2946 cx25840_write4(client, DIF_BPF_COEFF2829, 0x08080e93);
2947 cx25840_write4(client, DIF_BPF_COEFF3031, 0x09fdfd0c);
2948 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf19af0ea);
2949 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfc050a81);
2950 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2951 break;
2952
2953 case 7300000:
2954 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
2955 cx25840_write4(client, DIF_BPF_COEFF23, 0x00080008);
2956 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff0ffc9);
2957 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc1000d);
2958 cx25840_write4(client, DIF_BPF_COEFF89, 0x009800e2);
2959 cx25840_write4(client, DIF_BPF_COEFF1011, 0x005bff10);
2960 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe00fe74);
2961 cx25840_write4(client, DIF_BPF_COEFF1415, 0x00b50345);
2962 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b000bc);
2963 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc18f9a1);
2964 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfc4802f9);
2965 cx25840_write4(client, DIF_BPF_COEFF2223, 0x089807dc);
2966 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0022f6f0);
2967 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf407fada);
2968 cx25840_write4(client, DIF_BPF_COEFF2829, 0x06da0e74);
2969 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0ad3fe06);
2970 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf1fef0ab);
2971 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfb9c0a55);
2972 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2973 break;
2974
2975 case 7400000:
2976 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
2977 cx25840_write4(client, DIF_BPF_COEFF23, 0x0008000e);
2978 cx25840_write4(client, DIF_BPF_COEFF45, 0xfffdffd0);
2979 cx25840_write4(client, DIF_BPF_COEFF67, 0xffafffdf);
2980 cx25840_write4(client, DIF_BPF_COEFF89, 0x006e00f2);
2981 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00b8ff82);
2982 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe1bfdf8);
2983 cx25840_write4(client, DIF_BPF_COEFF1415, 0xffe302c8);
2984 cx25840_write4(client, DIF_BPF_COEFF1617, 0x041301dc);
2985 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd1af99e);
2986 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfb1e0183);
2987 cx25840_write4(client, DIF_BPF_COEFF2223, 0x080908b5);
2988 cx25840_write4(client, DIF_BPF_COEFF2425, 0x01bcf801);
2989 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3bdf985);
2990 cx25840_write4(client, DIF_BPF_COEFF2829, 0x059a0e38);
2991 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0b99ff03);
2992 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf26cf071);
2993 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfb330a2a);
2994 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
2995 break;
2996
2997 case 7500000:
2998 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
2999 cx25840_write4(client, DIF_BPF_COEFF23, 0x00070011);
3000 cx25840_write4(client, DIF_BPF_COEFF45, 0x000affdf);
3001 cx25840_write4(client, DIF_BPF_COEFF67, 0xffa9ffb5);
3002 cx25840_write4(client, DIF_BPF_COEFF89, 0x003700e6);
3003 cx25840_write4(client, DIF_BPF_COEFF1011, 0x01010000);
3004 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe62fda8);
3005 cx25840_write4(client, DIF_BPF_COEFF1415, 0xff140219);
3006 cx25840_write4(client, DIF_BPF_COEFF1617, 0x043502e1);
3007 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe42f9e6);
3008 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa270000);
3009 cx25840_write4(client, DIF_BPF_COEFF2223, 0x073a0953);
3010 cx25840_write4(client, DIF_BPF_COEFF2425, 0x034cf939);
3011 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3a4f845);
3012 cx25840_write4(client, DIF_BPF_COEFF2829, 0x044c0de1);
3013 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0c4f0000);
3014 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf2e2f03c);
3015 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfacc09fe);
3016 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3017 break;
3018
3019 case 7600000:
3020 cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
3021 cx25840_write4(client, DIF_BPF_COEFF23, 0x00040012);
3022 cx25840_write4(client, DIF_BPF_COEFF45, 0x0016fff3);
3023 cx25840_write4(client, DIF_BPF_COEFF67, 0xffafff95);
3024 cx25840_write4(client, DIF_BPF_COEFF89, 0xfff900c0);
3025 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0130007e);
3026 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfecefd89);
3027 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe560146);
3028 cx25840_write4(client, DIF_BPF_COEFF1617, 0x041303bc);
3029 cx25840_write4(client, DIF_BPF_COEFF1819, 0xff81fa76);
3030 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf96cfe7d);
3031 cx25840_write4(client, DIF_BPF_COEFF2223, 0x063209b1);
3032 cx25840_write4(client, DIF_BPF_COEFF2425, 0x04c9fa93);
3033 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3bdf71e);
3034 cx25840_write4(client, DIF_BPF_COEFF2829, 0x02f30d6e);
3035 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0cf200fd);
3036 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf361f00e);
3037 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfa6509d1);
3038 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3039 break;
3040
3041 case 7700000:
3042 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
3043 cx25840_write4(client, DIF_BPF_COEFF23, 0x00010010);
3044 cx25840_write4(client, DIF_BPF_COEFF45, 0x001e0008);
3045 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc1ff84);
3046 cx25840_write4(client, DIF_BPF_COEFF89, 0xffbc0084);
3047 cx25840_write4(client, DIF_BPF_COEFF1011, 0x013e00f0);
3048 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff56fd9f);
3049 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdb8005c);
3050 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b00460);
3051 cx25840_write4(client, DIF_BPF_COEFF1819, 0x00c7fb45);
3052 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8f4fd07);
3053 cx25840_write4(client, DIF_BPF_COEFF2223, 0x04fa09ce);
3054 cx25840_write4(client, DIF_BPF_COEFF2425, 0x062afc07);
3055 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf407f614);
3056 cx25840_write4(client, DIF_BPF_COEFF2829, 0x01920ce0);
3057 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0d8301fa);
3058 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf3e8efe5);
3059 cx25840_write4(client, DIF_BPF_COEFF3435, 0xfa0009a4);
3060 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3061 break;
3062
3063 case 7800000:
3064 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
3065 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffd000b);
3066 cx25840_write4(client, DIF_BPF_COEFF45, 0x0022001d);
3067 cx25840_write4(client, DIF_BPF_COEFF67, 0xffdbff82);
3068 cx25840_write4(client, DIF_BPF_COEFF89, 0xff870039);
3069 cx25840_write4(client, DIF_BPF_COEFF1011, 0x012a014a);
3070 cx25840_write4(client, DIF_BPF_COEFF1213, 0xffedfde7);
3071 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd47ff6b);
3072 cx25840_write4(client, DIF_BPF_COEFF1617, 0x031104c6);
3073 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0202fc4c);
3074 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8c6fbad);
3075 cx25840_write4(client, DIF_BPF_COEFF2223, 0x039909a7);
3076 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0767fd8e);
3077 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf482f52b);
3078 cx25840_write4(client, DIF_BPF_COEFF2829, 0x002d0c39);
3079 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0e0002f4);
3080 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf477efc2);
3081 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf99b0977);
3082 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3083 break;
3084
3085 case 7900000:
3086 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
3087 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffa0004);
3088 cx25840_write4(client, DIF_BPF_COEFF45, 0x0020002d);
3089 cx25840_write4(client, DIF_BPF_COEFF67, 0xfffbff91);
3090 cx25840_write4(client, DIF_BPF_COEFF89, 0xff61ffe8);
3091 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00f70184);
3092 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0086fe5c);
3093 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd0bfe85);
3094 cx25840_write4(client, DIF_BPF_COEFF1617, 0x024104e5);
3095 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0323fd7d);
3096 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8e2fa79);
3097 cx25840_write4(client, DIF_BPF_COEFF2223, 0x021d093f);
3098 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0879ff22);
3099 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf52bf465);
3100 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfec70b79);
3101 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0e6803eb);
3102 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf50defa5);
3103 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf937094a);
3104 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3105 break;
3106
3107 case 8000000:
3108 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
3109 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fffd);
3110 cx25840_write4(client, DIF_BPF_COEFF45, 0x00190036);
3111 cx25840_write4(client, DIF_BPF_COEFF67, 0x001bffaf);
3112 cx25840_write4(client, DIF_BPF_COEFF89, 0xff4fff99);
3113 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00aa0198);
3114 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0112fef3);
3115 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd09fdb9);
3116 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d04be);
3117 cx25840_write4(client, DIF_BPF_COEFF1819, 0x041bfecc);
3118 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf947f978);
3119 cx25840_write4(client, DIF_BPF_COEFF2223, 0x00900897);
3120 cx25840_write4(client, DIF_BPF_COEFF2425, 0x095a00b9);
3121 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600f3c5);
3122 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfd650aa3);
3123 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0ebc04de);
3124 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf5aaef8e);
3125 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf8d5091c);
3126 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3127 break;
3128
3129 case 8100000:
3130 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
3131 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff7fff6);
3132 cx25840_write4(client, DIF_BPF_COEFF45, 0x000e0038);
3133 cx25840_write4(client, DIF_BPF_COEFF67, 0x0037ffd7);
3134 cx25840_write4(client, DIF_BPF_COEFF89, 0xff52ff56);
3135 cx25840_write4(client, DIF_BPF_COEFF1011, 0x004b0184);
3136 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0186ffa1);
3137 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd40fd16);
3138 cx25840_write4(client, DIF_BPF_COEFF1617, 0x00440452);
3139 cx25840_write4(client, DIF_BPF_COEFF1819, 0x04de0029);
3140 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9f2f8b2);
3141 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfefe07b5);
3142 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a05024d);
3143 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fef34d);
3144 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfc0a09b8);
3145 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0efa05cd);
3146 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf64eef7d);
3147 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf87308ed);
3148 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3149 break;
3150
3151 case 8200000:
3152 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
3153 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff0);
3154 cx25840_write4(client, DIF_BPF_COEFF45, 0x00000031);
3155 cx25840_write4(client, DIF_BPF_COEFF67, 0x004c0005);
3156 cx25840_write4(client, DIF_BPF_COEFF89, 0xff6aff27);
3157 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffe4014a);
3158 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01d70057);
3159 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdacfca6);
3160 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff3603a7);
3161 cx25840_write4(client, DIF_BPF_COEFF1819, 0x05610184);
3162 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfadbf82e);
3163 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfd74069f);
3164 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a7503d6);
3165 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81ff2ff);
3166 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfab808b9);
3167 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0f2306b5);
3168 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf6f9ef72);
3169 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf81308bf);
3170 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3171 break;
3172
3173 case 8300000:
3174 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
3175 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffbffee);
3176 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff30022);
3177 cx25840_write4(client, DIF_BPF_COEFF67, 0x00560032);
3178 cx25840_write4(client, DIF_BPF_COEFF89, 0xff95ff10);
3179 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff8000f0);
3180 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01fe0106);
3181 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe46fc71);
3182 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe3502c7);
3183 cx25840_write4(client, DIF_BPF_COEFF1819, 0x059e02ce);
3184 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfbf9f7f2);
3185 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfbff055b);
3186 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0aa9054c);
3187 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf961f2db);
3188 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf97507aa);
3189 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0f350797);
3190 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf7a9ef6d);
3191 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf7b40890);
3192 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3193 break;
3194
3195 case 8400000:
3196 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
3197 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffeffee);
3198 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe8000f);
3199 cx25840_write4(client, DIF_BPF_COEFF67, 0x00540058);
3200 cx25840_write4(client, DIF_BPF_COEFF89, 0xffcdff14);
3201 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff29007e);
3202 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01f6019e);
3203 cx25840_write4(client, DIF_BPF_COEFF1415, 0xff01fc7c);
3204 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd5101bf);
3205 cx25840_write4(client, DIF_BPF_COEFF1819, 0x059203f6);
3206 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfd41f7fe);
3207 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfaa903f3);
3208 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a9e06a9);
3209 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabdf2e2);
3210 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf842068b);
3211 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0f320871);
3212 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf85eef6e);
3213 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf7560860);
3214 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3215 break;
3216
3217 case 8500000:
3218 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
3219 cx25840_write4(client, DIF_BPF_COEFF23, 0x0002fff2);
3220 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe1fff9);
3221 cx25840_write4(client, DIF_BPF_COEFF67, 0x00460073);
3222 cx25840_write4(client, DIF_BPF_COEFF89, 0x000bff34);
3223 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfee90000);
3224 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01c10215);
3225 cx25840_write4(client, DIF_BPF_COEFF1415, 0xffd0fcc5);
3226 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99009d);
3227 cx25840_write4(client, DIF_BPF_COEFF1819, 0x053d04f1);
3228 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfea5f853);
3229 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf97d0270);
3230 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a5607e4);
3231 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2ef314);
3232 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf723055f);
3233 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0f180943);
3234 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf919ef75);
3235 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf6fa0830);
3236 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3237 break;
3238
3239 case 8600000:
3240 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
3241 cx25840_write4(client, DIF_BPF_COEFF23, 0x0005fff8);
3242 cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffe4);
3243 cx25840_write4(client, DIF_BPF_COEFF67, 0x002f007f);
3244 cx25840_write4(client, DIF_BPF_COEFF89, 0x0048ff6b);
3245 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec7ff82);
3246 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0163025f);
3247 cx25840_write4(client, DIF_BPF_COEFF1415, 0x00a2fd47);
3248 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17ff73);
3249 cx25840_write4(client, DIF_BPF_COEFF1819, 0x04a405b2);
3250 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0017f8ed);
3251 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf88500dc);
3252 cx25840_write4(client, DIF_BPF_COEFF2425, 0x09d208f9);
3253 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaff370);
3254 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf61c0429);
3255 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0ee80a0b);
3256 cx25840_write4(client, DIF_BPF_COEFF3233, 0xf9d8ef82);
3257 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf6a00800);
3258 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3259 break;
3260
3261 case 8700000:
3262 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
3263 cx25840_write4(client, DIF_BPF_COEFF23, 0x0007ffff);
3264 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe1ffd4);
3265 cx25840_write4(client, DIF_BPF_COEFF67, 0x0010007a);
3266 cx25840_write4(client, DIF_BPF_COEFF89, 0x007cffb2);
3267 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec6ff10);
3268 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00e60277);
3269 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0168fdf9);
3270 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fe50);
3271 cx25840_write4(client, DIF_BPF_COEFF1819, 0x03ce0631);
3272 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0188f9c8);
3273 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7c7ff43);
3274 cx25840_write4(client, DIF_BPF_COEFF2425, 0x091509e3);
3275 cx25840_write4(client, DIF_BPF_COEFF2627, 0xff39f3f6);
3276 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf52d02ea);
3277 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0ea30ac9);
3278 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfa9bef95);
3279 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf64607d0);
3280 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3281 break;
3282
3283 case 8800000:
3284 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
3285 cx25840_write4(client, DIF_BPF_COEFF23, 0x00090007);
3286 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe9ffca);
3287 cx25840_write4(client, DIF_BPF_COEFF67, 0xfff00065);
3288 cx25840_write4(client, DIF_BPF_COEFF89, 0x00a10003);
3289 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfee6feb6);
3290 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0053025b);
3291 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0213fed0);
3292 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fd46);
3293 cx25840_write4(client, DIF_BPF_COEFF1819, 0x02c70668);
3294 cx25840_write4(client, DIF_BPF_COEFF2021, 0x02eafadb);
3295 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf74bfdae);
3296 cx25840_write4(client, DIF_BPF_COEFF2425, 0x08230a9c);
3297 cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c7f4a3);
3298 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf45b01a6);
3299 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0e480b7c);
3300 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfb61efae);
3301 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf5ef079f);
3302 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3303 break;
3304
3305 case 8900000:
3306 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
3307 cx25840_write4(client, DIF_BPF_COEFF23, 0x0008000d);
3308 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff5ffc8);
3309 cx25840_write4(client, DIF_BPF_COEFF67, 0xffd10043);
3310 cx25840_write4(client, DIF_BPF_COEFF89, 0x00b20053);
3311 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff24fe7c);
3312 cx25840_write4(client, DIF_BPF_COEFF1213, 0xffb9020c);
3313 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0295ffbb);
3314 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fc64);
3315 cx25840_write4(client, DIF_BPF_COEFF1819, 0x019b0654);
3316 cx25840_write4(client, DIF_BPF_COEFF2021, 0x042dfc1c);
3317 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf714fc2a);
3318 cx25840_write4(client, DIF_BPF_COEFF2425, 0x07020b21);
3319 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0251f575);
3320 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3a7005e);
3321 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0dd80c24);
3322 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfc2aefcd);
3323 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf599076e);
3324 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3325 break;
3326
3327 case 9000000:
3328 cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
3329 cx25840_write4(client, DIF_BPF_COEFF23, 0x00060011);
3330 cx25840_write4(client, DIF_BPF_COEFF45, 0x0002ffcf);
3331 cx25840_write4(client, DIF_BPF_COEFF67, 0xffba0018);
3332 cx25840_write4(client, DIF_BPF_COEFF89, 0x00ad009a);
3333 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff79fe68);
3334 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff260192);
3335 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02e500ab);
3336 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fbb6);
3337 cx25840_write4(client, DIF_BPF_COEFF1819, 0x005b05f7);
3338 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0545fd81);
3339 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf723fabf);
3340 cx25840_write4(client, DIF_BPF_COEFF2425, 0x05b80b70);
3341 cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d2f669);
3342 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf313ff15);
3343 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0d550cbf);
3344 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfcf6eff2);
3345 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf544073d);
3346 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3347 break;
3348
3349 case 9100000:
3350 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
3351 cx25840_write4(client, DIF_BPF_COEFF23, 0x00030012);
3352 cx25840_write4(client, DIF_BPF_COEFF45, 0x000fffdd);
3353 cx25840_write4(client, DIF_BPF_COEFF67, 0xffacffea);
3354 cx25840_write4(client, DIF_BPF_COEFF89, 0x009300cf);
3355 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffdcfe7c);
3356 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfea600f7);
3357 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02fd0190);
3358 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fb46);
3359 cx25840_write4(client, DIF_BPF_COEFF1819, 0xff150554);
3360 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0627fefd);
3361 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf778f978);
3362 cx25840_write4(client, DIF_BPF_COEFF2425, 0x044d0b87);
3363 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0543f77d);
3364 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2a0fdcf);
3365 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0cbe0d4e);
3366 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfdc4f01d);
3367 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4f2070b);
3368 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3369 break;
3370
3371 case 9200000:
3372 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
3373 cx25840_write4(client, DIF_BPF_COEFF23, 0x00000010);
3374 cx25840_write4(client, DIF_BPF_COEFF45, 0x001afff0);
3375 cx25840_write4(client, DIF_BPF_COEFF67, 0xffaaffbf);
3376 cx25840_write4(client, DIF_BPF_COEFF89, 0x006700ed);
3377 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0043feb6);
3378 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe460047);
3379 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02db0258);
3380 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fb1b);
3381 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfddc0473);
3382 cx25840_write4(client, DIF_BPF_COEFF2021, 0x06c90082);
3383 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf811f85e);
3384 cx25840_write4(client, DIF_BPF_COEFF2425, 0x02c90b66);
3385 cx25840_write4(client, DIF_BPF_COEFF2627, 0x069ff8ad);
3386 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf250fc8d);
3387 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0c140dcf);
3388 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfe93f04d);
3389 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4a106d9);
3390 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3391 break;
3392
3393 case 9300000:
3394 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
3395 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffc000c);
3396 cx25840_write4(client, DIF_BPF_COEFF45, 0x00200006);
3397 cx25840_write4(client, DIF_BPF_COEFF67, 0xffb4ff9c);
3398 cx25840_write4(client, DIF_BPF_COEFF89, 0x002f00ef);
3399 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00a4ff10);
3400 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe0dff92);
3401 cx25840_write4(client, DIF_BPF_COEFF1415, 0x028102f7);
3402 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fb37);
3403 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfcbf035e);
3404 cx25840_write4(client, DIF_BPF_COEFF2021, 0x07260202);
3405 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf8e8f778);
3406 cx25840_write4(client, DIF_BPF_COEFF2425, 0x01340b0d);
3407 cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e1f9f4);
3408 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf223fb51);
3409 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0b590e42);
3410 cx25840_write4(client, DIF_BPF_COEFF3233, 0xff64f083);
3411 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf45206a7);
3412 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3413 break;
3414
3415 case 9400000:
3416 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
3417 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff90005);
3418 cx25840_write4(client, DIF_BPF_COEFF45, 0x0022001a);
3419 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9ff86);
3420 cx25840_write4(client, DIF_BPF_COEFF89, 0xfff000d7);
3421 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00f2ff82);
3422 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe01fee5);
3423 cx25840_write4(client, DIF_BPF_COEFF1415, 0x01f60362);
3424 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fb99);
3425 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfbcc0222);
3426 cx25840_write4(client, DIF_BPF_COEFF2021, 0x07380370);
3427 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf9f7f6cc);
3428 cx25840_write4(client, DIF_BPF_COEFF2425, 0xff990a7e);
3429 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0902fb50);
3430 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf21afa1f);
3431 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0a8d0ea6);
3432 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0034f0bf);
3433 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4050675);
3434 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3435 break;
3436
3437 case 9500000:
3438 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
3439 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fffe);
3440 cx25840_write4(client, DIF_BPF_COEFF45, 0x001e002b);
3441 cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5ff81);
3442 cx25840_write4(client, DIF_BPF_COEFF89, 0xffb400a5);
3443 cx25840_write4(client, DIF_BPF_COEFF1011, 0x01280000);
3444 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe24fe50);
3445 cx25840_write4(client, DIF_BPF_COEFF1415, 0x01460390);
3446 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfc3a);
3447 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb1000ce);
3448 cx25840_write4(client, DIF_BPF_COEFF2021, 0x070104bf);
3449 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb37f65f);
3450 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe0009bc);
3451 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a00fcbb);
3452 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf235f8f8);
3453 cx25840_write4(client, DIF_BPF_COEFF3031, 0x09b20efc);
3454 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0105f101);
3455 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf3ba0642);
3456 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3457 break;
3458
3459 case 9600000:
3460 cx25840_write4(client, DIF_BPF_COEFF01, 0x0001ffff);
3461 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff7);
3462 cx25840_write4(client, DIF_BPF_COEFF45, 0x00150036);
3463 cx25840_write4(client, DIF_BPF_COEFF67, 0x0005ff8c);
3464 cx25840_write4(client, DIF_BPF_COEFF89, 0xff810061);
3465 cx25840_write4(client, DIF_BPF_COEFF1011, 0x013d007e);
3466 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe71fddf);
3467 cx25840_write4(client, DIF_BPF_COEFF1415, 0x007c0380);
3468 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fd13);
3469 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa94ff70);
3470 cx25840_write4(client, DIF_BPF_COEFF2021, 0x068005e2);
3471 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfc9bf633);
3472 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfc7308ca);
3473 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad5fe30);
3474 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf274f7e0);
3475 cx25840_write4(client, DIF_BPF_COEFF3031, 0x08c90f43);
3476 cx25840_write4(client, DIF_BPF_COEFF3233, 0x01d4f147);
3477 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf371060f);
3478 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3479 break;
3480
3481 case 9700000:
3482 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
3483 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fff1);
3484 cx25840_write4(client, DIF_BPF_COEFF45, 0x00090038);
3485 cx25840_write4(client, DIF_BPF_COEFF67, 0x0025ffa7);
3486 cx25840_write4(client, DIF_BPF_COEFF89, 0xff5e0012);
3487 cx25840_write4(client, DIF_BPF_COEFF1011, 0x013200f0);
3488 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfee3fd9b);
3489 cx25840_write4(client, DIF_BPF_COEFF1415, 0xffaa0331);
3490 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0311fe15);
3491 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa60fe18);
3492 cx25840_write4(client, DIF_BPF_COEFF2021, 0x05bd06d1);
3493 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfe1bf64a);
3494 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfafa07ae);
3495 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7effab);
3496 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2d5f6d7);
3497 cx25840_write4(client, DIF_BPF_COEFF3031, 0x07d30f7a);
3498 cx25840_write4(client, DIF_BPF_COEFF3233, 0x02a3f194);
3499 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf32905dc);
3500 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3501 break;
3502
3503 case 9800000:
3504 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
3505 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffcffee);
3506 cx25840_write4(client, DIF_BPF_COEFF45, 0xfffb0032);
3507 cx25840_write4(client, DIF_BPF_COEFF67, 0x003fffcd);
3508 cx25840_write4(client, DIF_BPF_COEFF89, 0xff4effc1);
3509 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0106014a);
3510 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff6efd8a);
3511 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfedd02aa);
3512 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b0ff34);
3513 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa74fcd7);
3514 cx25840_write4(client, DIF_BPF_COEFF2021, 0x04bf0781);
3515 cx25840_write4(client, DIF_BPF_COEFF2223, 0xffaaf6a3);
3516 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf99e066b);
3517 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf90128);
3518 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf359f5e1);
3519 cx25840_write4(client, DIF_BPF_COEFF3031, 0x06d20fa2);
3520 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0370f1e5);
3521 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2e405a8);
3522 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3523 break;
3524
3525 case 9900000:
3526 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
3527 cx25840_write4(client, DIF_BPF_COEFF23, 0xffffffee);
3528 cx25840_write4(client, DIF_BPF_COEFF45, 0xffef0024);
3529 cx25840_write4(client, DIF_BPF_COEFF67, 0x0051fffa);
3530 cx25840_write4(client, DIF_BPF_COEFF89, 0xff54ff77);
3531 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00be0184);
3532 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0006fdad);
3533 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe2701f3);
3534 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413005e);
3535 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfad1fbba);
3536 cx25840_write4(client, DIF_BPF_COEFF2021, 0x039007ee);
3537 cx25840_write4(client, DIF_BPF_COEFF2223, 0x013bf73d);
3538 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf868050a);
3539 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c4302a1);
3540 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3fdf4fe);
3541 cx25840_write4(client, DIF_BPF_COEFF3031, 0x05c70fba);
3542 cx25840_write4(client, DIF_BPF_COEFF3233, 0x043bf23c);
3543 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2a10575);
3544 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3545 break;
3546
3547 case 10000000:
3548 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
3549 cx25840_write4(client, DIF_BPF_COEFF23, 0x0003fff1);
3550 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe50011);
3551 cx25840_write4(client, DIF_BPF_COEFF67, 0x00570027);
3552 cx25840_write4(client, DIF_BPF_COEFF89, 0xff70ff3c);
3553 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00620198);
3554 cx25840_write4(client, DIF_BPF_COEFF1213, 0x009efe01);
3555 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd95011a);
3556 cx25840_write4(client, DIF_BPF_COEFF1617, 0x04350183);
3557 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb71fad0);
3558 cx25840_write4(client, DIF_BPF_COEFF2021, 0x023c0812);
3559 cx25840_write4(client, DIF_BPF_COEFF2223, 0x02c3f811);
3560 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf75e0390);
3561 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c5c0411);
3562 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf4c1f432);
3563 cx25840_write4(client, DIF_BPF_COEFF3031, 0x04b30fc1);
3564 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0503f297);
3565 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2610541);
3566 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3567 break;
3568
3569 case 10100000:
3570 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
3571 cx25840_write4(client, DIF_BPF_COEFF23, 0x0006fff7);
3572 cx25840_write4(client, DIF_BPF_COEFF45, 0xffdffffc);
3573 cx25840_write4(client, DIF_BPF_COEFF67, 0x00510050);
3574 cx25840_write4(client, DIF_BPF_COEFF89, 0xff9dff18);
3575 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfffc0184);
3576 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0128fe80);
3577 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd32002e);
3578 cx25840_write4(client, DIF_BPF_COEFF1617, 0x04130292);
3579 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc4dfa21);
3580 cx25840_write4(client, DIF_BPF_COEFF2021, 0x00d107ee);
3581 cx25840_write4(client, DIF_BPF_COEFF2223, 0x0435f91c);
3582 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf6850205);
3583 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c430573);
3584 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf5a1f37d);
3585 cx25840_write4(client, DIF_BPF_COEFF3031, 0x03990fba);
3586 cx25840_write4(client, DIF_BPF_COEFF3233, 0x05c7f2f8);
3587 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf222050d);
3588 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3589 break;
3590
3591 case 10200000:
3592 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
3593 cx25840_write4(client, DIF_BPF_COEFF23, 0x0008fffe);
3594 cx25840_write4(client, DIF_BPF_COEFF45, 0xffdfffe7);
3595 cx25840_write4(client, DIF_BPF_COEFF67, 0x003f006e);
3596 cx25840_write4(client, DIF_BPF_COEFF89, 0xffd6ff0f);
3597 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff96014a);
3598 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0197ff1f);
3599 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd05ff3e);
3600 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b0037c);
3601 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd59f9b7);
3602 cx25840_write4(client, DIF_BPF_COEFF2021, 0xff5d0781);
3603 cx25840_write4(client, DIF_BPF_COEFF2223, 0x0585fa56);
3604 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf5e4006f);
3605 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf906c4);
3606 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf69df2e0);
3607 cx25840_write4(client, DIF_BPF_COEFF3031, 0x02790fa2);
3608 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0688f35d);
3609 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf1e604d8);
3610 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3611 break;
3612
3613 case 10300000:
3614 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
3615 cx25840_write4(client, DIF_BPF_COEFF23, 0x00090005);
3616 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe4ffd6);
3617 cx25840_write4(client, DIF_BPF_COEFF67, 0x0025007e);
3618 cx25840_write4(client, DIF_BPF_COEFF89, 0x0014ff20);
3619 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff3c00f0);
3620 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01e1ffd0);
3621 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd12fe5c);
3622 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03110433);
3623 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe88f996);
3624 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfdf106d1);
3625 cx25840_write4(client, DIF_BPF_COEFF2223, 0x06aafbb7);
3626 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf57efed8);
3627 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7e07ff);
3628 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf7b0f25e);
3629 cx25840_write4(client, DIF_BPF_COEFF3031, 0x01560f7a);
3630 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0745f3c7);
3631 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf1ac04a4);
3632 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3633 break;
3634
3635 case 10400000:
3636 cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
3637 cx25840_write4(client, DIF_BPF_COEFF23, 0x0008000c);
3638 cx25840_write4(client, DIF_BPF_COEFF45, 0xffedffcb);
3639 cx25840_write4(client, DIF_BPF_COEFF67, 0x0005007d);
3640 cx25840_write4(client, DIF_BPF_COEFF89, 0x0050ff4c);
3641 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfef6007e);
3642 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01ff0086);
3643 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd58fd97);
3644 cx25840_write4(client, DIF_BPF_COEFF1617, 0x024104ad);
3645 cx25840_write4(client, DIF_BPF_COEFF1819, 0xffcaf9c0);
3646 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfc9905e2);
3647 cx25840_write4(client, DIF_BPF_COEFF2223, 0x079afd35);
3648 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf555fd46);
3649 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad50920);
3650 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf8d9f1f6);
3651 cx25840_write4(client, DIF_BPF_COEFF3031, 0x00310f43);
3652 cx25840_write4(client, DIF_BPF_COEFF3233, 0x07fdf435);
3653 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf174046f);
3654 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3655 break;
3656
3657 case 10500000:
3658 cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
3659 cx25840_write4(client, DIF_BPF_COEFF23, 0x00050011);
3660 cx25840_write4(client, DIF_BPF_COEFF45, 0xfffaffc8);
3661 cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5006b);
3662 cx25840_write4(client, DIF_BPF_COEFF89, 0x0082ff8c);
3663 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfecc0000);
3664 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01f00130);
3665 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdd2fcfc);
3666 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d04e3);
3667 cx25840_write4(client, DIF_BPF_COEFF1819, 0x010efa32);
3668 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfb6404bf);
3669 cx25840_write4(client, DIF_BPF_COEFF2223, 0x084efec5);
3670 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf569fbc2);
3671 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a000a23);
3672 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfa15f1ab);
3673 cx25840_write4(client, DIF_BPF_COEFF3031, 0xff0b0efc);
3674 cx25840_write4(client, DIF_BPF_COEFF3233, 0x08b0f4a7);
3675 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf13f043a);
3676 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3677 break;
3678
3679 case 10600000:
3680 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
3681 cx25840_write4(client, DIF_BPF_COEFF23, 0x00020012);
3682 cx25840_write4(client, DIF_BPF_COEFF45, 0x0007ffcd);
3683 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9004c);
3684 cx25840_write4(client, DIF_BPF_COEFF89, 0x00a4ffd9);
3685 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec3ff82);
3686 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01b401c1);
3687 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe76fc97);
3688 cx25840_write4(client, DIF_BPF_COEFF1617, 0x004404d2);
3689 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0245fae8);
3690 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa5f0370);
3691 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08c1005f);
3692 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf5bcfa52);
3693 cx25840_write4(client, DIF_BPF_COEFF2627, 0x09020b04);
3694 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfb60f17b);
3695 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfde70ea6);
3696 cx25840_write4(client, DIF_BPF_COEFF3233, 0x095df51e);
3697 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf10c0405);
3698 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3699 break;
3700
3701 case 10700000:
3702 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
3703 cx25840_write4(client, DIF_BPF_COEFF23, 0xffff0011);
3704 cx25840_write4(client, DIF_BPF_COEFF45, 0x0014ffdb);
3705 cx25840_write4(client, DIF_BPF_COEFF67, 0xffb40023);
3706 cx25840_write4(client, DIF_BPF_COEFF89, 0x00b2002a);
3707 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfedbff10);
3708 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0150022d);
3709 cx25840_write4(client, DIF_BPF_COEFF1415, 0xff38fc6f);
3710 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36047b);
3711 cx25840_write4(client, DIF_BPF_COEFF1819, 0x035efbda);
3712 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9940202);
3713 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08ee01f5);
3714 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf649f8fe);
3715 cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e10bc2);
3716 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfcb6f169);
3717 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfcc60e42);
3718 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0a04f599);
3719 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0db03d0);
3720 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3721 break;
3722
3723 case 10800000:
3724 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
3725 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffb000d);
3726 cx25840_write4(client, DIF_BPF_COEFF45, 0x001dffed);
3727 cx25840_write4(client, DIF_BPF_COEFF67, 0xffaafff5);
3728 cx25840_write4(client, DIF_BPF_COEFF89, 0x00aa0077);
3729 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff13feb6);
3730 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00ce026b);
3731 cx25840_write4(client, DIF_BPF_COEFF1415, 0x000afc85);
3732 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe3503e3);
3733 cx25840_write4(client, DIF_BPF_COEFF1819, 0x044cfcfb);
3734 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf90c0082);
3735 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08d5037f);
3736 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf710f7cc);
3737 cx25840_write4(client, DIF_BPF_COEFF2627, 0x069f0c59);
3738 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfe16f173);
3739 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfbaa0dcf);
3740 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0aa5f617);
3741 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0ad039b);
3742 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3743 break;
3744
3745 case 10900000:
3746 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
3747 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff90006);
3748 cx25840_write4(client, DIF_BPF_COEFF45, 0x00210003);
3749 cx25840_write4(client, DIF_BPF_COEFF67, 0xffacffc8);
3750 cx25840_write4(client, DIF_BPF_COEFF89, 0x008e00b6);
3751 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff63fe7c);
3752 cx25840_write4(client, DIF_BPF_COEFF1213, 0x003a0275);
3753 cx25840_write4(client, DIF_BPF_COEFF1415, 0x00dafcda);
3754 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd510313);
3755 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0501fe40);
3756 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8cbfefd);
3757 cx25840_write4(client, DIF_BPF_COEFF2223, 0x087604f0);
3758 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf80af6c2);
3759 cx25840_write4(client, DIF_BPF_COEFF2627, 0x05430cc8);
3760 cx25840_write4(client, DIF_BPF_COEFF2829, 0xff7af19a);
3761 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfa940d4e);
3762 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0b3ff699);
3763 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0810365);
3764 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3765 break;
3766
3767 case 11000000:
3768 cx25840_write4(client, DIF_BPF_COEFF01, 0x0001ffff);
3769 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8ffff);
3770 cx25840_write4(client, DIF_BPF_COEFF45, 0x00210018);
3771 cx25840_write4(client, DIF_BPF_COEFF67, 0xffbaffa3);
3772 cx25840_write4(client, DIF_BPF_COEFF89, 0x006000e1);
3773 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffc4fe68);
3774 cx25840_write4(client, DIF_BPF_COEFF1213, 0xffa0024b);
3775 cx25840_write4(client, DIF_BPF_COEFF1415, 0x019afd66);
3776 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc990216);
3777 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0575ff99);
3778 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8d4fd81);
3779 cx25840_write4(client, DIF_BPF_COEFF2223, 0x07d40640);
3780 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf932f5e6);
3781 cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d20d0d);
3782 cx25840_write4(client, DIF_BPF_COEFF2829, 0x00dff1de);
3783 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf9860cbf);
3784 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0bd1f71e);
3785 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf058032f);
3786 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3787 break;
3788
3789 case 11100000:
3790 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
3791 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff8);
3792 cx25840_write4(client, DIF_BPF_COEFF45, 0x001b0029);
3793 cx25840_write4(client, DIF_BPF_COEFF67, 0xffd1ff8a);
3794 cx25840_write4(client, DIF_BPF_COEFF89, 0x002600f2);
3795 cx25840_write4(client, DIF_BPF_COEFF1011, 0x002cfe7c);
3796 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff0f01f0);
3797 cx25840_write4(client, DIF_BPF_COEFF1415, 0x023bfe20);
3798 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc1700fa);
3799 cx25840_write4(client, DIF_BPF_COEFF1819, 0x05a200f7);
3800 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf927fc1c);
3801 cx25840_write4(client, DIF_BPF_COEFF2223, 0x06f40765);
3802 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfa82f53b);
3803 cx25840_write4(client, DIF_BPF_COEFF2627, 0x02510d27);
3804 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0243f23d);
3805 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf8810c24);
3806 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0c5cf7a7);
3807 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf03102fa);
3808 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3809 break;
3810
3811 case 11200000:
3812 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
3813 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffafff2);
3814 cx25840_write4(client, DIF_BPF_COEFF45, 0x00110035);
3815 cx25840_write4(client, DIF_BPF_COEFF67, 0xfff0ff81);
3816 cx25840_write4(client, DIF_BPF_COEFF89, 0xffe700e7);
3817 cx25840_write4(client, DIF_BPF_COEFF1011, 0x008ffeb6);
3818 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe94016d);
3819 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02b0fefb);
3820 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3ffd1);
3821 cx25840_write4(client, DIF_BPF_COEFF1819, 0x05850249);
3822 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9c1fadb);
3823 cx25840_write4(client, DIF_BPF_COEFF2223, 0x05de0858);
3824 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfbf2f4c4);
3825 cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c70d17);
3826 cx25840_write4(client, DIF_BPF_COEFF2829, 0x03a0f2b8);
3827 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf7870b7c);
3828 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0cdff833);
3829 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf00d02c4);
3830 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3831 break;
3832
3833 case 11300000:
3834 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
3835 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffdffee);
3836 cx25840_write4(client, DIF_BPF_COEFF45, 0x00040038);
3837 cx25840_write4(client, DIF_BPF_COEFF67, 0x0010ff88);
3838 cx25840_write4(client, DIF_BPF_COEFF89, 0xffac00c2);
3839 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00e2ff10);
3840 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe3900cb);
3841 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f1ffe9);
3842 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3feaa);
3843 cx25840_write4(client, DIF_BPF_COEFF1819, 0x05210381);
3844 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa9cf9c8);
3845 cx25840_write4(client, DIF_BPF_COEFF2223, 0x04990912);
3846 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfd7af484);
3847 cx25840_write4(client, DIF_BPF_COEFF2627, 0xff390cdb);
3848 cx25840_write4(client, DIF_BPF_COEFF2829, 0x04f4f34d);
3849 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf69a0ac9);
3850 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0d5af8c1);
3851 cx25840_write4(client, DIF_BPF_COEFF3435, 0xefec028e);
3852 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3853 break;
3854
3855 case 11400000:
3856 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
3857 cx25840_write4(client, DIF_BPF_COEFF23, 0x0000ffee);
3858 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff60033);
3859 cx25840_write4(client, DIF_BPF_COEFF67, 0x002fff9f);
3860 cx25840_write4(client, DIF_BPF_COEFF89, 0xff7b0087);
3861 cx25840_write4(client, DIF_BPF_COEFF1011, 0x011eff82);
3862 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe080018);
3863 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f900d8);
3864 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fd96);
3865 cx25840_write4(client, DIF_BPF_COEFF1819, 0x04790490);
3866 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfbadf8ed);
3867 cx25840_write4(client, DIF_BPF_COEFF2223, 0x032f098e);
3868 cx25840_write4(client, DIF_BPF_COEFF2425, 0xff10f47d);
3869 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaf0c75);
3870 cx25840_write4(client, DIF_BPF_COEFF2829, 0x063cf3fc);
3871 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf5ba0a0b);
3872 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0dccf952);
3873 cx25840_write4(client, DIF_BPF_COEFF3435, 0xefcd0258);
3874 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3875 break;
3876
3877 case 11500000:
3878 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
3879 cx25840_write4(client, DIF_BPF_COEFF23, 0x0004fff1);
3880 cx25840_write4(client, DIF_BPF_COEFF45, 0xffea0026);
3881 cx25840_write4(client, DIF_BPF_COEFF67, 0x0046ffc3);
3882 cx25840_write4(client, DIF_BPF_COEFF89, 0xff5a003c);
3883 cx25840_write4(client, DIF_BPF_COEFF1011, 0x013b0000);
3884 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe04ff63);
3885 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02c801b8);
3886 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fca6);
3887 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0397056a);
3888 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfcecf853);
3889 cx25840_write4(client, DIF_BPF_COEFF2223, 0x01ad09c9);
3890 cx25840_write4(client, DIF_BPF_COEFF2425, 0x00acf4ad);
3891 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2e0be7);
3892 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0773f4c2);
3893 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf4e90943);
3894 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0e35f9e6);
3895 cx25840_write4(client, DIF_BPF_COEFF3435, 0xefb10221);
3896 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3897 break;
3898
3899 case 11600000:
3900 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
3901 cx25840_write4(client, DIF_BPF_COEFF23, 0x0007fff6);
3902 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe20014);
3903 cx25840_write4(client, DIF_BPF_COEFF67, 0x0054ffee);
3904 cx25840_write4(client, DIF_BPF_COEFF89, 0xff4effeb);
3905 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0137007e);
3906 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe2efebb);
3907 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0260027a);
3908 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fbe6);
3909 cx25840_write4(client, DIF_BPF_COEFF1819, 0x02870605);
3910 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfe4af7fe);
3911 cx25840_write4(client, DIF_BPF_COEFF2223, 0x001d09c1);
3912 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0243f515);
3913 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabd0b32);
3914 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0897f59e);
3915 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf4280871);
3916 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0e95fa7c);
3917 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef9701eb);
3918 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3919 break;
3920
3921 case 11700000:
3922 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
3923 cx25840_write4(client, DIF_BPF_COEFF23, 0x0008fffd);
3924 cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffff);
3925 cx25840_write4(client, DIF_BPF_COEFF67, 0x0056001d);
3926 cx25840_write4(client, DIF_BPF_COEFF89, 0xff57ff9c);
3927 cx25840_write4(client, DIF_BPF_COEFF1011, 0x011300f0);
3928 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe82fe2e);
3929 cx25840_write4(client, DIF_BPF_COEFF1415, 0x01ca0310);
3930 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fb62);
3931 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0155065a);
3932 cx25840_write4(client, DIF_BPF_COEFF2021, 0xffbaf7f2);
3933 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfe8c0977);
3934 cx25840_write4(client, DIF_BPF_COEFF2425, 0x03cef5b2);
3935 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf9610a58);
3936 cx25840_write4(client, DIF_BPF_COEFF2829, 0x09a5f68f);
3937 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf3790797);
3938 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0eebfb14);
3939 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef8001b5);
3940 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3941 break;
3942
3943 case 11800000:
3944 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
3945 cx25840_write4(client, DIF_BPF_COEFF23, 0x00080004);
3946 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe0ffe9);
3947 cx25840_write4(client, DIF_BPF_COEFF67, 0x004c0047);
3948 cx25840_write4(client, DIF_BPF_COEFF89, 0xff75ff58);
3949 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00d1014a);
3950 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfef9fdc8);
3951 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0111036f);
3952 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fb21);
3953 cx25840_write4(client, DIF_BPF_COEFF1819, 0x00120665);
3954 cx25840_write4(client, DIF_BPF_COEFF2021, 0x012df82e);
3955 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfd0708ec);
3956 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0542f682);
3957 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81f095c);
3958 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0a9af792);
3959 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf2db06b5);
3960 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0f38fbad);
3961 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef6c017e);
3962 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3963 break;
3964
3965 case 11900000:
3966 cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
3967 cx25840_write4(client, DIF_BPF_COEFF23, 0x0007000b);
3968 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe7ffd8);
3969 cx25840_write4(client, DIF_BPF_COEFF67, 0x00370068);
3970 cx25840_write4(client, DIF_BPF_COEFF89, 0xffa4ff28);
3971 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00790184);
3972 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff87fd91);
3973 cx25840_write4(client, DIF_BPF_COEFF1415, 0x00430392);
3974 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fb26);
3975 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfece0626);
3976 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0294f8b2);
3977 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb990825);
3978 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0698f77f);
3979 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fe0842);
3980 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0b73f8a7);
3981 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf25105cd);
3982 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0f7bfc48);
3983 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef5a0148);
3984 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
3985 break;
3986
3987 case 12000000:
3988 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
3989 cx25840_write4(client, DIF_BPF_COEFF23, 0x00050010);
3990 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff2ffcc);
3991 cx25840_write4(client, DIF_BPF_COEFF67, 0x001b007b);
3992 cx25840_write4(client, DIF_BPF_COEFF89, 0xffdfff10);
3993 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00140198);
3994 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0020fd8e);
3995 cx25840_write4(client, DIF_BPF_COEFF1415, 0xff710375);
3996 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfb73);
3997 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd9a059f);
3998 cx25840_write4(client, DIF_BPF_COEFF2021, 0x03e0f978);
3999 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfa4e0726);
4000 cx25840_write4(client, DIF_BPF_COEFF2425, 0x07c8f8a7);
4001 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600070c);
4002 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0c2ff9c9);
4003 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf1db04de);
4004 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0fb4fce5);
4005 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef4b0111);
4006 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4007 break;
4008
4009 case 12100000:
4010 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
4011 cx25840_write4(client, DIF_BPF_COEFF23, 0x00010012);
4012 cx25840_write4(client, DIF_BPF_COEFF45, 0xffffffc8);
4013 cx25840_write4(client, DIF_BPF_COEFF67, 0xfffb007e);
4014 cx25840_write4(client, DIF_BPF_COEFF89, 0x001dff14);
4015 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffad0184);
4016 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00b7fdbe);
4017 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfea9031b);
4018 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fc01);
4019 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc8504d6);
4020 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0504fa79);
4021 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf93005f6);
4022 cx25840_write4(client, DIF_BPF_COEFF2425, 0x08caf9f2);
4023 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf52b05c0);
4024 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0ccbfaf9);
4025 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf17903eb);
4026 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0fe3fd83);
4027 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef3f00db);
4028 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4029 break;
4030
4031 case 12200000:
4032 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
4033 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffe0011);
4034 cx25840_write4(client, DIF_BPF_COEFF45, 0x000cffcc);
4035 cx25840_write4(client, DIF_BPF_COEFF67, 0xffdb0071);
4036 cx25840_write4(client, DIF_BPF_COEFF89, 0x0058ff32);
4037 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff4f014a);
4038 cx25840_write4(client, DIF_BPF_COEFF1213, 0x013cfe1f);
4039 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdfb028a);
4040 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0311fcc9);
4041 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb9d03d6);
4042 cx25840_write4(client, DIF_BPF_COEFF2021, 0x05f4fbad);
4043 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf848049d);
4044 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0999fb5b);
4045 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf4820461);
4046 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d46fc32);
4047 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf12d02f4);
4048 cx25840_write4(client, DIF_BPF_COEFF3233, 0x1007fe21);
4049 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef3600a4);
4050 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4051 break;
4052
4053 case 12300000:
4054 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
4055 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffa000e);
4056 cx25840_write4(client, DIF_BPF_COEFF45, 0x0017ffd9);
4057 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc10055);
4058 cx25840_write4(client, DIF_BPF_COEFF89, 0x0088ff68);
4059 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff0400f0);
4060 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01a6fea7);
4061 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd7501cc);
4062 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b0fdc0);
4063 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfaef02a8);
4064 cx25840_write4(client, DIF_BPF_COEFF2021, 0x06a7fd07);
4065 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf79d0326);
4066 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a31fcda);
4067 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf40702f3);
4068 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d9ffd72);
4069 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0f601fa);
4070 cx25840_write4(client, DIF_BPF_COEFF3233, 0x1021fec0);
4071 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef2f006d);
4072 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4073 break;
4074
4075 case 12400000:
4076 cx25840_write4(client, DIF_BPF_COEFF01, 0x0001ffff);
4077 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80007);
4078 cx25840_write4(client, DIF_BPF_COEFF45, 0x001fffeb);
4079 cx25840_write4(client, DIF_BPF_COEFF67, 0xffaf002d);
4080 cx25840_write4(client, DIF_BPF_COEFF89, 0x00a8ffb0);
4081 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed3007e);
4082 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01e9ff4c);
4083 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd2000ee);
4084 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413fed8);
4085 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa82015c);
4086 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0715fe7d);
4087 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7340198);
4088 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a8dfe69);
4089 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3bd017c);
4090 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0dd5feb8);
4091 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0d500fd);
4092 cx25840_write4(client, DIF_BPF_COEFF3233, 0x1031ff60);
4093 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef2b0037);
4094 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4095 break;
4096
4097 case 12500000:
4098 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
4099 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff70000);
4100 cx25840_write4(client, DIF_BPF_COEFF45, 0x00220000);
4101 cx25840_write4(client, DIF_BPF_COEFF67, 0xffa90000);
4102 cx25840_write4(client, DIF_BPF_COEFF89, 0x00b30000);
4103 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec20000);
4104 cx25840_write4(client, DIF_BPF_COEFF1213, 0x02000000);
4105 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd030000);
4106 cx25840_write4(client, DIF_BPF_COEFF1617, 0x04350000);
4107 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa5e0000);
4108 cx25840_write4(client, DIF_BPF_COEFF2021, 0x073b0000);
4109 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7110000);
4110 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0aac0000);
4111 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3a40000);
4112 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0de70000);
4113 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0c90000);
4114 cx25840_write4(client, DIF_BPF_COEFF3233, 0x10360000);
4115 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef290000);
4116 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4117 break;
4118
4119 case 12600000:
4120 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
4121 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff9);
4122 cx25840_write4(client, DIF_BPF_COEFF45, 0x001f0015);
4123 cx25840_write4(client, DIF_BPF_COEFF67, 0xffafffd3);
4124 cx25840_write4(client, DIF_BPF_COEFF89, 0x00a80050);
4125 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed3ff82);
4126 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01e900b4);
4127 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd20ff12);
4128 cx25840_write4(client, DIF_BPF_COEFF1617, 0x04130128);
4129 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa82fea4);
4130 cx25840_write4(client, DIF_BPF_COEFF2021, 0x07150183);
4131 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf734fe68);
4132 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a8d0197);
4133 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3bdfe84);
4134 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0dd50148);
4135 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0d5ff03);
4136 cx25840_write4(client, DIF_BPF_COEFF3233, 0x103100a0);
4137 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef2bffc9);
4138 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4139 break;
4140
4141 case 12700000:
4142 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
4143 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffafff2);
4144 cx25840_write4(client, DIF_BPF_COEFF45, 0x00170027);
4145 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc1ffab);
4146 cx25840_write4(client, DIF_BPF_COEFF89, 0x00880098);
4147 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff04ff10);
4148 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01a60159);
4149 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd75fe34);
4150 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b00240);
4151 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfaeffd58);
4152 cx25840_write4(client, DIF_BPF_COEFF2021, 0x06a702f9);
4153 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf79dfcda);
4154 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a310326);
4155 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf407fd0d);
4156 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d9f028e);
4157 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0f6fe06);
4158 cx25840_write4(client, DIF_BPF_COEFF3233, 0x10210140);
4159 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef2fff93);
4160 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4161 break;
4162
4163 case 12800000:
4164 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
4165 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffeffef);
4166 cx25840_write4(client, DIF_BPF_COEFF45, 0x000c0034);
4167 cx25840_write4(client, DIF_BPF_COEFF67, 0xffdbff8f);
4168 cx25840_write4(client, DIF_BPF_COEFF89, 0x005800ce);
4169 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff4ffeb6);
4170 cx25840_write4(client, DIF_BPF_COEFF1213, 0x013c01e1);
4171 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdfbfd76);
4172 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03110337);
4173 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb9dfc2a);
4174 cx25840_write4(client, DIF_BPF_COEFF2021, 0x05f40453);
4175 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf848fb63);
4176 cx25840_write4(client, DIF_BPF_COEFF2425, 0x099904a5);
4177 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf482fb9f);
4178 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d4603ce);
4179 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf12dfd0c);
4180 cx25840_write4(client, DIF_BPF_COEFF3233, 0x100701df);
4181 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef36ff5c);
4182 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4183 break;
4184
4185 case 12900000:
4186 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
4187 cx25840_write4(client, DIF_BPF_COEFF23, 0x0001ffee);
4188 cx25840_write4(client, DIF_BPF_COEFF45, 0xffff0038);
4189 cx25840_write4(client, DIF_BPF_COEFF67, 0xfffbff82);
4190 cx25840_write4(client, DIF_BPF_COEFF89, 0x001d00ec);
4191 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffadfe7c);
4192 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00b70242);
4193 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfea9fce5);
4194 cx25840_write4(client, DIF_BPF_COEFF1617, 0x024103ff);
4195 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc85fb2a);
4196 cx25840_write4(client, DIF_BPF_COEFF2021, 0x05040587);
4197 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf930fa0a);
4198 cx25840_write4(client, DIF_BPF_COEFF2425, 0x08ca060e);
4199 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf52bfa40);
4200 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0ccb0507);
4201 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf179fc15);
4202 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0fe3027d);
4203 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef3fff25);
4204 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4205 break;
4206
4207 case 13000000:
4208 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
4209 cx25840_write4(client, DIF_BPF_COEFF23, 0x0005fff0);
4210 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff20034);
4211 cx25840_write4(client, DIF_BPF_COEFF67, 0x001bff85);
4212 cx25840_write4(client, DIF_BPF_COEFF89, 0xffdf00f0);
4213 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0014fe68);
4214 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00200272);
4215 cx25840_write4(client, DIF_BPF_COEFF1415, 0xff71fc8b);
4216 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d048d);
4217 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd9afa61);
4218 cx25840_write4(client, DIF_BPF_COEFF2021, 0x03e00688);
4219 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfa4ef8da);
4220 cx25840_write4(client, DIF_BPF_COEFF2425, 0x07c80759);
4221 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600f8f4);
4222 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0c2f0637);
4223 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf1dbfb22);
4224 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0fb4031b);
4225 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef4bfeef);
4226 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4227 break;
4228
4229 case 13100000:
4230 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
4231 cx25840_write4(client, DIF_BPF_COEFF23, 0x0007fff5);
4232 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe70028);
4233 cx25840_write4(client, DIF_BPF_COEFF67, 0x0037ff98);
4234 cx25840_write4(client, DIF_BPF_COEFF89, 0xffa400d8);
4235 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0079fe7c);
4236 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff87026f);
4237 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0043fc6e);
4238 cx25840_write4(client, DIF_BPF_COEFF1617, 0x004404da);
4239 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfecef9da);
4240 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0294074e);
4241 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb99f7db);
4242 cx25840_write4(client, DIF_BPF_COEFF2425, 0x06980881);
4243 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fef7be);
4244 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0b730759);
4245 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf251fa33);
4246 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0f7b03b8);
4247 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef5afeb8);
4248 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4249 break;
4250
4251 case 13200000:
4252 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
4253 cx25840_write4(client, DIF_BPF_COEFF23, 0x0008fffc);
4254 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe00017);
4255 cx25840_write4(client, DIF_BPF_COEFF67, 0x004cffb9);
4256 cx25840_write4(client, DIF_BPF_COEFF89, 0xff7500a8);
4257 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00d1feb6);
4258 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfef90238);
4259 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0111fc91);
4260 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff3604df);
4261 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0012f99b);
4262 cx25840_write4(client, DIF_BPF_COEFF2021, 0x012d07d2);
4263 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfd07f714);
4264 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0542097e);
4265 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81ff6a4);
4266 cx25840_write4(client, DIF_BPF_COEFF2829, 0x0a9a086e);
4267 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf2dbf94b);
4268 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0f380453);
4269 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef6cfe82);
4270 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4271 break;
4272
4273 case 13300000:
4274 cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
4275 cx25840_write4(client, DIF_BPF_COEFF23, 0x00080003);
4276 cx25840_write4(client, DIF_BPF_COEFF45, 0xffde0001);
4277 cx25840_write4(client, DIF_BPF_COEFF67, 0x0056ffe3);
4278 cx25840_write4(client, DIF_BPF_COEFF89, 0xff570064);
4279 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0113ff10);
4280 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe8201d2);
4281 cx25840_write4(client, DIF_BPF_COEFF1415, 0x01cafcf0);
4282 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35049e);
4283 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0155f9a6);
4284 cx25840_write4(client, DIF_BPF_COEFF2021, 0xffba080e);
4285 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfe8cf689);
4286 cx25840_write4(client, DIF_BPF_COEFF2425, 0x03ce0a4e);
4287 cx25840_write4(client, DIF_BPF_COEFF2627, 0xf961f5a8);
4288 cx25840_write4(client, DIF_BPF_COEFF2829, 0x09a50971);
4289 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf379f869);
4290 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0eeb04ec);
4291 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef80fe4b);
4292 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4293 break;
4294
4295 case 13400000:
4296 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
4297 cx25840_write4(client, DIF_BPF_COEFF23, 0x0007000a);
4298 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe2ffec);
4299 cx25840_write4(client, DIF_BPF_COEFF67, 0x00540012);
4300 cx25840_write4(client, DIF_BPF_COEFF89, 0xff4e0015);
4301 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0137ff82);
4302 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe2e0145);
4303 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0260fd86);
4304 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51041a);
4305 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0287f9fb);
4306 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfe4a0802);
4307 cx25840_write4(client, DIF_BPF_COEFF2223, 0x001df63f);
4308 cx25840_write4(client, DIF_BPF_COEFF2425, 0x02430aeb);
4309 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabdf4ce);
4310 cx25840_write4(client, DIF_BPF_COEFF2829, 0x08970a62);
4311 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf428f78f);
4312 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0e950584);
4313 cx25840_write4(client, DIF_BPF_COEFF3435, 0xef97fe15);
4314 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4315 break;
4316
4317 case 13500000:
4318 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
4319 cx25840_write4(client, DIF_BPF_COEFF23, 0x0004000f);
4320 cx25840_write4(client, DIF_BPF_COEFF45, 0xffeaffda);
4321 cx25840_write4(client, DIF_BPF_COEFF67, 0x0046003d);
4322 cx25840_write4(client, DIF_BPF_COEFF89, 0xff5affc4);
4323 cx25840_write4(client, DIF_BPF_COEFF1011, 0x013b0000);
4324 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe04009d);
4325 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02c8fe48);
4326 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99035a);
4327 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0397fa96);
4328 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfcec07ad);
4329 cx25840_write4(client, DIF_BPF_COEFF2223, 0x01adf637);
4330 cx25840_write4(client, DIF_BPF_COEFF2425, 0x00ac0b53);
4331 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2ef419);
4332 cx25840_write4(client, DIF_BPF_COEFF2829, 0x07730b3e);
4333 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf4e9f6bd);
4334 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0e35061a);
4335 cx25840_write4(client, DIF_BPF_COEFF3435, 0xefb1fddf);
4336 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4337 break;
4338
4339 case 13600000:
4340 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
4341 cx25840_write4(client, DIF_BPF_COEFF23, 0x00000012);
4342 cx25840_write4(client, DIF_BPF_COEFF45, 0xfff6ffcd);
4343 cx25840_write4(client, DIF_BPF_COEFF67, 0x002f0061);
4344 cx25840_write4(client, DIF_BPF_COEFF89, 0xff7bff79);
4345 cx25840_write4(client, DIF_BPF_COEFF1011, 0x011e007e);
4346 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe08ffe8);
4347 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f9ff28);
4348 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17026a);
4349 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0479fb70);
4350 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfbad0713);
4351 cx25840_write4(client, DIF_BPF_COEFF2223, 0x032ff672);
4352 cx25840_write4(client, DIF_BPF_COEFF2425, 0xff100b83);
4353 cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaff38b);
4354 cx25840_write4(client, DIF_BPF_COEFF2829, 0x063c0c04);
4355 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf5baf5f5);
4356 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0dcc06ae);
4357 cx25840_write4(client, DIF_BPF_COEFF3435, 0xefcdfda8);
4358 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4359 break;
4360
4361 case 13700000:
4362 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
4363 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffd0012);
4364 cx25840_write4(client, DIF_BPF_COEFF45, 0x0004ffc8);
4365 cx25840_write4(client, DIF_BPF_COEFF67, 0x00100078);
4366 cx25840_write4(client, DIF_BPF_COEFF89, 0xffacff3e);
4367 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00e200f0);
4368 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe39ff35);
4369 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f10017);
4370 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd30156);
4371 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0521fc7f);
4372 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa9c0638);
4373 cx25840_write4(client, DIF_BPF_COEFF2223, 0x0499f6ee);
4374 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfd7a0b7c);
4375 cx25840_write4(client, DIF_BPF_COEFF2627, 0xff39f325);
4376 cx25840_write4(client, DIF_BPF_COEFF2829, 0x04f40cb3);
4377 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf69af537);
4378 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0d5a073f);
4379 cx25840_write4(client, DIF_BPF_COEFF3435, 0xefecfd72);
4380 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4381 break;
4382
4383 case 13800000:
4384 cx25840_write4(client, DIF_BPF_COEFF01, 0x0001fffe);
4385 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffa000e);
4386 cx25840_write4(client, DIF_BPF_COEFF45, 0x0011ffcb);
4387 cx25840_write4(client, DIF_BPF_COEFF67, 0xfff0007f);
4388 cx25840_write4(client, DIF_BPF_COEFF89, 0xffe7ff19);
4389 cx25840_write4(client, DIF_BPF_COEFF1011, 0x008f014a);
4390 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe94fe93);
4391 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02b00105);
4392 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3002f);
4393 cx25840_write4(client, DIF_BPF_COEFF1819, 0x0585fdb7);
4394 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9c10525);
4395 cx25840_write4(client, DIF_BPF_COEFF2223, 0x05def7a8);
4396 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfbf20b3c);
4397 cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c7f2e9);
4398 cx25840_write4(client, DIF_BPF_COEFF2829, 0x03a00d48);
4399 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf787f484);
4400 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0cdf07cd);
4401 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf00dfd3c);
4402 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4403 break;
4404
4405 case 13900000:
4406 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
4407 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80008);
4408 cx25840_write4(client, DIF_BPF_COEFF45, 0x001bffd7);
4409 cx25840_write4(client, DIF_BPF_COEFF67, 0xffd10076);
4410 cx25840_write4(client, DIF_BPF_COEFF89, 0x0026ff0e);
4411 cx25840_write4(client, DIF_BPF_COEFF1011, 0x002c0184);
4412 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff0ffe10);
4413 cx25840_write4(client, DIF_BPF_COEFF1415, 0x023b01e0);
4414 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17ff06);
4415 cx25840_write4(client, DIF_BPF_COEFF1819, 0x05a2ff09);
4416 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf92703e4);
4417 cx25840_write4(client, DIF_BPF_COEFF2223, 0x06f4f89b);
4418 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfa820ac5);
4419 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0251f2d9);
4420 cx25840_write4(client, DIF_BPF_COEFF2829, 0x02430dc3);
4421 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf881f3dc);
4422 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0c5c0859);
4423 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf031fd06);
4424 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4425 break;
4426
4427 case 14000000:
4428 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
4429 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80001);
4430 cx25840_write4(client, DIF_BPF_COEFF45, 0x0021ffe8);
4431 cx25840_write4(client, DIF_BPF_COEFF67, 0xffba005d);
4432 cx25840_write4(client, DIF_BPF_COEFF89, 0x0060ff1f);
4433 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffc40198);
4434 cx25840_write4(client, DIF_BPF_COEFF1213, 0xffa0fdb5);
4435 cx25840_write4(client, DIF_BPF_COEFF1415, 0x019a029a);
4436 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fdea);
4437 cx25840_write4(client, DIF_BPF_COEFF1819, 0x05750067);
4438 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8d4027f);
4439 cx25840_write4(client, DIF_BPF_COEFF2223, 0x07d4f9c0);
4440 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf9320a1a);
4441 cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d2f2f3);
4442 cx25840_write4(client, DIF_BPF_COEFF2829, 0x00df0e22);
4443 cx25840_write4(client, DIF_BPF_COEFF3031, 0xf986f341);
4444 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0bd108e2);
4445 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf058fcd1);
4446 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4447 break;
4448
4449 case 14100000:
4450 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
4451 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fffa);
4452 cx25840_write4(client, DIF_BPF_COEFF45, 0x0021fffd);
4453 cx25840_write4(client, DIF_BPF_COEFF67, 0xffac0038);
4454 cx25840_write4(client, DIF_BPF_COEFF89, 0x008eff4a);
4455 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff630184);
4456 cx25840_write4(client, DIF_BPF_COEFF1213, 0x003afd8b);
4457 cx25840_write4(client, DIF_BPF_COEFF1415, 0x00da0326);
4458 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fced);
4459 cx25840_write4(client, DIF_BPF_COEFF1819, 0x050101c0);
4460 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8cb0103);
4461 cx25840_write4(client, DIF_BPF_COEFF2223, 0x0876fb10);
4462 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf80a093e);
4463 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0543f338);
4464 cx25840_write4(client, DIF_BPF_COEFF2829, 0xff7a0e66);
4465 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfa94f2b2);
4466 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0b3f0967);
4467 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf081fc9b);
4468 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4469 break;
4470
4471 case 14200000:
4472 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
4473 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffbfff3);
4474 cx25840_write4(client, DIF_BPF_COEFF45, 0x001d0013);
4475 cx25840_write4(client, DIF_BPF_COEFF67, 0xffaa000b);
4476 cx25840_write4(client, DIF_BPF_COEFF89, 0x00aaff89);
4477 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff13014a);
4478 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00cefd95);
4479 cx25840_write4(client, DIF_BPF_COEFF1415, 0x000a037b);
4480 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fc1d);
4481 cx25840_write4(client, DIF_BPF_COEFF1819, 0x044c0305);
4482 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf90cff7e);
4483 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08d5fc81);
4484 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf7100834);
4485 cx25840_write4(client, DIF_BPF_COEFF2627, 0x069ff3a7);
4486 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfe160e8d);
4487 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfbaaf231);
4488 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0aa509e9);
4489 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0adfc65);
4490 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4491 break;
4492
4493 case 14300000:
4494 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
4495 cx25840_write4(client, DIF_BPF_COEFF23, 0xffffffef);
4496 cx25840_write4(client, DIF_BPF_COEFF45, 0x00140025);
4497 cx25840_write4(client, DIF_BPF_COEFF67, 0xffb4ffdd);
4498 cx25840_write4(client, DIF_BPF_COEFF89, 0x00b2ffd6);
4499 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfedb00f0);
4500 cx25840_write4(client, DIF_BPF_COEFF1213, 0x0150fdd3);
4501 cx25840_write4(client, DIF_BPF_COEFF1415, 0xff380391);
4502 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fb85);
4503 cx25840_write4(client, DIF_BPF_COEFF1819, 0x035e0426);
4504 cx25840_write4(client, DIF_BPF_COEFF2021, 0xf994fdfe);
4505 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08eefe0b);
4506 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf6490702);
4507 cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e1f43e);
4508 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfcb60e97);
4509 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfcc6f1be);
4510 cx25840_write4(client, DIF_BPF_COEFF3233, 0x0a040a67);
4511 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0dbfc30);
4512 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4513 break;
4514
4515 case 14400000:
4516 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
4517 cx25840_write4(client, DIF_BPF_COEFF23, 0x0002ffee);
4518 cx25840_write4(client, DIF_BPF_COEFF45, 0x00070033);
4519 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9ffb4);
4520 cx25840_write4(client, DIF_BPF_COEFF89, 0x00a40027);
4521 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec3007e);
4522 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01b4fe3f);
4523 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe760369);
4524 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fb2e);
4525 cx25840_write4(client, DIF_BPF_COEFF1819, 0x02450518);
4526 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa5ffc90);
4527 cx25840_write4(client, DIF_BPF_COEFF2223, 0x08c1ffa1);
4528 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf5bc05ae);
4529 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0902f4fc);
4530 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfb600e85);
4531 cx25840_write4(client, DIF_BPF_COEFF3031, 0xfde7f15a);
4532 cx25840_write4(client, DIF_BPF_COEFF3233, 0x095d0ae2);
4533 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf10cfbfb);
4534 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4535 break;
4536
4537 case 14500000:
4538 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0002);
4539 cx25840_write4(client, DIF_BPF_COEFF23, 0x0005ffef);
4540 cx25840_write4(client, DIF_BPF_COEFF45, 0xfffa0038);
4541 cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5ff95);
4542 cx25840_write4(client, DIF_BPF_COEFF89, 0x00820074);
4543 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfecc0000);
4544 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01f0fed0);
4545 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdd20304);
4546 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfb1d);
4547 cx25840_write4(client, DIF_BPF_COEFF1819, 0x010e05ce);
4548 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfb64fb41);
4549 cx25840_write4(client, DIF_BPF_COEFF2223, 0x084e013b);
4550 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf569043e);
4551 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a00f5dd);
4552 cx25840_write4(client, DIF_BPF_COEFF2829, 0xfa150e55);
4553 cx25840_write4(client, DIF_BPF_COEFF3031, 0xff0bf104);
4554 cx25840_write4(client, DIF_BPF_COEFF3233, 0x08b00b59);
4555 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf13ffbc6);
4556 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4557 break;
4558
4559 case 14600000:
4560 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
4561 cx25840_write4(client, DIF_BPF_COEFF23, 0x0008fff4);
4562 cx25840_write4(client, DIF_BPF_COEFF45, 0xffed0035);
4563 cx25840_write4(client, DIF_BPF_COEFF67, 0x0005ff83);
4564 cx25840_write4(client, DIF_BPF_COEFF89, 0x005000b4);
4565 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfef6ff82);
4566 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01ffff7a);
4567 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd580269);
4568 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fb53);
4569 cx25840_write4(client, DIF_BPF_COEFF1819, 0xffca0640);
4570 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfc99fa1e);
4571 cx25840_write4(client, DIF_BPF_COEFF2223, 0x079a02cb);
4572 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf55502ba);
4573 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad5f6e0);
4574 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf8d90e0a);
4575 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0031f0bd);
4576 cx25840_write4(client, DIF_BPF_COEFF3233, 0x07fd0bcb);
4577 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf174fb91);
4578 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4579 break;
4580
4581 case 14700000:
4582 cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
4583 cx25840_write4(client, DIF_BPF_COEFF23, 0x0009fffb);
4584 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe4002a);
4585 cx25840_write4(client, DIF_BPF_COEFF67, 0x0025ff82);
4586 cx25840_write4(client, DIF_BPF_COEFF89, 0x001400e0);
4587 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff3cff10);
4588 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01e10030);
4589 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd1201a4);
4590 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0311fbcd);
4591 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe88066a);
4592 cx25840_write4(client, DIF_BPF_COEFF2021, 0xfdf1f92f);
4593 cx25840_write4(client, DIF_BPF_COEFF2223, 0x06aa0449);
4594 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf57e0128);
4595 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7ef801);
4596 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf7b00da2);
4597 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0156f086);
4598 cx25840_write4(client, DIF_BPF_COEFF3233, 0x07450c39);
4599 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf1acfb5c);
4600 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4601 break;
4602
4603 case 14800000:
4604 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
4605 cx25840_write4(client, DIF_BPF_COEFF23, 0x00080002);
4606 cx25840_write4(client, DIF_BPF_COEFF45, 0xffdf0019);
4607 cx25840_write4(client, DIF_BPF_COEFF67, 0x003fff92);
4608 cx25840_write4(client, DIF_BPF_COEFF89, 0xffd600f1);
4609 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff96feb6);
4610 cx25840_write4(client, DIF_BPF_COEFF1213, 0x019700e1);
4611 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd0500c2);
4612 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b0fc84);
4613 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd590649);
4614 cx25840_write4(client, DIF_BPF_COEFF2021, 0xff5df87f);
4615 cx25840_write4(client, DIF_BPF_COEFF2223, 0x058505aa);
4616 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf5e4ff91);
4617 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf9f93c);
4618 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf69d0d20);
4619 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0279f05e);
4620 cx25840_write4(client, DIF_BPF_COEFF3233, 0x06880ca3);
4621 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf1e6fb28);
4622 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4623 break;
4624
4625 case 14900000:
4626 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
4627 cx25840_write4(client, DIF_BPF_COEFF23, 0x00060009);
4628 cx25840_write4(client, DIF_BPF_COEFF45, 0xffdf0004);
4629 cx25840_write4(client, DIF_BPF_COEFF67, 0x0051ffb0);
4630 cx25840_write4(client, DIF_BPF_COEFF89, 0xff9d00e8);
4631 cx25840_write4(client, DIF_BPF_COEFF1011, 0xfffcfe7c);
4632 cx25840_write4(client, DIF_BPF_COEFF1213, 0x01280180);
4633 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd32ffd2);
4634 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413fd6e);
4635 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc4d05df);
4636 cx25840_write4(client, DIF_BPF_COEFF2021, 0x00d1f812);
4637 cx25840_write4(client, DIF_BPF_COEFF2223, 0x043506e4);
4638 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf685fdfb);
4639 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c43fa8d);
4640 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf5a10c83);
4641 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0399f046);
4642 cx25840_write4(client, DIF_BPF_COEFF3233, 0x05c70d08);
4643 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf222faf3);
4644 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4645 break;
4646
4647 case 15000000:
4648 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
4649 cx25840_write4(client, DIF_BPF_COEFF23, 0x0003000f);
4650 cx25840_write4(client, DIF_BPF_COEFF45, 0xffe5ffef);
4651 cx25840_write4(client, DIF_BPF_COEFF67, 0x0057ffd9);
4652 cx25840_write4(client, DIF_BPF_COEFF89, 0xff7000c4);
4653 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0062fe68);
4654 cx25840_write4(client, DIF_BPF_COEFF1213, 0x009e01ff);
4655 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd95fee6);
4656 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0435fe7d);
4657 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb710530);
4658 cx25840_write4(client, DIF_BPF_COEFF2021, 0x023cf7ee);
4659 cx25840_write4(client, DIF_BPF_COEFF2223, 0x02c307ef);
4660 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf75efc70);
4661 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c5cfbef);
4662 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf4c10bce);
4663 cx25840_write4(client, DIF_BPF_COEFF3031, 0x04b3f03f);
4664 cx25840_write4(client, DIF_BPF_COEFF3233, 0x05030d69);
4665 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf261fabf);
4666 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4667 break;
4668
4669 case 15100000:
4670 cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
4671 cx25840_write4(client, DIF_BPF_COEFF23, 0xffff0012);
4672 cx25840_write4(client, DIF_BPF_COEFF45, 0xffefffdc);
4673 cx25840_write4(client, DIF_BPF_COEFF67, 0x00510006);
4674 cx25840_write4(client, DIF_BPF_COEFF89, 0xff540089);
4675 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00befe7c);
4676 cx25840_write4(client, DIF_BPF_COEFF1213, 0x00060253);
4677 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe27fe0d);
4678 cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413ffa2);
4679 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfad10446);
4680 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0390f812);
4681 cx25840_write4(client, DIF_BPF_COEFF2223, 0x013b08c3);
4682 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf868faf6);
4683 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c43fd5f);
4684 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3fd0b02);
4685 cx25840_write4(client, DIF_BPF_COEFF3031, 0x05c7f046);
4686 cx25840_write4(client, DIF_BPF_COEFF3233, 0x043b0dc4);
4687 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2a1fa8b);
4688 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4689 break;
4690
4691 case 15200000:
4692 cx25840_write4(client, DIF_BPF_COEFF01, 0x0001fffe);
4693 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffc0012);
4694 cx25840_write4(client, DIF_BPF_COEFF45, 0xfffbffce);
4695 cx25840_write4(client, DIF_BPF_COEFF67, 0x003f0033);
4696 cx25840_write4(client, DIF_BPF_COEFF89, 0xff4e003f);
4697 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0106feb6);
4698 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff6e0276);
4699 cx25840_write4(client, DIF_BPF_COEFF1415, 0xfeddfd56);
4700 cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b000cc);
4701 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa740329);
4702 cx25840_write4(client, DIF_BPF_COEFF2021, 0x04bff87f);
4703 cx25840_write4(client, DIF_BPF_COEFF2223, 0xffaa095d);
4704 cx25840_write4(client, DIF_BPF_COEFF2425, 0xf99ef995);
4705 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf9fed8);
4706 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3590a1f);
4707 cx25840_write4(client, DIF_BPF_COEFF3031, 0x06d2f05e);
4708 cx25840_write4(client, DIF_BPF_COEFF3233, 0x03700e1b);
4709 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2e4fa58);
4710 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4711 break;
4712
4713 case 15300000:
4714 cx25840_write4(client, DIF_BPF_COEFF01, 0x0001ffff);
4715 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9000f);
4716 cx25840_write4(client, DIF_BPF_COEFF45, 0x0009ffc8);
4717 cx25840_write4(client, DIF_BPF_COEFF67, 0x00250059);
4718 cx25840_write4(client, DIF_BPF_COEFF89, 0xff5effee);
4719 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0132ff10);
4720 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfee30265);
4721 cx25840_write4(client, DIF_BPF_COEFF1415, 0xffaafccf);
4722 cx25840_write4(client, DIF_BPF_COEFF1617, 0x031101eb);
4723 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa6001e8);
4724 cx25840_write4(client, DIF_BPF_COEFF2021, 0x05bdf92f);
4725 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfe1b09b6);
4726 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfafaf852);
4727 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7e0055);
4728 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2d50929);
4729 cx25840_write4(client, DIF_BPF_COEFF3031, 0x07d3f086);
4730 cx25840_write4(client, DIF_BPF_COEFF3233, 0x02a30e6c);
4731 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf329fa24);
4732 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4733 break;
4734
4735 case 15400000:
4736 cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
4737 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80009);
4738 cx25840_write4(client, DIF_BPF_COEFF45, 0x0015ffca);
4739 cx25840_write4(client, DIF_BPF_COEFF67, 0x00050074);
4740 cx25840_write4(client, DIF_BPF_COEFF89, 0xff81ff9f);
4741 cx25840_write4(client, DIF_BPF_COEFF1011, 0x013dff82);
4742 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe710221);
4743 cx25840_write4(client, DIF_BPF_COEFF1415, 0x007cfc80);
4744 cx25840_write4(client, DIF_BPF_COEFF1617, 0x024102ed);
4745 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa940090);
4746 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0680fa1e);
4747 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfc9b09cd);
4748 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfc73f736);
4749 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad501d0);
4750 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2740820);
4751 cx25840_write4(client, DIF_BPF_COEFF3031, 0x08c9f0bd);
4752 cx25840_write4(client, DIF_BPF_COEFF3233, 0x01d40eb9);
4753 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf371f9f1);
4754 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4755 break;
4756
4757 case 15500000:
4758 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
4759 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80002);
4760 cx25840_write4(client, DIF_BPF_COEFF45, 0x001effd5);
4761 cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5007f);
4762 cx25840_write4(client, DIF_BPF_COEFF89, 0xffb4ff5b);
4763 cx25840_write4(client, DIF_BPF_COEFF1011, 0x01280000);
4764 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe2401b0);
4765 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0146fc70);
4766 cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d03c6);
4767 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb10ff32);
4768 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0701fb41);
4769 cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb3709a1);
4770 cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe00f644);
4771 cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a000345);
4772 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2350708);
4773 cx25840_write4(client, DIF_BPF_COEFF3031, 0x09b2f104);
4774 cx25840_write4(client, DIF_BPF_COEFF3233, 0x01050eff);
4775 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf3baf9be);
4776 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4777 break;
4778
4779 case 15600000:
4780 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
4781 cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fffb);
4782 cx25840_write4(client, DIF_BPF_COEFF45, 0x0022ffe6);
4783 cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9007a);
4784 cx25840_write4(client, DIF_BPF_COEFF89, 0xfff0ff29);
4785 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00f2007e);
4786 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe01011b);
4787 cx25840_write4(client, DIF_BPF_COEFF1415, 0x01f6fc9e);
4788 cx25840_write4(client, DIF_BPF_COEFF1617, 0x00440467);
4789 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfbccfdde);
4790 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0738fc90);
4791 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf9f70934);
4792 cx25840_write4(client, DIF_BPF_COEFF2425, 0xff99f582);
4793 cx25840_write4(client, DIF_BPF_COEFF2627, 0x090204b0);
4794 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf21a05e1);
4795 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0a8df15a);
4796 cx25840_write4(client, DIF_BPF_COEFF3233, 0x00340f41);
4797 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf405f98b);
4798 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4799 break;
4800
4801 case 15700000:
4802 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
4803 cx25840_write4(client, DIF_BPF_COEFF23, 0xfffcfff4);
4804 cx25840_write4(client, DIF_BPF_COEFF45, 0x0020fffa);
4805 cx25840_write4(client, DIF_BPF_COEFF67, 0xffb40064);
4806 cx25840_write4(client, DIF_BPF_COEFF89, 0x002fff11);
4807 cx25840_write4(client, DIF_BPF_COEFF1011, 0x00a400f0);
4808 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe0d006e);
4809 cx25840_write4(client, DIF_BPF_COEFF1415, 0x0281fd09);
4810 cx25840_write4(client, DIF_BPF_COEFF1617, 0xff3604c9);
4811 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfcbffca2);
4812 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0726fdfe);
4813 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf8e80888);
4814 cx25840_write4(client, DIF_BPF_COEFF2425, 0x0134f4f3);
4815 cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e1060c);
4816 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf22304af);
4817 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0b59f1be);
4818 cx25840_write4(client, DIF_BPF_COEFF3233, 0xff640f7d);
4819 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf452f959);
4820 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4821 break;
4822
4823 case 15800000:
4824 cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
4825 cx25840_write4(client, DIF_BPF_COEFF23, 0x0000fff0);
4826 cx25840_write4(client, DIF_BPF_COEFF45, 0x001a0010);
4827 cx25840_write4(client, DIF_BPF_COEFF67, 0xffaa0041);
4828 cx25840_write4(client, DIF_BPF_COEFF89, 0x0067ff13);
4829 cx25840_write4(client, DIF_BPF_COEFF1011, 0x0043014a);
4830 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe46ffb9);
4831 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02dbfda8);
4832 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe3504e5);
4833 cx25840_write4(client, DIF_BPF_COEFF1819, 0xfddcfb8d);
4834 cx25840_write4(client, DIF_BPF_COEFF2021, 0x06c9ff7e);
4835 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf81107a2);
4836 cx25840_write4(client, DIF_BPF_COEFF2425, 0x02c9f49a);
4837 cx25840_write4(client, DIF_BPF_COEFF2627, 0x069f0753);
4838 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2500373);
4839 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0c14f231);
4840 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfe930fb3);
4841 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4a1f927);
4842 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4843 break;
4844
4845 case 15900000:
4846 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0002);
4847 cx25840_write4(client, DIF_BPF_COEFF23, 0x0003ffee);
4848 cx25840_write4(client, DIF_BPF_COEFF45, 0x000f0023);
4849 cx25840_write4(client, DIF_BPF_COEFF67, 0xffac0016);
4850 cx25840_write4(client, DIF_BPF_COEFF89, 0x0093ff31);
4851 cx25840_write4(client, DIF_BPF_COEFF1011, 0xffdc0184);
4852 cx25840_write4(client, DIF_BPF_COEFF1213, 0xfea6ff09);
4853 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02fdfe70);
4854 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd5104ba);
4855 cx25840_write4(client, DIF_BPF_COEFF1819, 0xff15faac);
4856 cx25840_write4(client, DIF_BPF_COEFF2021, 0x06270103);
4857 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7780688);
4858 cx25840_write4(client, DIF_BPF_COEFF2425, 0x044df479);
4859 cx25840_write4(client, DIF_BPF_COEFF2627, 0x05430883);
4860 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2a00231);
4861 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0cbef2b2);
4862 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfdc40fe3);
4863 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4f2f8f5);
4864 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4865 break;
4866
4867 case 16000000:
4868 cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
4869 cx25840_write4(client, DIF_BPF_COEFF23, 0x0006ffef);
4870 cx25840_write4(client, DIF_BPF_COEFF45, 0x00020031);
4871 cx25840_write4(client, DIF_BPF_COEFF67, 0xffbaffe8);
4872 cx25840_write4(client, DIF_BPF_COEFF89, 0x00adff66);
4873 cx25840_write4(client, DIF_BPF_COEFF1011, 0xff790198);
4874 cx25840_write4(client, DIF_BPF_COEFF1213, 0xff26fe6e);
4875 cx25840_write4(client, DIF_BPF_COEFF1415, 0x02e5ff55);
4876 cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99044a);
4877 cx25840_write4(client, DIF_BPF_COEFF1819, 0x005bfa09);
4878 cx25840_write4(client, DIF_BPF_COEFF2021, 0x0545027f);
4879 cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7230541);
4880 cx25840_write4(client, DIF_BPF_COEFF2425, 0x05b8f490);
4881 cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d20997);
4882 cx25840_write4(client, DIF_BPF_COEFF2829, 0xf31300eb);
4883 cx25840_write4(client, DIF_BPF_COEFF3031, 0x0d55f341);
4884 cx25840_write4(client, DIF_BPF_COEFF3233, 0xfcf6100e);
4885 cx25840_write4(client, DIF_BPF_COEFF3435, 0xf544f8c3);
4886 cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
4887 break;
4888 }
4889}
4890
4891static void cx23885_std_setup(struct i2c_client *client)
4892{
4893 struct cx25840_state *state = to_state(i2c_get_clientdata(client));
4894 v4l2_std_id std = state->std;
4895 u32 ifHz;
4896
4897 cx25840_write4(client, 0x478, 0x6628021F);
4898 cx25840_write4(client, 0x400, 0x0);
4899 cx25840_write4(client, 0x4b4, 0x20524030);
4900 cx25840_write4(client, 0x47c, 0x010a8263);
4901
4902 if (std & V4L2_STD_NTSC) {
4903 v4l_dbg(1, cx25840_debug, client, "%s() Selecting NTSC",
4904 __func__);
4905
4906 /* Horiz / vert timing */
4907 cx25840_write4(client, 0x428, 0x1e1e601a);
4908 cx25840_write4(client, 0x424, 0x5b2d007a);
4909
4910 /* DIF NTSC */
4911 cx25840_write4(client, 0x304, 0x6503bc0c);
4912 cx25840_write4(client, 0x308, 0xbd038c85);
4913 cx25840_write4(client, 0x30c, 0x1db4640a);
4914 cx25840_write4(client, 0x310, 0x00008800);
4915 cx25840_write4(client, 0x314, 0x44400400);
4916 cx25840_write4(client, 0x32c, 0x0c800800);
4917 cx25840_write4(client, 0x330, 0x27000100);
4918 cx25840_write4(client, 0x334, 0x1f296e1f);
4919 cx25840_write4(client, 0x338, 0x009f50c1);
4920 cx25840_write4(client, 0x340, 0x1befbf06);
4921 cx25840_write4(client, 0x344, 0x000035e8);
4922
4923 /* DIF I/F */
4924 ifHz = 5400000;
4925
4926 } else {
4927 v4l_dbg(1, cx25840_debug, client, "%s() Selecting PAL-BG",
4928 __func__);
4929
4930 /* Horiz / vert timing */
4931 cx25840_write4(client, 0x428, 0x28244024);
4932 cx25840_write4(client, 0x424, 0x5d2d0084);
4933
4934 /* DIF */
4935 cx25840_write4(client, 0x304, 0x6503bc0c);
4936 cx25840_write4(client, 0x308, 0xbd038c85);
4937 cx25840_write4(client, 0x30c, 0x1db4640a);
4938 cx25840_write4(client, 0x310, 0x00008800);
4939 cx25840_write4(client, 0x314, 0x44400600);
4940 cx25840_write4(client, 0x32c, 0x0c800800);
4941 cx25840_write4(client, 0x330, 0x27000100);
4942 cx25840_write4(client, 0x334, 0x213530ec);
4943 cx25840_write4(client, 0x338, 0x00a65ba8);
4944 cx25840_write4(client, 0x340, 0x1befbf06);
4945 cx25840_write4(client, 0x344, 0x000035e8);
4946
4947 /* DIF I/F */
4948 ifHz = 6000000;
4949 }
4950
4951 cx23885_dif_setup(client, ifHz);
4952
4953 /* Explicitly ensure the inputs are reconfigured after
4954 * a standard change.
4955 */
4956 set_input(client, state->vid_input, state->aud_input);
4957}
4958
4959/* ----------------------------------------------------------------------- */
4960
1789static const struct v4l2_ctrl_ops cx25840_ctrl_ops = { 4961static const struct v4l2_ctrl_ops cx25840_ctrl_ops = {
1790 .s_ctrl = cx25840_s_ctrl, 4962 .s_ctrl = cx25840_s_ctrl,
1791}; 4963};