Lines Matching refs:stb0899_write_reg

528 int stb0899_write_reg(struct stb0899_state *state, unsigned int reg, u8 data)  in stb0899_write_reg()  function
565 stb0899_write_reg(state, STB0899_NCOARSE, mdiv); in stb0899_set_mclk()
580 stb0899_write_reg(state, postproc[ctl].gpio, 0x02); in stb0899_postproc()
582 stb0899_write_reg(state, postproc[ctl].gpio, 0x82); in stb0899_postproc()
585 stb0899_write_reg(state, postproc[ctl].gpio, 0x82); in stb0899_postproc()
587 stb0899_write_reg(state, postproc[ctl].gpio, 0x02); in stb0899_postproc()
697 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_send_diseqc_msg()
703 stb0899_write_reg(state, STB0899_DISFIFO, cmd->msg[i]); in stb0899_send_diseqc_msg()
707 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_send_diseqc_msg()
792 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_send_diseqc_burst()
796 stb0899_write_reg(state, STB0899_DISFIFO, 0x00); in stb0899_send_diseqc_burst()
800 stb0899_write_reg(state, STB0899_DISFIFO, 0xff); in stb0899_send_diseqc_burst()
805 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_send_diseqc_burst()
811 stb0899_write_reg(state, STB0899_DISCNTRL1, old_state); in stb0899_send_diseqc_burst()
826 stb0899_write_reg(state, STB0899_DISCNTRL2, reg); in stb0899_diseqc_init()
831 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_diseqc_init()
835 stb0899_write_reg(state, STB0899_DISCNTRL1, reg); in stb0899_diseqc_init()
839 stb0899_write_reg(state, STB0899_DISF22, f22_tx); /* DiSEqC Tx freq */ in stb0899_diseqc_init()
863 if ((rc = stb0899_write_reg(state, STB0899_SYNTCTRL, STB0899_SELOSCI))) in stb0899_wakeup()
866 if ((rc = stb0899_write_reg(state, STB0899_STOPCLK1, 0x00))) in stb0899_wakeup()
868 if ((rc = stb0899_write_reg(state, STB0899_STOPCLK2, 0x00))) in stb0899_wakeup()
888 stb0899_write_reg(state, config->init_dev[i].address, config->init_dev[i].data); in stb0899_init()
901 stb0899_write_reg(state, config->init_s1_demod[i].address, config->init_s1_demod[i].data); in stb0899_init()
914 stb0899_write_reg(state, config->init_tst[i].address, config->init_tst[i].data); in stb0899_init()
1171 stb0899_write_reg(state, STB0899_GPIO00CFG, 0x82); in stb0899_set_voltage()
1172 stb0899_write_reg(state, STB0899_GPIO01CFG, 0x02); in stb0899_set_voltage()
1173 stb0899_write_reg(state, STB0899_GPIO02CFG, 0x00); in stb0899_set_voltage()
1176 stb0899_write_reg(state, STB0899_GPIO00CFG, 0x02); in stb0899_set_voltage()
1177 stb0899_write_reg(state, STB0899_GPIO01CFG, 0x02); in stb0899_set_voltage()
1178 stb0899_write_reg(state, STB0899_GPIO02CFG, 0x82); in stb0899_set_voltage()
1181 stb0899_write_reg(state, STB0899_GPIO00CFG, 0x82); in stb0899_set_voltage()
1182 stb0899_write_reg(state, STB0899_GPIO01CFG, 0x82); in stb0899_set_voltage()
1183 stb0899_write_reg(state, STB0899_GPIO02CFG, 0x82); in stb0899_set_voltage()
1207 stb0899_write_reg(state, STB0899_DISEQCOCFG, 0x66); in stb0899_set_tone()
1210 stb0899_write_reg(state, STB0899_ACRPRESC, reg); in stb0899_set_tone()
1211 stb0899_write_reg(state, STB0899_ACRDIV1, div); in stb0899_set_tone()
1214 stb0899_write_reg(state, STB0899_DISEQCOCFG, 0x20); in stb0899_set_tone()
1234 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()
1239 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()
1305 stb0899_write_reg(state, STB0899_FECM, reg); in stb0899_set_delivery()
1307 stb0899_write_reg(state, STB0899_RSULC, 0xb1); in stb0899_set_delivery()
1308 stb0899_write_reg(state, STB0899_TSULC, 0x40); in stb0899_set_delivery()
1309 stb0899_write_reg(state, STB0899_RSLLC, 0x42); in stb0899_set_delivery()
1310 stb0899_write_reg(state, STB0899_TSLPL, 0x12); in stb0899_set_delivery()
1314 stb0899_write_reg(state, STB0899_TSTRES, reg); in stb0899_set_delivery()
1333 stb0899_write_reg(state, STB0899_FECM, reg); in stb0899_set_delivery()
1335 stb0899_write_reg(state, STB0899_RSULC, 0xb1); in stb0899_set_delivery()
1336 stb0899_write_reg(state, STB0899_TSULC, 0x42); in stb0899_set_delivery()
1337 stb0899_write_reg(state, STB0899_RSLLC, 0x40); in stb0899_set_delivery()
1338 stb0899_write_reg(state, STB0899_TSLPL, 0x02); in stb0899_set_delivery()
1342 stb0899_write_reg(state, STB0899_TSTRES, reg); in stb0899_set_delivery()
1361 stb0899_write_reg(state, STB0899_FECM, reg); in stb0899_set_delivery()
1363 stb0899_write_reg(state, STB0899_RSULC, 0xa1); in stb0899_set_delivery()
1364 stb0899_write_reg(state, STB0899_TSULC, 0x61); in stb0899_set_delivery()
1365 stb0899_write_reg(state, STB0899_RSLLC, 0x42); in stb0899_set_delivery()
1369 stb0899_write_reg(state, STB0899_TSTRES, reg); in stb0899_set_delivery()
1480 stb0899_write_reg(state, STB0899_AGCRFCFG, 0x11); in stb0899_search()
1521 stb0899_write_reg(state, STB0899_AGCRFCFG, 0x1c); in stb0899_search()