Searched refs:itd1000_write_reg (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/dvb-frontends/
H A Ditd1000.c100 static inline int itd1000_write_reg(struct itd1000_state *state, u8 r, u8 v) itd1000_write_reg() function
141 itd1000_write_reg(state, CON1, con1 | (1 << 1)); itd1000_set_lpf_bw()
146 itd1000_write_reg(state, PLLFH, pllfh | (itd1000_lpf_pga[i].pgaext << 4)); itd1000_set_lpf_bw()
147 itd1000_write_reg(state, BBGVMIN, bbgvmin | (itd1000_lpf_pga[i].bbgvmin)); itd1000_set_lpf_bw()
148 itd1000_write_reg(state, BW, bw | (i & 0x0f)); itd1000_set_lpf_bw()
152 itd1000_write_reg(state, CON1, con1 | (0 << 1)); itd1000_set_lpf_bw()
184 itd1000_write_reg(state, GVBB_I2C, gvbb_i2c | (1 << 6)); itd1000_set_vco()
188 itd1000_write_reg(state, VCO_CHP1_I2C, vco_chp1_i2c | (itd1000_vcorg[i].vcorg << 4)); itd1000_set_vco()
197 itd1000_write_reg(state, VCO_CHP1_I2C, vco_chp1_i2c | ((itd1000_vcorg[i].vcorg + 1) << 4)); itd1000_set_vco()
200 itd1000_write_reg(state, VCO_CHP1_I2C, vco_chp1_i2c | ((itd1000_vcorg[i].vcorg - 1) << 4)); itd1000_set_vco()
245 itd1000_write_reg(state, PLLNH, 0x80); /* PLLNH */ itd1000_set_lo()
246 itd1000_write_reg(state, PLLNL, plln & 0xff); itd1000_set_lo()
247 itd1000_write_reg(state, PLLFH, (itd1000_read_reg(state, PLLFH) & 0xf0) | ((pllf >> 16) & 0x0f)); itd1000_set_lo()
248 itd1000_write_reg(state, PLLFM, (pllf >> 8) & 0xff); itd1000_set_lo()
249 itd1000_write_reg(state, PLLFL, (pllf >> 0) & 0xff); itd1000_set_lo()
254 itd1000_write_reg(state, RFTR, itd1000_fre_values[i].values[0]); itd1000_set_lo()
256 itd1000_write_reg(state, RFST1+j, itd1000_fre_values[i].values[j+1]); itd1000_set_lo()
274 itd1000_write_reg(state, PLLCON1, pllcon1 | (1 << 7)); itd1000_set_parameters()
275 itd1000_write_reg(state, PLLCON1, pllcon1); itd1000_set_parameters()
338 itd1000_write_reg(state, itd1000_init_tab[i][0], itd1000_init_tab[i][1]); itd1000_init()
341 itd1000_write_reg(state, itd1000_reinit_tab[i][0], itd1000_reinit_tab[i][1]); itd1000_init()

Completed in 34 milliseconds