Lines Matching refs:stv0299_writeregI
70 static int stv0299_writeregI (struct stv0299_state* state, u8 reg, u8 data) in stv0299_writeregI() function
92 return stv0299_writeregI(state, buf[0], buf[1]); in stv0299_write()
133 return stv0299_writeregI (state, 0x31, 0x1f); in stv0299_set_FEC()
137 return stv0299_writeregI (state, 0x31, 0x01); in stv0299_set_FEC()
141 return stv0299_writeregI (state, 0x31, 0x02); in stv0299_set_FEC()
145 return stv0299_writeregI (state, 0x31, 0x04); in stv0299_set_FEC()
149 return stv0299_writeregI (state, 0x31, 0x08); in stv0299_set_FEC()
153 return stv0299_writeregI (state, 0x31, 0x10); in stv0299_set_FEC()
278 if (stv0299_writeregI (state, 0x08, (val & ~0x7) | 0x6)) /* DiSEqC mode */ in stv0299_send_diseqc_msg()
285 if (stv0299_writeregI (state, 0x09, m->msg[i])) in stv0299_send_diseqc_msg()
308 if (stv0299_writeregI (state, 0x08, (val & ~0x7) | 0x2)) /* burst mode */ in stv0299_send_diseqc_burst()
311 if (stv0299_writeregI (state, 0x09, burst == SEC_MINI_A ? 0x00 : 0xff)) in stv0299_send_diseqc_burst()
317 if (stv0299_writeregI (state, 0x08, val)) in stv0299_send_diseqc_burst()
336 return stv0299_writeregI (state, 0x08, val | 0x3); in stv0299_set_tone()
339 return stv0299_writeregI (state, 0x08, (val & ~0x3) | 0x02); in stv0299_set_tone()
388 stv0299_writeregI(state, 0x08, reg0x08); in stv0299_set_voltage()
389 return stv0299_writeregI(state, 0x0c, reg0x0c); in stv0299_set_voltage()
406 stv0299_writeregI (state, 0x08, (reg0x08 & 0x3f) | (state->config->lock_output << 6)); in stv0299_send_legacy_dish_cmd()
417 stv0299_writeregI (state, 0x0c, reg0x0c | 0x50); /* set LNB to 18V */ in stv0299_send_legacy_dish_cmd()
426 stv0299_writeregI (state, 0x0c, reg0x0c | (last ? lv_mask : 0x50)); in stv0299_send_legacy_dish_cmd()
455 stv0299_writeregI(state, 0x02, 0x30 | state->mcr_reg); in stv0299_init()
467 stv0299_writeregI(state, reg, val); in stv0299_init()
575 stv0299_writeregI(state, 0x0c, (stv0299_readreg(state, 0x0c) & 0xfe) | invval); in stv0299_set_frontend()
584 stv0299_writeregI(state, 0x22, 0x00); in stv0299_set_frontend()
585 stv0299_writeregI(state, 0x23, 0x00); in stv0299_set_frontend()
624 stv0299_writeregI(state, 0x02, 0xb0 | state->mcr_reg); in stv0299_sleep()
635 stv0299_writeregI(state, 0x05, 0xb5); in stv0299_i2c_gate_ctrl()
637 stv0299_writeregI(state, 0x05, 0x35); in stv0299_i2c_gate_ctrl()
687 stv0299_writeregI(state, 0x02, 0x30); /* standby off */ in stv0299_attach()