Lines Matching refs:stb0899_write_reg

540 int stb0899_write_reg(struct stb0899_state *state, unsigned int reg, u8 data)  in stb0899_write_reg()  function
577 stb0899_write_reg(state, STB0899_NCOARSE, mdiv); in stb0899_set_mclk()
592 stb0899_write_reg(state, postproc[ctl].gpio, 0x02); in stb0899_postproc()
594 stb0899_write_reg(state, postproc[ctl].gpio, 0x82); in stb0899_postproc()
597 stb0899_write_reg(state, postproc[ctl].gpio, 0x82); in stb0899_postproc()
599 stb0899_write_reg(state, postproc[ctl].gpio, 0x02); in stb0899_postproc()
709 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_send_diseqc_msg()
715 stb0899_write_reg(state, STB0899_DISFIFO, cmd->msg[i]); in stb0899_send_diseqc_msg()
719 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_send_diseqc_msg()
804 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_send_diseqc_burst()
808 stb0899_write_reg(state, STB0899_DISFIFO, 0x00); in stb0899_send_diseqc_burst()
812 stb0899_write_reg(state, STB0899_DISFIFO, 0xff); in stb0899_send_diseqc_burst()
817 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_send_diseqc_burst()
823 stb0899_write_reg(state, STB0899_DISCNTRL1, old_state); in stb0899_send_diseqc_burst()
838 stb0899_write_reg(state, STB0899_DISCNTRL2, reg); in stb0899_diseqc_init()
843 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_diseqc_init()
847 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_diseqc_init()
851 stb0899_write_reg(state, STB0899_DISF22, f22_tx); /* DiSEqC Tx freq */ in stb0899_diseqc_init()
875 if ((rc = stb0899_write_reg(state, STB0899_SYNTCTRL, STB0899_SELOSCI))) in stb0899_wakeup()
878 if ((rc = stb0899_write_reg(state, STB0899_STOPCLK1, 0x00))) in stb0899_wakeup()
880 if ((rc = stb0899_write_reg(state, STB0899_STOPCLK2, 0x00))) in stb0899_wakeup()
900 stb0899_write_reg(state, config->init_dev[i].address, config->init_dev[i].data); in stb0899_init()
913 stb0899_write_reg(state, config->init_s1_demod[i].address, config->init_s1_demod[i].data); in stb0899_init()
926 stb0899_write_reg(state, config->init_tst[i].address, config->init_tst[i].data); in stb0899_init()
1183 stb0899_write_reg(state, STB0899_GPIO00CFG, 0x82); in stb0899_set_voltage()
1184 stb0899_write_reg(state, STB0899_GPIO01CFG, 0x02); in stb0899_set_voltage()
1185 stb0899_write_reg(state, STB0899_GPIO02CFG, 0x00); in stb0899_set_voltage()
1188 stb0899_write_reg(state, STB0899_GPIO00CFG, 0x02); in stb0899_set_voltage()
1189 stb0899_write_reg(state, STB0899_GPIO01CFG, 0x02); in stb0899_set_voltage()
1190 stb0899_write_reg(state, STB0899_GPIO02CFG, 0x82); in stb0899_set_voltage()
1193 stb0899_write_reg(state, STB0899_GPIO00CFG, 0x82); in stb0899_set_voltage()
1194 stb0899_write_reg(state, STB0899_GPIO01CFG, 0x82); in stb0899_set_voltage()
1195 stb0899_write_reg(state, STB0899_GPIO02CFG, 0x82); in stb0899_set_voltage()
1219 stb0899_write_reg(state, STB0899_DISEQCOCFG, 0x66); in stb0899_set_tone()
1222 stb0899_write_reg(state, STB0899_ACRPRESC, reg); in stb0899_set_tone()
1223 stb0899_write_reg(state, STB0899_ACRDIV1, div); in stb0899_set_tone()
1226 stb0899_write_reg(state, STB0899_DISEQCOCFG, 0x20); in stb0899_set_tone()
1246 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()
1251 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()
1317 stb0899_write_reg(state, STB0899_FECM, reg); in stb0899_set_delivery()
1319 stb0899_write_reg(state, STB0899_RSULC, 0xb1); in stb0899_set_delivery()
1320 stb0899_write_reg(state, STB0899_TSULC, 0x40); in stb0899_set_delivery()
1321 stb0899_write_reg(state, STB0899_RSLLC, 0x42); in stb0899_set_delivery()
1322 stb0899_write_reg(state, STB0899_TSLPL, 0x12); in stb0899_set_delivery()
1326 stb0899_write_reg(state, STB0899_TSTRES, reg); in stb0899_set_delivery()
1345 stb0899_write_reg(state, STB0899_FECM, reg); in stb0899_set_delivery()
1347 stb0899_write_reg(state, STB0899_RSULC, 0xb1); in stb0899_set_delivery()
1348 stb0899_write_reg(state, STB0899_TSULC, 0x42); in stb0899_set_delivery()
1349 stb0899_write_reg(state, STB0899_RSLLC, 0x40); in stb0899_set_delivery()
1350 stb0899_write_reg(state, STB0899_TSLPL, 0x02); in stb0899_set_delivery()
1354 stb0899_write_reg(state, STB0899_TSTRES, reg); in stb0899_set_delivery()
1373 stb0899_write_reg(state, STB0899_FECM, reg); in stb0899_set_delivery()
1375 stb0899_write_reg(state, STB0899_RSULC, 0xa1); in stb0899_set_delivery()
1376 stb0899_write_reg(state, STB0899_TSULC, 0x61); in stb0899_set_delivery()
1377 stb0899_write_reg(state, STB0899_RSLLC, 0x42); in stb0899_set_delivery()
1381 stb0899_write_reg(state, STB0899_TSTRES, reg); in stb0899_set_delivery()
1492 stb0899_write_reg(state, STB0899_AGCRFCFG, 0x11); in stb0899_search()
1533 stb0899_write_reg(state, STB0899_AGCRFCFG, 0x1c); in stb0899_search()