Lines Matching refs:tda10048_readreg
228 static u8 tda10048_readreg(struct tda10048_state *state, u8 reg) in tda10048_readreg() function
507 tda10048_readreg(state, TDA10048_CONF_TRISTATE1) in tda10048_firmware_upload()
510 tda10048_readreg(state, TDA10048_CONF_TRISTATE1) in tda10048_firmware_upload()
515 tda10048_readreg(state, TDA10048_CONF_C4_1) & 0xf9); in tda10048_firmware_upload()
519 tda10048_readreg(state, TDA10048_CONF_C4_1) | 0x08); in tda10048_firmware_upload()
544 if (tda10048_readreg(state, TDA10048_SYNC_STATUS) in tda10048_firmware_upload()
571 tda10048_readreg(state, TDA10048_CONF_C1_1) | 0x20); in tda10048_set_inversion()
574 tda10048_readreg(state, TDA10048_CONF_C1_1) & 0xdf); in tda10048_set_inversion()
586 if (!(tda10048_readreg(state, TDA10048_AUTO) & 0x01)) in tda10048_get_tps()
589 val = tda10048_readreg(state, TDA10048_OUT_CONF2); in tda10048_get_tps()
633 val = tda10048_readreg(state, TDA10048_OUT_CONF3); in tda10048_get_tps()
652 val = tda10048_readreg(state, TDA10048_OUT_CONF1); in tda10048_get_tps()
690 tda10048_readreg(state, TDA10048_CONF_C4_1) | 0x02); in tda10048_i2c_gate_ctrl()
693 tda10048_readreg(state, TDA10048_CONF_C4_1) & 0xfd); in tda10048_i2c_gate_ctrl()
793 reg = tda10048_readreg(state, TDA10048_SYNC_STATUS); in tda10048_read_status()
822 if (tda10048_readreg(state, TDA10048_SOFT_IT_C3) & 0x01) { in tda10048_read_ber()
823 cber_tmp = tda10048_readreg(state, TDA10048_CBER_MSB) << 8 | in tda10048_read_ber()
824 tda10048_readreg(state, TDA10048_CBER_LSB); in tda10048_read_ber()
825 cber_nmax = tda10048_readreg(state, TDA10048_CBER_NMAX_MSB) << 8 | in tda10048_read_ber()
826 tda10048_readreg(state, TDA10048_CBER_NMAX_LSB); in tda10048_read_ber()
850 v = tda10048_readreg(state, TDA10048_NP_OUT); in tda10048_read_signal_strength()
995 v = tda10048_readreg(state, TDA10048_NP_OUT); in tda10048_read_snr()
1013 *ucblocks = tda10048_readreg(state, TDA10048_UNCOR_CPT_MSB) << 8 | in tda10048_read_ucblocks()
1014 tda10048_readreg(state, TDA10048_UNCOR_CPT_LSB); in tda10048_read_ucblocks()
1029 p->inversion = tda10048_readreg(state, TDA10048_CONF_C1_1) in tda10048_get_frontend()
1105 if (tda10048_readreg(state, TDA10048_IDENTITY) != 0x048) in tda10048_attach()