Lines Matching refs:tda10086_write_byte

39 static int tda10086_write_byte(struct tda10086_state *state, int reg, int data)
90 return tda10086_write_byte(state, reg, val);
103 tda10086_write_byte(state, 0x00, 0x00);
107 tda10086_write_byte(state, 0x01, 0x94);
108 tda10086_write_byte(state, 0x02, 0x35); /* NOTE: TT drivers appear to disable CSWP */
109 tda10086_write_byte(state, 0x03, 0xe4);
110 tda10086_write_byte(state, 0x04, 0x43);
111 tda10086_write_byte(state, 0x0c, 0x0c);
112 tda10086_write_byte(state, 0x1b, 0xb0); /* noise threshold */
113 tda10086_write_byte(state, 0x20, 0x89); /* misc */
114 tda10086_write_byte(state, 0x30, 0x04); /* acquisition period length */
115 tda10086_write_byte(state, 0x32, 0x00); /* irq off */
116 tda10086_write_byte(state, 0x31, 0x56); /* setup AFC */
119 tda10086_write_byte(state, 0x55, 0x2c); /* misc PLL setup */
121 tda10086_write_byte(state, 0x3a, 0x0b); /* M=12 */
122 tda10086_write_byte(state, 0x3b, 0x01); /* P=2 */
124 tda10086_write_byte(state, 0x3a, 0x17); /* M=24 */
125 tda10086_write_byte(state, 0x3b, 0x00); /* P=1 */
130 tda10086_write_byte(state, 0x11, 0x81);
131 tda10086_write_byte(state, 0x12, 0x81);
132 tda10086_write_byte(state, 0x19, 0x40); /* parallel mode A + MSBFIRST */
133 tda10086_write_byte(state, 0x56, 0x80); /* powerdown WPLL - unused in the mode we use */
134 tda10086_write_byte(state, 0x57, 0x08); /* bypass WPLL - unused in the mode we use */
135 tda10086_write_byte(state, 0x10, 0x2a);
138 tda10086_write_byte(state, 0x58, 0x61); /* ADC setup */
142 tda10086_write_byte(state, 0x05, 0x0B);
143 tda10086_write_byte(state, 0x37, 0x63);
144 tda10086_write_byte(state, 0x3f, 0x0a); /* NOTE: flydvb varies it */
145 tda10086_write_byte(state, 0x40, 0x64);
146 tda10086_write_byte(state, 0x41, 0x4f);
147 tda10086_write_byte(state, 0x42, 0x43);
150 tda10086_write_byte(state, 0x1a, 0x11); /* VBER 10^6, DVB, QPSK */
153 tda10086_write_byte(state, 0x3d, 0x80);
156 tda10086_write_byte(state, 0x36, t22k_off); /* all SEC off, 22k tone */
157 tda10086_write_byte(state, 0x34, (((1<<19) * (22000/1000)) / (SACLK/1000)));
158 tda10086_write_byte(state, 0x35, (((1<<19) * (22000/1000)) / (SACLK/1000)) >> 8);
188 tda10086_write_byte(state, 0x36, t22k_off);
192 tda10086_write_byte(state, 0x36, 0x01 + t22k_off);
217 tda10086_write_byte(state, 0x48+i, cmd->msg[i]);
219 tda10086_write_byte(state, 0x36, (0x08 + t22k_off)
224 tda10086_write_byte(state, 0x36, oldval);
243 tda10086_write_byte(state, 0x36, 0x04 + t22k_off);
247 tda10086_write_byte(state, 0x36, 0x06 + t22k_off);
253 tda10086_write_byte(state, 0x36, oldval);
346 tda10086_write_byte(state, 0x21, (afs << 7) | dfn);
348 tda10086_write_byte(state, 0x06, bdr);
349 tda10086_write_byte(state, 0x07, bdr >> 8);
350 tda10086_write_byte(state, 0x08, bdr >> 16);
351 tda10086_write_byte(state, 0x09, bdri);
352 tda10086_write_byte(state, 0x37, reg37);
353 tda10086_write_byte(state, 0x42, reg42);
396 tda10086_write_byte(state, 0x0d, fecval);
412 tda10086_write_byte(state, 0x02, 0x35);
430 tda10086_write_byte(state, 0x3d, 0x80 | ((freqoff >> 8) & 0x7f));
431 tda10086_write_byte(state, 0x3e, freqoff);
566 tda10086_write_byte(state, 0x02, 0x00);
609 tda10086_write_byte(state, 0x18, 0x00);
610 tda10086_write_byte(state, 0x18, 0x80);