Lines Matching refs:nxt200x_writebytes
84 static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg, in nxt200x_writebytes() function
147 nxt200x_writebytes(state, 0x35, ®, 1); in nxt200x_writereg_multibyte()
150 nxt200x_writebytes(state, 0x36, data, len); in nxt200x_writereg_multibyte()
174 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_writereg_multibyte()
177 nxt200x_writebytes(state, 0x21, &buf, 1); in nxt200x_writereg_multibyte()
206 nxt200x_writebytes(state, 0x35, ®, 1); in nxt200x_readreg_multibyte()
212 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte()
228 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte()
232 nxt200x_writebytes(state, 0x21, &buf, 1); in nxt200x_readreg_multibyte()
263 nxt200x_writebytes(state, 0x22, &buf, 1); in nxt200x_microcontroller_stop()
283 nxt200x_writebytes(state, 0x22, &buf, 1); in nxt200x_microcontroller_start()
293 nxt200x_writebytes(state, 0x2b, buf, 1); in nxt2004_microcontroller_init()
295 nxt200x_writebytes(state, 0x34, buf, 1); in nxt2004_microcontroller_init()
297 nxt200x_writebytes(state, 0x35, buf, 1); in nxt2004_microcontroller_init()
300 nxt200x_writebytes(state, 0x36, buf, 9); in nxt2004_microcontroller_init()
302 nxt200x_writebytes(state, 0x21, buf, 1); in nxt2004_microcontroller_init()
344 nxt200x_writebytes(state, 0x20, &buf, 1); in nxt200x_writetuner()
348 nxt200x_writebytes(state, 0x34, &buf, 1); in nxt200x_writetuner()
351 nxt200x_writebytes(state, 0x36, data+1, 4); in nxt200x_writetuner()
355 nxt200x_writebytes(state, 0x35, &buf, 1); in nxt200x_writetuner()
359 nxt200x_writebytes(state, 0x21, &buf, 1); in nxt200x_writetuner()
384 nxt200x_writebytes(state, 0x08, &buf, 1); in nxt200x_agc_reset()
386 nxt200x_writebytes(state, 0x08, &buf, 1); in nxt200x_agc_reset()
423 nxt200x_writebytes(state, 0x2B, buf, 1); in nxt2002_load_firmware()
433 nxt200x_writebytes(state, 0x29, buf, 3); in nxt2002_load_firmware()
439 nxt200x_writebytes(state, chunkpos, &fw->data[position-3], 4); in nxt2002_load_firmware()
445 nxt200x_writebytes(state, chunkpos+4-(written %4), in nxt2002_load_firmware()
452 nxt200x_writebytes(state, 0x2C, buf, 2); in nxt2002_load_firmware()
459 nxt200x_writebytes(state, 0x2B, buf, 1); in nxt2002_load_firmware()
483 nxt200x_writebytes(state, 0x2B, buf,1); in nxt2004_load_firmware()
494 nxt200x_writebytes(state,0x29,buf,3); in nxt2004_load_firmware()
497 nxt200x_writebytes(state, 0x2C, &fw->data[position], in nxt2004_load_firmware()
507 nxt200x_writebytes(state, 0x2C, buf,2); in nxt2004_load_firmware()
514 nxt200x_writebytes(state, 0x2B, buf,1); in nxt2004_load_firmware()
531 nxt200x_writebytes(state, 0x14, buf, 1); in nxt200x_setup_frontend_parameters()
533 nxt200x_writebytes(state, 0x17, buf, 1); in nxt200x_setup_frontend_parameters()
577 nxt200x_writebytes(state, 0x42, buf, 1); in nxt200x_setup_frontend_parameters()
590 nxt200x_writebytes(state, 0x57, buf, 1); in nxt200x_setup_frontend_parameters()
600 nxt200x_writebytes(state, 0x58, buf, 2); in nxt200x_setup_frontend_parameters()
626 nxt200x_writebytes(state, 0x5C, buf, 2); in nxt200x_setup_frontend_parameters()
634 nxt200x_writebytes(state, 0x43, buf, 1); in nxt200x_setup_frontend_parameters()
640 nxt200x_writebytes(state, 0x46, buf, 2); in nxt200x_setup_frontend_parameters()
651 nxt200x_writebytes(state, 0x4B, buf, 2); in nxt200x_setup_frontend_parameters()
659 nxt200x_writebytes(state, 0x4D, buf, 1); in nxt200x_setup_frontend_parameters()
663 nxt200x_writebytes(state, 0x55, buf, 1); in nxt200x_setup_frontend_parameters()
667 nxt200x_writebytes(state, 0x41, buf, 1); in nxt200x_setup_frontend_parameters()
711 nxt200x_writebytes(state, 0x30, buf, 1); in nxt200x_setup_frontend_parameters()
715 nxt200x_writebytes(state, 0x41, buf, 1); in nxt200x_setup_frontend_parameters()
726 nxt200x_writebytes(state, 0x49, buf, 2); in nxt200x_setup_frontend_parameters()
727 nxt200x_writebytes(state, 0x4B, buf, 2); in nxt200x_setup_frontend_parameters()
735 nxt200x_writebytes(state, 0x41, buf, 1); in nxt200x_setup_frontend_parameters()
745 nxt200x_writebytes(state, 0x5C, buf, 2); in nxt200x_setup_frontend_parameters()
791 nxt200x_writebytes(state, 0xA1, b, 1); in nxt200x_read_signal_strength()
812 nxt200x_writebytes(state, 0xA1, b, 1); in nxt200x_read_snr()
884 nxt200x_writebytes(state, 0x2B, buf, 1); in nxt2002_init()
891 nxt200x_writebytes(state, 0x08, buf, 1); in nxt2002_init()
893 nxt200x_writebytes(state, 0x08, buf, 1); in nxt2002_init()
897 nxt200x_writebytes(state, 0x57, buf, 1); in nxt2002_init()
901 nxt200x_writebytes(state, 0x09, buf, 1); in nxt2002_init()
906 nxt200x_writebytes(state, 0xE9, buf, 2); in nxt2002_init()
910 nxt200x_writebytes(state, 0xCC, buf, 1); in nxt2002_init()
924 nxt200x_writebytes(state, 0x1E, buf, 1); in nxt2004_init()
948 nxt200x_writebytes(state, 0x19, buf, 1); in nxt2004_init()
964 nxt200x_writebytes(state, 0x57, buf, 1); in nxt2004_init()
969 nxt200x_writebytes(state, 0x35, buf, 2); in nxt2004_init()
971 nxt200x_writebytes(state, 0x34, buf, 1); in nxt2004_init()
973 nxt200x_writebytes(state, 0x21, buf, 1); in nxt2004_init()
977 nxt200x_writebytes(state, 0x0A, buf, 1); in nxt2004_init()
986 nxt200x_writebytes(state, 0xE9, buf, 2); in nxt2004_init()
990 nxt200x_writebytes(state, 0xCC, buf, 1); in nxt2004_init()
1023 nxt200x_writebytes(state, 0x10, buf, 1); in nxt2004_init()
1026 nxt200x_writebytes(state, 0x0A, buf, 1); in nxt2004_init()
1031 nxt200x_writebytes(state, 0x0A, buf, 1); in nxt2004_init()
1033 nxt200x_writebytes(state, 0xE9, buf, 1); in nxt2004_init()
1035 nxt200x_writebytes(state, 0xEA, buf, 1); in nxt2004_init()
1071 nxt200x_writebytes(state, 0x10, buf, 1); in nxt2004_init()
1073 nxt200x_writebytes(state, 0x13, buf, 1); in nxt2004_init()
1075 nxt200x_writebytes(state, 0x16, buf, 1); in nxt2004_init()
1077 nxt200x_writebytes(state, 0x14, buf, 1); in nxt2004_init()
1079 nxt200x_writebytes(state, 0x14, buf, 1); in nxt2004_init()
1080 nxt200x_writebytes(state, 0x17, buf, 1); in nxt2004_init()
1081 nxt200x_writebytes(state, 0x14, buf, 1); in nxt2004_init()
1082 nxt200x_writebytes(state, 0x17, buf, 1); in nxt2004_init()