Searched refs:tda10086_write_byte (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/dvb-frontends/
H A Dtda10086.c52 static int tda10086_write_byte(struct tda10086_state *state, int reg, int data) tda10086_write_byte() function
103 return tda10086_write_byte(state, reg, val); tda10086_write_mask()
116 tda10086_write_byte(state, 0x00, 0x00); tda10086_init()
120 tda10086_write_byte(state, 0x01, 0x94); tda10086_init()
121 tda10086_write_byte(state, 0x02, 0x35); /* NOTE: TT drivers appear to disable CSWP */ tda10086_init()
122 tda10086_write_byte(state, 0x03, 0xe4); tda10086_init()
123 tda10086_write_byte(state, 0x04, 0x43); tda10086_init()
124 tda10086_write_byte(state, 0x0c, 0x0c); tda10086_init()
125 tda10086_write_byte(state, 0x1b, 0xb0); /* noise threshold */ tda10086_init()
126 tda10086_write_byte(state, 0x20, 0x89); /* misc */ tda10086_init()
127 tda10086_write_byte(state, 0x30, 0x04); /* acquisition period length */ tda10086_init()
128 tda10086_write_byte(state, 0x32, 0x00); /* irq off */ tda10086_init()
129 tda10086_write_byte(state, 0x31, 0x56); /* setup AFC */ tda10086_init()
132 tda10086_write_byte(state, 0x55, 0x2c); /* misc PLL setup */ tda10086_init()
134 tda10086_write_byte(state, 0x3a, 0x0b); /* M=12 */ tda10086_init()
135 tda10086_write_byte(state, 0x3b, 0x01); /* P=2 */ tda10086_init()
137 tda10086_write_byte(state, 0x3a, 0x17); /* M=24 */ tda10086_init()
138 tda10086_write_byte(state, 0x3b, 0x00); /* P=1 */ tda10086_init()
143 tda10086_write_byte(state, 0x11, 0x81); tda10086_init()
144 tda10086_write_byte(state, 0x12, 0x81); tda10086_init()
145 tda10086_write_byte(state, 0x19, 0x40); /* parallel mode A + MSBFIRST */ tda10086_init()
146 tda10086_write_byte(state, 0x56, 0x80); /* powerdown WPLL - unused in the mode we use */ tda10086_init()
147 tda10086_write_byte(state, 0x57, 0x08); /* bypass WPLL - unused in the mode we use */ tda10086_init()
148 tda10086_write_byte(state, 0x10, 0x2a); tda10086_init()
151 tda10086_write_byte(state, 0x58, 0x61); /* ADC setup */ tda10086_init()
155 tda10086_write_byte(state, 0x05, 0x0B); tda10086_init()
156 tda10086_write_byte(state, 0x37, 0x63); tda10086_init()
157 tda10086_write_byte(state, 0x3f, 0x0a); /* NOTE: flydvb varies it */ tda10086_init()
158 tda10086_write_byte(state, 0x40, 0x64); tda10086_init()
159 tda10086_write_byte(state, 0x41, 0x4f); tda10086_init()
160 tda10086_write_byte(state, 0x42, 0x43); tda10086_init()
163 tda10086_write_byte(state, 0x1a, 0x11); /* VBER 10^6, DVB, QPSK */ tda10086_init()
166 tda10086_write_byte(state, 0x3d, 0x80); tda10086_init()
169 tda10086_write_byte(state, 0x36, t22k_off); /* all SEC off, 22k tone */ tda10086_init()
170 tda10086_write_byte(state, 0x34, (((1<<19) * (22000/1000)) / (SACLK/1000))); tda10086_init()
171 tda10086_write_byte(state, 0x35, (((1<<19) * (22000/1000)) / (SACLK/1000)) >> 8); tda10086_init()
200 tda10086_write_byte(state, 0x36, t22k_off); tda10086_set_tone()
204 tda10086_write_byte(state, 0x36, 0x01 + t22k_off); tda10086_set_tone()
229 tda10086_write_byte(state, 0x48+i, cmd->msg[i]); tda10086_send_master_cmd()
231 tda10086_write_byte(state, 0x36, (0x08 + t22k_off) tda10086_send_master_cmd()
236 tda10086_write_byte(state, 0x36, oldval); tda10086_send_master_cmd()
254 tda10086_write_byte(state, 0x36, 0x04 + t22k_off); tda10086_send_burst()
258 tda10086_write_byte(state, 0x36, 0x06 + t22k_off); tda10086_send_burst()
264 tda10086_write_byte(state, 0x36, oldval); tda10086_send_burst()
357 tda10086_write_byte(state, 0x21, (afs << 7) | dfn); tda10086_set_symbol_rate()
359 tda10086_write_byte(state, 0x06, bdr); tda10086_set_symbol_rate()
360 tda10086_write_byte(state, 0x07, bdr >> 8); tda10086_set_symbol_rate()
361 tda10086_write_byte(state, 0x08, bdr >> 16); tda10086_set_symbol_rate()
362 tda10086_write_byte(state, 0x09, bdri); tda10086_set_symbol_rate()
363 tda10086_write_byte(state, 0x37, reg37); tda10086_set_symbol_rate()
364 tda10086_write_byte(state, 0x42, reg42); tda10086_set_symbol_rate()
407 tda10086_write_byte(state, 0x0d, fecval); tda10086_set_fec()
423 tda10086_write_byte(state, 0x02, 0x35); tda10086_set_frontend()
441 tda10086_write_byte(state, 0x3d, 0x80 | ((freqoff >> 8) & 0x7f)); tda10086_set_frontend()
442 tda10086_write_byte(state, 0x3e, freqoff); tda10086_set_frontend()
576 tda10086_write_byte(state, 0x02, 0x00); tda10086_read_status()
619 tda10086_write_byte(state, 0x18, 0x00); tda10086_read_ucblocks()
620 tda10086_write_byte(state, 0x18, 0x80); tda10086_read_ucblocks()

Completed in 126 milliseconds