Lines Matching refs:tuner_reg
240 unsigned char tuner_reg[8]; in tda827xo_set_analog_params() local
264 tuner_reg[0] = 0; in tda827xo_set_analog_params()
265 tuner_reg[1] = (unsigned char)(N>>8); in tda827xo_set_analog_params()
266 tuner_reg[2] = (unsigned char) N; in tda827xo_set_analog_params()
267 tuner_reg[3] = 0x40; in tda827xo_set_analog_params()
268 tuner_reg[4] = 0x52 + (priv->lpsel << 5); in tda827xo_set_analog_params()
269 tuner_reg[5] = (tda827x_table[i].spd << 6) + in tda827xo_set_analog_params()
272 tuner_reg[6] = 0x8f + (tda827x_table[i].gc3 << 4); in tda827xo_set_analog_params()
273 tuner_reg[7] = 0x8f; in tda827xo_set_analog_params()
275 msg.buf = tuner_reg; in tda827xo_set_analog_params()
290 reg2[1] = tuner_reg[4] + 0x80; in tda827xo_set_analog_params()
295 reg2[1] = tuner_reg[4] + 4; in tda827xo_set_analog_params()
300 reg2[1] = tuner_reg[4]; in tda827xo_set_analog_params()
305 reg2[1] = (tuner_reg[4] & 0xfc) + tda827x_table[i].cp; in tda827xo_set_analog_params()
651 unsigned char tuner_reg[11]; in tda827xa_set_analog_params() local
656 .buf = tuner_reg, .len = sizeof(tuner_reg) }; in tda827xa_set_analog_params()
678 tuner_reg[0] = 0; in tda827xa_set_analog_params()
679 tuner_reg[1] = (unsigned char)(N>>8); in tda827xa_set_analog_params()
680 tuner_reg[2] = (unsigned char) N; in tda827xa_set_analog_params()
681 tuner_reg[3] = 0; in tda827xa_set_analog_params()
682 tuner_reg[4] = 0x16; in tda827xa_set_analog_params()
683 tuner_reg[5] = (tda827xa_analog[i].spd << 5) + in tda827xa_set_analog_params()
686 tuner_reg[6] = 0x8b + (tda827xa_analog[i].gc3 << 4); in tda827xa_set_analog_params()
687 tuner_reg[7] = 0x1c; in tda827xa_set_analog_params()
688 tuner_reg[8] = 4; in tda827xa_set_analog_params()
689 tuner_reg[9] = 0x20; in tda827xa_set_analog_params()
690 tuner_reg[10] = 0x00; in tda827xa_set_analog_params()
694 tuner_reg[0] = 0x90; in tda827xa_set_analog_params()
695 tuner_reg[1] = 0xff; in tda827xa_set_analog_params()
696 tuner_reg[2] = 0xe0; in tda827xa_set_analog_params()
697 tuner_reg[3] = 0; in tda827xa_set_analog_params()
698 tuner_reg[4] = 0x99 + (priv->lpsel << 1); in tda827xa_set_analog_params()
702 tuner_reg[0] = 0xa0; in tda827xa_set_analog_params()
703 tuner_reg[1] = 0xc0; in tda827xa_set_analog_params()
707 tuner_reg[0] = 0x30; in tda827xa_set_analog_params()
708 tuner_reg[1] = 0x10 + tda827xa_analog[i].scr; in tda827xa_set_analog_params()
714 tuner_reg[1] >>= 4; in tda827xa_set_analog_params()
715 dprintk("AGC2 gain is: %d\n", tuner_reg[1]); in tda827xa_set_analog_params()
716 if (tuner_reg[1] < 1) in tda827xa_set_analog_params()
720 tuner_reg[0] = 0x60; in tda827xa_set_analog_params()
721 tuner_reg[1] = 0x3c; in tda827xa_set_analog_params()
725 tuner_reg[0] = 0x50; in tda827xa_set_analog_params()
726 tuner_reg[1] = 0x8f + (tda827xa_analog[i].gc3 << 4); in tda827xa_set_analog_params()
729 tuner_reg[0] = 0x80; in tda827xa_set_analog_params()
730 tuner_reg[1] = 0x28; in tda827xa_set_analog_params()
733 tuner_reg[0] = 0xb0; in tda827xa_set_analog_params()
734 tuner_reg[1] = 0x01; in tda827xa_set_analog_params()
737 tuner_reg[0] = 0xc0; in tda827xa_set_analog_params()
738 tuner_reg[1] = 0x19 + (priv->lpsel << 1); in tda827xa_set_analog_params()