Lines Matching refs:stv0367_writebits
222 static void stv0367_writebits(struct stv0367_state *state, u32 label, u8 val) in stv0367_writebits() function
513 stv0367_writebits(state, F367TER_IIR_CELL_NB, i - 1); in stv0367ter_filt_coeff_init()
533 stv0367_writebits(state, F367TER_LOCK_DETECT_LSB, 0x00); in stv0367ter_agc_iir_lock_detect_set()
536 stv0367_writebits(state, F367TER_LOCK_DETECT_CHOICE, 0x00); in stv0367ter_agc_iir_lock_detect_set()
537 stv0367_writebits(state, F367TER_LOCK_DETECT_MSB, 0x06); in stv0367ter_agc_iir_lock_detect_set()
538 stv0367_writebits(state, F367TER_AUT_AGC_TARGET_LSB, 0x04); in stv0367ter_agc_iir_lock_detect_set()
541 stv0367_writebits(state, F367TER_LOCK_DETECT_CHOICE, 0x01); in stv0367ter_agc_iir_lock_detect_set()
542 stv0367_writebits(state, F367TER_LOCK_DETECT_MSB, 0x06); in stv0367ter_agc_iir_lock_detect_set()
543 stv0367_writebits(state, F367TER_AUT_AGC_TARGET_LSB, 0x04); in stv0367ter_agc_iir_lock_detect_set()
546 stv0367_writebits(state, F367TER_LOCK_DETECT_CHOICE, 0x02); in stv0367ter_agc_iir_lock_detect_set()
547 stv0367_writebits(state, F367TER_LOCK_DETECT_MSB, 0x01); in stv0367ter_agc_iir_lock_detect_set()
548 stv0367_writebits(state, F367TER_AUT_AGC_TARGET_LSB, 0x00); in stv0367ter_agc_iir_lock_detect_set()
551 stv0367_writebits(state, F367TER_LOCK_DETECT_CHOICE, 0x03); in stv0367ter_agc_iir_lock_detect_set()
552 stv0367_writebits(state, F367TER_LOCK_DETECT_MSB, 0x01); in stv0367ter_agc_iir_lock_detect_set()
553 stv0367_writebits(state, F367TER_AUT_AGC_TARGET_LSB, 0x00); in stv0367ter_agc_iir_lock_detect_set()
562 stv0367_writebits(state, F367TER_NRST_IIR, 0); in stv0367_iir_filt_init()
587 stv0367_writebits(state, F367TER_NRST_IIR, 1); in stv0367_iir_filt_init()
601 stv0367_writebits(state, F367TER_COM_N, 0x07); in stv0367ter_agc_iir_rst()
603 stv0367_writebits(state, F367TER_COM_SOFT_RSTN, 0x00); in stv0367ter_agc_iir_rst()
604 stv0367_writebits(state, F367TER_COM_AGC_ON, 0x00); in stv0367ter_agc_iir_rst()
606 stv0367_writebits(state, F367TER_COM_SOFT_RSTN, 0x01); in stv0367ter_agc_iir_rst()
607 stv0367_writebits(state, F367TER_COM_AGC_ON, 0x01); in stv0367ter_agc_iir_rst()
609 stv0367_writebits(state, F367TER_COM_N, com_n); in stv0367ter_agc_iir_rst()
729 stv0367_writebits(state, F367TER_CORE_ACTIVE, 0); in stv0367ter_lock_algo()
732 stv0367_writebits(state, F367TER_COM_N, 0x07); in stv0367ter_lock_algo()
734 stv0367_writebits(state, F367TER_GUARD, 3);/* suggest 2k 1/4 */ in stv0367ter_lock_algo()
735 stv0367_writebits(state, F367TER_MODE, 0); in stv0367ter_lock_algo()
736 stv0367_writebits(state, F367TER_SYR_TR_DIS, 0); in stv0367ter_lock_algo()
739 stv0367_writebits(state, F367TER_CORE_ACTIVE, 1); in stv0367ter_lock_algo()
784 stv0367_writebits(state, F367TER_AUTO_LE_EN, 0); in stv0367ter_lock_algo()
789 stv0367_writebits(state, F367TER_AUTO_LE_EN, 1); in stv0367ter_lock_algo()
799 stv0367_writebits(state, F367TER_RST_SFEC, 1); in stv0367ter_lock_algo()
800 stv0367_writebits(state, F367TER_RST_REEDSOLO, 1); in stv0367ter_lock_algo()
802 stv0367_writebits(state, F367TER_RST_SFEC, 0); in stv0367ter_lock_algo()
803 stv0367_writebits(state, F367TER_RST_REEDSOLO, 0); in stv0367ter_lock_algo()
838 stv0367_writebits(state, F367TER_AUTO_LE_EN, 0); in stv0367ter_lock_algo()
840 stv0367_writebits(state, F367TER_SYR_FILTER, 0); in stv0367ter_lock_algo()
844 stv0367_writebits(state, F367TER_AUTO_LE_EN, 1); in stv0367ter_lock_algo()
846 stv0367_writebits(state, F367TER_SYR_FILTER, 1); in stv0367ter_lock_algo()
887 stv0367_writebits(state, F367TER_SYR_TR_DIS, 1); in stv0367ter_lock_algo()
904 stv0367_writebits(state, F367TER_TS_DIS, 0); in stv0367ter_set_ts_mode()
909 stv0367_writebits(state, F367TER_TSFIFO_SERIAL, 0); in stv0367ter_set_ts_mode()
910 stv0367_writebits(state, F367TER_TSFIFO_DVBCI, 0); in stv0367ter_set_ts_mode()
913 stv0367_writebits(state, F367TER_TSFIFO_SERIAL, 1); in stv0367ter_set_ts_mode()
914 stv0367_writebits(state, F367TER_TSFIFO_DVBCI, 1); in stv0367ter_set_ts_mode()
930 stv0367_writebits(state, F367TER_TS_BYTE_CLK_INV, 1); in stv0367ter_set_clk_pol()
933 stv0367_writebits(state, F367TER_TS_BYTE_CLK_INV, 0); in stv0367ter_set_clk_pol()
937 stv0367_writebits(state, F367TER_TS_BYTE_CLK_INV, 0); in stv0367ter_set_clk_pol()
948 stv0367_writebits(state, F367TER_CORE_ACTIVE, 0);
949 stv0367_writebits(state, F367TER_CORE_ACTIVE, 1);
960 stv0367_writebits(state, F367TER_STDBY, 1); in stv0367ter_standby()
961 stv0367_writebits(state, F367TER_STDBY_FEC, 1); in stv0367ter_standby()
962 stv0367_writebits(state, F367TER_STDBY_CORE, 1); in stv0367ter_standby()
964 stv0367_writebits(state, F367TER_STDBY, 0); in stv0367ter_standby()
965 stv0367_writebits(state, F367TER_STDBY_FEC, 0); in stv0367ter_standby()
966 stv0367_writebits(state, F367TER_STDBY_CORE, 0); in stv0367ter_standby()
1028 stv0367_writebits(state, F367TER_TUNER_BB, 0); in stv0367ter_algo()
1029 stv0367_writebits(state, F367TER_LONGPATH_IF, 0); in stv0367ter_algo()
1030 stv0367_writebits(state, F367TER_DEMUX_SWAP, 0); in stv0367ter_algo()
1034 stv0367_writebits(state, F367TER_TUNER_BB, 0); in stv0367ter_algo()
1035 stv0367_writebits(state, F367TER_LONGPATH_IF, 1); in stv0367ter_algo()
1036 stv0367_writebits(state, F367TER_DEMUX_SWAP, 1); in stv0367ter_algo()
1040 stv0367_writebits(state, F367TER_TUNER_BB, 1); in stv0367ter_algo()
1041 stv0367_writebits(state, F367TER_PPM_INVSEL, 0); in stv0367ter_algo()
1055 stv0367_writebits(state, F367TER_IQ_INVERT, in stv0367ter_algo()
1058 stv0367_writebits(state, F367TER_INV_SPECTR, in stv0367ter_algo()
1065 stv0367_writebits(state, F367TER_IQ_INVERT, in stv0367ter_algo()
1068 stv0367_writebits(state, F367TER_INV_SPECTR, in stv0367ter_algo()
1080 stv0367_writebits(state, F367TER_SEL_IQNTAR, 1); in stv0367ter_algo()
1081 stv0367_writebits(state, F367TER_AUT_AGC_TARGET_MSB, 0xB); in stv0367ter_algo()
1085 stv0367_writebits(state, F367TER_SEL_IQNTAR, 0); in stv0367ter_algo()
1086 stv0367_writebits(state, F367TER_AUT_AGC_TARGET_MSB, 0xB); in stv0367ter_algo()
1099 stv0367_writebits(state, F367TER_BDI_LPSEL, 0x01); in stv0367ter_algo()
1101 stv0367_writebits(state, F367TER_BDI_LPSEL, 0x00); in stv0367ter_algo()
1108 stv0367_writebits(state, F367TER_TRL_NOMRATE_LSB, temp % 2); in stv0367ter_algo()
1110 stv0367_writebits(state, F367TER_TRL_NOMRATE_HI, temp / 256); in stv0367ter_algo()
1111 stv0367_writebits(state, F367TER_TRL_NOMRATE_LO, temp % 256); in stv0367ter_algo()
1117 stv0367_writebits(state, F367TER_GAIN_SRC_HI, temp / 256); in stv0367ter_algo()
1118 stv0367_writebits(state, F367TER_GAIN_SRC_LO, temp % 256); in stv0367ter_algo()
1126 stv0367_writebits(state, F367TER_INC_DEROT_HI, temp / 256); in stv0367ter_algo()
1127 stv0367_writebits(state, F367TER_INC_DEROT_LO, temp % 256); in stv0367ter_algo()
1132 stv0367_writebits(state, F367TER_LONG_ECHO, ter_state->echo_pos); in stv0367ter_algo()
1151 stv0367_writebits(state, F367TER_FREEZE, 1); in stv0367ter_algo()
1155 stv0367_writebits(state, F367TER_FREEZE, 0); in stv0367ter_algo()
1211 stv0367_writebits(state, F367TER_TRL_NOMRATE_LSB, in stv0367ter_algo()
1213 stv0367_writebits(state, F367TER_TRL_NOMRATE_LO, in stv0367ter_algo()
1224 stv0367_writebits(state, F367TER_CORE_ACTIVE, 0); in stv0367ter_algo()
1226 stv0367_writebits(state, F367TER_CORE_ACTIVE, 1); in stv0367ter_algo()
1491 stv0367_writebits(state, F367TER_CORE_ACTIVE, 0);
1493 stv0367_writebits(state, F367TER_CORE_ACTIVE, 1);
1771 stv0367_writebits(state, F367CAB_I2CT_ON, (enable > 0) ? 1 : 0); in stv0367cab_gate_ctrl()
1822 stv0367_writebits(state, F367CAB_QAM_MODE, QAMSize); in stv0367cab_SetQamSize()
1942 stv0367_writebits(state, F367CAB_MIX_NCO_INC_HH, (sampled_if >> 16)); in stv0367cab_set_derot_freq()
2087 stv0367_writebits(state, F367CAB_ALLPASSFILT_EN, 1); in stv0367cab_set_srate()
2093 stv0367_writebits(state, F367CAB_ALLPASSFILT_EN, 0); in stv0367cab_set_srate()
2101 stv0367_writebits(state, F367CAB_GAIN_SRC_HI, (u32_tmp1 >> 8) & 0x00ff); in stv0367cab_set_srate()
2257 stv0367_writebits(state, F367CAB_BYPASS_PLLXN, 0x03); in stv0367cab_standby()
2258 stv0367_writebits(state, F367CAB_STDBY_PLLXN, 0x01); in stv0367cab_standby()
2259 stv0367_writebits(state, F367CAB_STDBY, 1); in stv0367cab_standby()
2260 stv0367_writebits(state, F367CAB_STDBY_CORE, 1); in stv0367cab_standby()
2261 stv0367_writebits(state, F367CAB_EN_BUFFER_I, 0); in stv0367cab_standby()
2262 stv0367_writebits(state, F367CAB_EN_BUFFER_Q, 0); in stv0367cab_standby()
2263 stv0367_writebits(state, F367CAB_POFFQ, 1); in stv0367cab_standby()
2264 stv0367_writebits(state, F367CAB_POFFI, 1); in stv0367cab_standby()
2266 stv0367_writebits(state, F367CAB_STDBY_PLLXN, 0x00); in stv0367cab_standby()
2267 stv0367_writebits(state, F367CAB_BYPASS_PLLXN, 0x00); in stv0367cab_standby()
2268 stv0367_writebits(state, F367CAB_STDBY, 0); in stv0367cab_standby()
2269 stv0367_writebits(state, F367CAB_STDBY_CORE, 0); in stv0367cab_standby()
2270 stv0367_writebits(state, F367CAB_EN_BUFFER_I, 1); in stv0367cab_standby()
2271 stv0367_writebits(state, F367CAB_EN_BUFFER_Q, 1); in stv0367cab_standby()
2272 stv0367_writebits(state, F367CAB_POFFQ, 0); in stv0367cab_standby()
2273 stv0367_writebits(state, F367CAB_POFFI, 0); in stv0367cab_standby()
2297 stv0367_writebits(state, F367CAB_OUTFORMAT, 0x03); in stv0367cab_init()
2301 stv0367_writebits(state, F367CAB_OUTFORMAT, 0x01); in stv0367cab_init()
2305 stv0367_writebits(state, F367CAB_OUTFORMAT, 0x00); in stv0367cab_init()
2311 stv0367_writebits(state, F367CAB_CLK_POLARITY, 0x00); in stv0367cab_init()
2315 stv0367_writebits(state, F367CAB_CLK_POLARITY, 0x01); in stv0367cab_init()
2319 stv0367_writebits(state, F367CAB_SYNC_STRIP, 0x00); in stv0367cab_init()
2321 stv0367_writebits(state, F367CAB_CT_NBST, 0x01); in stv0367cab_init()
2323 stv0367_writebits(state, F367CAB_TS_SWAP, 0x01); in stv0367cab_init()
2325 stv0367_writebits(state, F367CAB_FIFO_BYPASS, 0x00); in stv0367cab_init()
2420 stv0367_writebits(state, F367CAB_AGC_ACCUMRSTSEL, 0x0); in stv0367cab_algo()
2422 stv0367_writebits(state, F367CAB_MODULUSMAP_EN, 0); in stv0367cab_algo()
2424 stv0367_writebits(state, F367CAB_SWEEP_EN, 0); in stv0367cab_algo()
2431 stv0367_writebits(state, F367CAB_ADJ_EN, 0); in stv0367cab_algo()
2432 stv0367_writebits(state, F367CAB_ALLPASSFILT_EN, 0); in stv0367cab_algo()
2546 stv0367_writebits(state, F367CAB_AGC_ACCUMRSTSEL, TrackAGCAccum); in stv0367cab_algo()
2689 stv0367_writebits(state, F367CAB_STDBY_ADCGP, 0x0); in stv0367cab_get_rf_lvl()