Lines Matching refs:cx24123_writereg

276 #define cx24123_writereg(state, reg, val) \  macro
288 cx24123_writereg(state, 0x0e, nom_reg & ~0x80); in cx24123_set_inversion()
289 cx24123_writereg(state, 0x10, auto_reg | 0x80); in cx24123_set_inversion()
293 cx24123_writereg(state, 0x0e, nom_reg | 0x80); in cx24123_set_inversion()
294 cx24123_writereg(state, 0x10, auto_reg | 0x80); in cx24123_set_inversion()
298 cx24123_writereg(state, 0x10, auto_reg & ~0x80); in cx24123_set_inversion()
334 cx24123_writereg(state, 0x43, in cx24123_set_fec()
337 cx24123_writereg(state, 0x43, in cx24123_set_fec()
343 cx24123_writereg(state, 0x0e, nom_reg | 0x01); in cx24123_set_fec()
344 cx24123_writereg(state, 0x0f, 0x02); in cx24123_set_fec()
348 cx24123_writereg(state, 0x0e, nom_reg | 0x02); in cx24123_set_fec()
349 cx24123_writereg(state, 0x0f, 0x04); in cx24123_set_fec()
353 cx24123_writereg(state, 0x0e, nom_reg | 0x03); in cx24123_set_fec()
354 cx24123_writereg(state, 0x0f, 0x08); in cx24123_set_fec()
358 cx24123_writereg(state, 0x0e, nom_reg | 0x04); in cx24123_set_fec()
359 cx24123_writereg(state, 0x0f, 0x10); in cx24123_set_fec()
363 cx24123_writereg(state, 0x0e, nom_reg | 0x05); in cx24123_set_fec()
364 cx24123_writereg(state, 0x0f, 0x20); in cx24123_set_fec()
368 cx24123_writereg(state, 0x0e, nom_reg | 0x06); in cx24123_set_fec()
369 cx24123_writereg(state, 0x0f, 0x40); in cx24123_set_fec()
373 cx24123_writereg(state, 0x0e, nom_reg | 0x07); in cx24123_set_fec()
374 cx24123_writereg(state, 0x0f, 0x80); in cx24123_set_fec()
378 cx24123_writereg(state, 0x0f, 0xfe); in cx24123_set_fec()
480 cx24123_writereg(state, 0x01, pll_mult * 6); in cx24123_set_symbolrate()
482 cx24123_writereg(state, 0x08, (ratio >> 16) & 0x3f); in cx24123_set_symbolrate()
483 cx24123_writereg(state, 0x09, (ratio >> 8) & 0xff); in cx24123_set_symbolrate()
484 cx24123_writereg(state, 0x0a, ratio & 0xff); in cx24123_set_symbolrate()
489 cx24123_writereg(state, 0x0c, tmp | sample_gain << 5); in cx24123_set_symbolrate()
588 cx24123_writereg(state, 0x21, 0x15); in cx24123_pll_writereg()
592 cx24123_writereg(state, 0x22, (data >> 16) & 0xff); in cx24123_pll_writereg()
604 cx24123_writereg(state, 0x22, (data >> 8) & 0xff); in cx24123_pll_writereg()
617 cx24123_writereg(state, 0x22, (data) & 0xff); in cx24123_pll_writereg()
628 cx24123_writereg(state, 0x20, cx24123_readreg(state, 0x20) | 2); in cx24123_pll_writereg()
629 cx24123_writereg(state, 0x20, cx24123_readreg(state, 0x20) & 0xfd); in cx24123_pll_writereg()
657 cx24123_writereg(state, 0x27, state->FILTune >> 2); in cx24123_pll_tune()
658 cx24123_writereg(state, 0x28, val | (state->FILTune & 0x3)); in cx24123_pll_tune()
683 return cx24123_writereg(state, 0x23, r); in cx24123_repeater_mode()
695 cx24123_writereg(state, cx24123_regdata[i].reg, in cx24123_initfe()
700 cx24123_writereg(state, 0x32, in cx24123_initfe()
720 return cx24123_writereg(state, 0x29, val & 0x7f); in cx24123_set_voltage()
723 return cx24123_writereg(state, 0x29, val | 0x80); in cx24123_set_voltage()
759 cx24123_writereg(state, 0x29, tone & ~0x50); in cx24123_send_diseqc_msg()
765 cx24123_writereg(state, 0x2a, cx24123_readreg(state, 0x2a) & 0xfb); in cx24123_send_diseqc_msg()
768 cx24123_writereg(state, 0x2C + i, cmd->msg[i]); in cx24123_send_diseqc_msg()
771 cx24123_writereg(state, 0x29, ((val & 0x90) | 0x40) | in cx24123_send_diseqc_msg()
779 cx24123_writereg(state, 0x29, tone & ~0x40); in cx24123_send_diseqc_msg()
795 cx24123_writereg(state, 0x29, tone & ~0x50); in cx24123_diseqc_send_burst()
801 cx24123_writereg(state, 0x2a, cx24123_readreg(state, 0x2a) | 0x4); in cx24123_diseqc_send_burst()
805 cx24123_writereg(state, 0x29, ((val & 0x90) | 0x40 | 0x00)); in cx24123_diseqc_send_burst()
807 cx24123_writereg(state, 0x29, ((val & 0x90) | 0x40 | 0x08)); in cx24123_diseqc_send_burst()
812 cx24123_writereg(state, 0x2a, cx24123_readreg(state, 0x2a) & 0xfb); in cx24123_diseqc_send_burst()
816 cx24123_writereg(state, 0x29, tone & ~0x40); in cx24123_diseqc_send_burst()
925 cx24123_writereg(state, 0x03, (cx24123_readreg(state, 0x03) | 0x07)); in cx24123_set_frontend()
926 cx24123_writereg(state, 0x00, 0x10); in cx24123_set_frontend()
927 cx24123_writereg(state, 0x00, 0); in cx24123_set_frontend()
969 return cx24123_writereg(state, 0x29, val | 0x10); in cx24123_set_tone()
972 return cx24123_writereg(state, 0x29, val & 0xef); in cx24123_set_tone()