Lines Matching refs:cx22700_writereg

58 static int cx22700_writereg (struct cx22700_state* state, u8 reg, u8 data)  in cx22700_writereg()  function
103 return cx22700_writereg (state, 0x09, val | 0x01); in cx22700_set_inversion()
106 return cx22700_writereg (state, 0x09, val & 0xfe); in cx22700_set_inversion()
151 cx22700_writereg (state, 0x09, cx22700_readreg (state, 0x09 | 0x10)); in cx22700_set_tps()
153 cx22700_writereg (state, 0x09, cx22700_readreg (state, 0x09 & ~0x10)); in cx22700_set_tps()
158 cx22700_writereg (state, 0x04, val); in cx22700_set_tps()
166 cx22700_writereg (state, 0x05, val); in cx22700_set_tps()
171 cx22700_writereg (state, 0x06, val); in cx22700_set_tps()
173 cx22700_writereg (state, 0x08, 0x04 | 0x02); /* use user tps parameters */ in cx22700_set_tps()
174 cx22700_writereg (state, 0x08, 0x04); /* restart acquisition */ in cx22700_set_tps()
232 cx22700_writereg (state, 0x00, 0x02); /* soft reset */ in cx22700_init()
233 cx22700_writereg (state, 0x00, 0x00); in cx22700_init()
238 cx22700_writereg (state, init_tab[i], init_tab[i+1]); in cx22700_init()
240 cx22700_writereg (state, 0x00, 0x01); in cx22700_init()
278 cx22700_writereg (state, 0x0c, 0x00); in cx22700_read_ber()
310 cx22700_writereg (state, 0x0f, 0x00); in cx22700_read_ucblocks()
320 cx22700_writereg (state, 0x00, 0x02); /* XXX CHECKME: soft reset*/ in cx22700_set_frontend()
321 cx22700_writereg (state, 0x00, 0x00); in cx22700_set_frontend()
330 cx22700_writereg (state, 0x37, 0x01); /* PAL loop filter off */ in cx22700_set_frontend()
331 cx22700_writereg (state, 0x00, 0x01); /* restart acquire */ in cx22700_set_frontend()
351 return cx22700_writereg(state, 0x0a, 0x00); in cx22700_i2c_gate_ctrl()
353 return cx22700_writereg(state, 0x0a, 0x01); in cx22700_i2c_gate_ctrl()