Lines Matching refs:cx24113_writereg

90 static int cx24113_writereg(struct cx24113_state *state, int reg, int data)  in cx24113_writereg()  function
136 cx24113_writereg(state, 0x10, r); in cx24113_set_parameters()
140 cx24113_writereg(state, 0x11, r); in cx24113_set_parameters()
146 cx24113_writereg(state, 0x20, r); in cx24113_set_parameters()
152 cx24113_writereg(state, 0x12, r); in cx24113_set_parameters()
160 cx24113_writereg(state, 0x18, r); in cx24113_set_parameters()
164 cx24113_writereg(state, 0x14, r); in cx24113_set_parameters()
165 cx24113_writereg(state, 0x15, (state->bs_freqcnt & 0xff)); in cx24113_set_parameters()
167 cx24113_writereg(state, 0x16, (state->bs_rdiv >> 4) & 0xff); in cx24113_set_parameters()
170 cx24113_writereg(state, 0x17, r); in cx24113_set_parameters()
213 cx24113_writereg(state, 0x1d, ampout); in cx24113_set_gain_settings()
214 cx24113_writereg(state, 0x1f, vga); in cx24113_set_gain_settings()
215 cx24113_writereg(state, 0x20, rfvga); in cx24113_set_gain_settings()
229 return cx24113_writereg(state, 0x02, xtal); in cx24113_set_Fref()
237 return cx24113_writereg(state, 0x21, r21); in cx24113_enable()
262 return cx24113_writereg(state, 0x1e, r); in cx24113_set_bandwidth()
268 return cx24113_writereg(state, 0x10, r); in cx24113_set_clk_inversion()
353 cx24113_writereg(state, 0x10, r | (1 << 6)); in cx24113_calc_pll_nf()
366 cx24113_writereg(state, 0x19, (n >> 1) & 0xff); in cx24113_set_nfr()
369 cx24113_writereg(state, 0x1a, reg); in cx24113_set_nfr()
371 cx24113_writereg(state, 0x1b, (f >> 3) & 0xff); in cx24113_set_nfr()
374 cx24113_writereg(state, 0x1c, reg | ((f & 0x7) << 5)); in cx24113_set_nfr()
386 cx24113_writereg(state, 0x14, r & 0x3f); in cx24113_set_frequency()
389 cx24113_writereg(state, 0x10, r & 0xbf); in cx24113_set_frequency()
401 cx24113_writereg(state, 0x18, r); in cx24113_set_frequency()
407 cx24113_writereg(state, 0x1c, r | (1 << 4)); in cx24113_set_frequency()
456 ret = cx24113_writereg(state, 0x02, in cx24113_init()
459 ret = cx24113_writereg(state, 0x02, in cx24113_init()