Lines Matching refs:tda1004x_read_byte

135 static int tda1004x_read_byte(struct tda1004x_state *state, int reg)  in tda1004x_read_byte()  function
167 val = tda1004x_read_byte(state, reg); in tda1004x_write_mask()
354 while(!(tda1004x_read_byte(state, TDA1004X_STATUS_CD) & 0x20)) { in tda1004x_check_upload_ok()
368 data1 = tda1004x_read_byte(state, TDA1004X_DSP_DATA1); in tda1004x_check_upload_ok()
369 data2 = tda1004x_read_byte(state, TDA1004X_DSP_DATA2); in tda1004x_check_upload_ok()
897 status = tda1004x_read_byte(state, TDA1004X_STATUS_CD); in tda1004x_get_fe()
907 if (tda1004x_read_byte(state, TDA1004X_CONFC1) & 0x20) in tda1004x_get_fe()
915 switch (tda1004x_read_byte(state, TDA10045H_WREF_LSB)) { in tda1004x_get_fe()
928 switch (tda1004x_read_byte(state, TDA10046H_TIME_WREF1)) { in tda1004x_get_fe()
947 tda1004x_decode_fec(tda1004x_read_byte(state, TDA1004X_OUT_CONF2) & 7); in tda1004x_get_fe()
949 tda1004x_decode_fec((tda1004x_read_byte(state, TDA1004X_OUT_CONF2) >> 3) & 7); in tda1004x_get_fe()
952 switch (tda1004x_read_byte(state, TDA1004X_OUT_CONF1) & 3) { in tda1004x_get_fe()
966 if (tda1004x_read_byte(state, TDA1004X_OUT_CONF1) & 0x10) in tda1004x_get_fe()
970 switch ((tda1004x_read_byte(state, TDA1004X_OUT_CONF1) & 0x0c) >> 2) { in tda1004x_get_fe()
986 switch ((tda1004x_read_byte(state, TDA1004X_OUT_CONF1) & 0x60) >> 5) { in tda1004x_get_fe()
1015 status = tda1004x_read_byte(state, TDA1004X_STATUS_CD); in tda1004x_read_status()
1032 cber = tda1004x_read_byte(state, TDA1004X_CBER_LSB); in tda1004x_read_status()
1035 status = tda1004x_read_byte(state, TDA1004X_CBER_MSB); in tda1004x_read_status()
1040 tda1004x_read_byte(state, TDA1004X_CBER_RESET); in tda1004x_read_status()
1050 vber = tda1004x_read_byte(state, TDA1004X_VBER_LSB); in tda1004x_read_status()
1053 status = tda1004x_read_byte(state, TDA1004X_VBER_MID); in tda1004x_read_status()
1057 status = tda1004x_read_byte(state, TDA1004X_VBER_MSB); in tda1004x_read_status()
1062 tda1004x_read_byte(state, TDA1004X_CVBER_LUT); in tda1004x_read_status()
1095 tmp = tda1004x_read_byte(state, reg); in tda1004x_read_signal_strength()
1112 tmp = tda1004x_read_byte(state, TDA1004X_SNR); in tda1004x_read_snr()
1133 tmp = tda1004x_read_byte(state, TDA1004X_UNCOR); in tda1004x_read_ucblocks()
1142 tmp2 = tda1004x_read_byte(state, TDA1004X_UNCOR); in tda1004x_read_ucblocks()
1167 tmp = tda1004x_read_byte(state, TDA1004X_CBER_LSB); in tda1004x_read_ber()
1171 tmp = tda1004x_read_byte(state, TDA1004X_CBER_MSB); in tda1004x_read_ber()
1176 tda1004x_read_byte(state, TDA1004X_CBER_RESET); in tda1004x_read_ber()
1286 id = tda1004x_read_byte(state, TDA1004X_CHIPID); in tda10045_attach()
1356 id = tda1004x_read_byte(state, TDA1004X_CHIPID); in tda10046_attach()