Lines Matching refs:tuner_reg
253 unsigned char tuner_reg[8];
277 tuner_reg[0] = 0;
278 tuner_reg[1] = (unsigned char)(N>>8);
279 tuner_reg[2] = (unsigned char) N;
280 tuner_reg[3] = 0x40;
281 tuner_reg[4] = 0x52 + (priv->lpsel << 5);
282 tuner_reg[5] = (tda827x_table[i].spd << 6) +
285 tuner_reg[6] = 0x8f + (tda827x_table[i].gc3 << 4);
286 tuner_reg[7] = 0x8f;
288 msg.buf = tuner_reg;
303 reg2[1] = tuner_reg[4] + 0x80;
308 reg2[1] = tuner_reg[4] + 4;
313 reg2[1] = tuner_reg[4];
318 reg2[1] = (tuner_reg[4] & 0xfc) + tda827x_table[i].cp;
660 unsigned char tuner_reg[11];
665 .buf = tuner_reg, .len = sizeof(tuner_reg) };
687 tuner_reg[0] = 0;
688 tuner_reg[1] = (unsigned char)(N>>8);
689 tuner_reg[2] = (unsigned char) N;
690 tuner_reg[3] = 0;
691 tuner_reg[4] = 0x16;
692 tuner_reg[5] = (tda827xa_analog[i].spd << 5) +
695 tuner_reg[6] = 0x8b + (tda827xa_analog[i].gc3 << 4);
696 tuner_reg[7] = 0x1c;
697 tuner_reg[8] = 4;
698 tuner_reg[9] = 0x20;
699 tuner_reg[10] = 0x00;
703 tuner_reg[0] = 0x90;
704 tuner_reg[1] = 0xff;
705 tuner_reg[2] = 0xe0;
706 tuner_reg[3] = 0;
707 tuner_reg[4] = 0x99 + (priv->lpsel << 1);
711 tuner_reg[0] = 0xa0;
712 tuner_reg[1] = 0xc0;
716 tuner_reg[0] = 0x30;
717 tuner_reg[1] = 0x10 + tda827xa_analog[i].scr;
723 tuner_reg[1] >>= 4;
724 dprintk("AGC2 gain is: %d\n", tuner_reg[1]);
725 if (tuner_reg[1] < 1)
729 tuner_reg[0] = 0x60;
730 tuner_reg[1] = 0x3c;
734 tuner_reg[0] = 0x50;
735 tuner_reg[1] = 0x8f + (tda827xa_analog[i].gc3 << 4);
738 tuner_reg[0] = 0x80;
739 tuner_reg[1] = 0x28;
742 tuner_reg[0] = 0xb0;
743 tuner_reg[1] = 0x01;
746 tuner_reg[0] = 0xc0;
747 tuner_reg[1] = 0x19 + (priv->lpsel << 1);