Lines Matching refs:cx24120_readreg
162 static int cx24120_readreg(struct cx24120_state *state, u8 reg) in cx24120_readreg() function
282 demod_rev = cx24120_readreg(state, CX24120_REG_REVISION); in cx24120_attach()
314 err = cx24120_readreg(state, 0xfd); in cx24120_test_rom()
316 ret = cx24120_readreg(state, 0xdf) & 0xfe; in cx24120_test_rom()
389 while (cx24120_readreg(state, CX24120_REG_CMD_END)) { in cx24120_message_send()
422 cmd->arg[i] = cx24120_readreg(state, (cmd->len + i + 1)); in cx24120_message_sendrcv()
593 if (!(cx24120_readreg(state, 0x93) & 0x01)) { in cx24120_send_diseqc_msg()
629 sig = cx24120_readreg(state, CX24120_REG_SIGSTR_H) >> 6; in cx24120_get_stats()
631 sig |= cx24120_readreg(state, CX24120_REG_SIGSTR_L); in cx24120_get_stats()
646 cnr = cx24120_readreg(state, CX24120_REG_QUALITY_H) << 8; in cx24120_get_stats()
647 cnr |= cx24120_readreg(state, CX24120_REG_QUALITY_L); in cx24120_get_stats()
673 ber = cx24120_readreg(state, CX24120_REG_BER_HH) << 24; in cx24120_get_stats()
674 ber |= cx24120_readreg(state, CX24120_REG_BER_HL) << 16; in cx24120_get_stats()
675 ber |= cx24120_readreg(state, CX24120_REG_BER_LH) << 8; in cx24120_get_stats()
676 ber |= cx24120_readreg(state, CX24120_REG_BER_LL); in cx24120_get_stats()
690 ucb = cx24120_readreg(state, CX24120_REG_UCB_H) << 8; in cx24120_get_stats()
691 ucb |= cx24120_readreg(state, CX24120_REG_UCB_L); in cx24120_get_stats()
714 lock = cx24120_readreg(state, CX24120_REG_STATUS); in cx24120_read_status()
803 ret = cx24120_readreg(state, CX24120_REG_FECMODE); in cx24120_get_fec()
1228 ret = cx24120_readreg(state, CX24120_REG_RATEDIV); in cx24120_set_frontend()
1285 reg = cx24120_readreg(state, 0xfb) & 0xfe; in cx24120_init()
1287 reg = cx24120_readreg(state, 0xfc) & 0xfe; in cx24120_init()
1293 reg = cx24120_readreg(state, 0xea) & 0xfe; in cx24120_init()
1336 reg = cx24120_readreg(state, 0xfb) & 0xfe; in cx24120_init()
1355 reg = cx24120_readreg(state, 0xe1); in cx24120_init()
1408 reg = cx24120_readreg(state, 0xba); in cx24120_init()
1446 vers[i] = cx24120_readreg(state, CX24120_REG_MAILBOX); in cx24120_init()
1509 status = cx24120_readreg(state, CX24120_REG_STATUS); in cx24120_get_frontend()
1514 freq1 = cx24120_readreg(state, CX24120_REG_FREQ1); in cx24120_get_frontend()
1515 freq2 = cx24120_readreg(state, CX24120_REG_FREQ2); in cx24120_get_frontend()
1516 freq3 = cx24120_readreg(state, CX24120_REG_FREQ3); in cx24120_get_frontend()