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

/linux-4.4.14/drivers/media/dvb-frontends/
H A Dves1820.c59 static int ves1820_writereg(struct ves1820_state *state, u8 reg, u8 data) ves1820_writereg() function
106 ves1820_writereg(state, 0x00, reg0 & 0xfe); ves1820_setup_reg0()
107 ves1820_writereg(state, 0x00, reg0 | 0x01); ves1820_setup_reg0()
181 ves1820_writereg(state, 0x03, NDEC); ves1820_set_symbolrate()
182 ves1820_writereg(state, 0x0a, BDR & 0xff); ves1820_set_symbolrate()
183 ves1820_writereg(state, 0x0b, (BDR >> 8) & 0xff); ves1820_set_symbolrate()
184 ves1820_writereg(state, 0x0c, (BDR >> 16) & 0x3f); ves1820_set_symbolrate()
186 ves1820_writereg(state, 0x0d, BDRI); ves1820_set_symbolrate()
187 ves1820_writereg(state, 0x0e, SFIL); ves1820_set_symbolrate()
197 ves1820_writereg(state, 0, 0); ves1820_init()
200 ves1820_writereg(state, i, ves1820_inittab[i]); ves1820_init()
202 ves1820_writereg(state, 2, ves1820_inittab[2] | 0x08); ves1820_init()
204 ves1820_writereg(state, 0x34, state->pwm); ves1820_init()
229 ves1820_writereg(state, 0x34, state->pwm); ves1820_set_parameters()
231 ves1820_writereg(state, 0x01, reg0x01[real_qam]); ves1820_set_parameters()
232 ves1820_writereg(state, 0x05, reg0x05[real_qam]); ves1820_set_parameters()
233 ves1820_writereg(state, 0x08, reg0x08[real_qam]); ves1820_set_parameters()
234 ves1820_writereg(state, 0x09, reg0x09[real_qam]); ves1820_set_parameters()
237 ves1820_writereg(state, 2, ves1820_inittab[2] | (state->config->selagc ? 0x08 : 0)); ves1820_set_parameters()
309 ves1820_writereg(state, 0x10, ves1820_inittab[0x10] & 0xdf); ves1820_read_ucblocks()
310 ves1820_writereg(state, 0x10, ves1820_inittab[0x10]); ves1820_read_ucblocks()
351 ves1820_writereg(state, 0x1b, 0x02); /* pdown ADC */ ves1820_sleep()
352 ves1820_writereg(state, 0x00, 0x80); /* standby */ ves1820_sleep()
/linux-4.4.14/drivers/media/pci/ttpci/
H A Dav7110_v4l.c136 static int ves1820_writereg(struct saa7146_dev *dev, u8 addr, u8 reg, u8 data) ves1820_writereg() function
267 if (ves1820_writereg(dev, 0x09, 0x0f, 0x60)) av7110_dvb_c_switch()
303 if (ves1820_writereg(dev, 0x09, 0x0f, 0x20)) av7110_dvb_c_switch()
756 if (ves1820_writereg(av7110->dev, 0x09, 0x0f, 0x20)) av7110_init_analog_module()

Completed in 89 milliseconds