• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/common/tuners/

Lines Matching refs:i2c_props

43 	struct tuner_i2c_props i2c_props;
71 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2);
76 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2);
93 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2);
98 tuner_i2c_xfer_send(&priv->i2c_props, msg, 1);
99 tuner_i2c_xfer_recv(&priv->i2c_props, &msg[1], 1);
103 tuner_i2c_xfer_send(&priv->i2c_props, buf, 3);
107 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2);
207 tuner_i2c_xfer_send(&priv->i2c_props, easy_mode, 2);
208 tuner_i2c_xfer_send(&priv->i2c_props, agc_out_on, 2);
209 tuner_i2c_xfer_send(&priv->i2c_props, soft_reset, 2);
220 tuner_i2c_xfer_send(&priv->i2c_props, fm_mode[i].seq, 2);
222 tuner_i2c_xfer_send(&priv->i2c_props, deemphasis, 2);
225 tuner_i2c_xfer_send(&priv->i2c_props, expert_mode, 2);
226 tuner_i2c_xfer_send(&priv->i2c_props, gainset_off, 2);
227 tuner_i2c_xfer_send(&priv->i2c_props, if_agc_spd, 2);
229 tuner_i2c_xfer_send(&priv->i2c_props, adc_head_9, 2);
231 tuner_i2c_xfer_send(&priv->i2c_props, adc_head_6, 2);
232 tuner_i2c_xfer_send(&priv->i2c_props, pll_bw_nom, 2);
241 tuner_i2c_xfer_send(&priv->i2c_props, &addr_pll_stat, 1);
242 tuner_i2c_xfer_recv(&priv->i2c_props, &pll_stat, 1);
244 tuner_i2c_xfer_send(&priv->i2c_props, &addr_adc_sat, 1);
245 tuner_i2c_xfer_recv(&priv->i2c_props, &adc_sat, 1);
246 tuner_i2c_xfer_send(&priv->i2c_props, &addr_agc_stat, 1);
247 tuner_i2c_xfer_recv(&priv->i2c_props, &agc_stat, 1);
259 tuner_i2c_xfer_send(&priv->i2c_props, gainset_2, 2);
261 tuner_i2c_xfer_send(&priv->i2c_props, &addr_agc_stat, 1);
262 tuner_i2c_xfer_recv(&priv->i2c_props, &agc_stat, 1);
263 tuner_i2c_xfer_send(&priv->i2c_props, &addr_pll_stat, 1);
264 tuner_i2c_xfer_recv(&priv->i2c_props, &pll_stat, 1);
271 tuner_i2c_xfer_send(&priv->i2c_props, &addr_agc_stat, 1);
272 tuner_i2c_xfer_recv(&priv->i2c_props, &agc_stat, 1);
273 tuner_i2c_xfer_send(&priv->i2c_props, &addr_pll_stat, 1);
274 tuner_i2c_xfer_recv(&priv->i2c_props, &pll_stat, 1);
277 tuner_i2c_xfer_send(&priv->i2c_props, adc_head_12, 2);
278 tuner_i2c_xfer_send(&priv->i2c_props, pll_bw_low, 2);
286 tuner_i2c_xfer_send(&priv->i2c_props, &addr_adc_sat, 1);
287 tuner_i2c_xfer_recv(&priv->i2c_props, &adc_sat, 1);
288 tuner_i2c_xfer_send(&priv->i2c_props, &addr_pll_stat, 1);
289 tuner_i2c_xfer_recv(&priv->i2c_props, &pll_stat, 1);
292 tuner_i2c_xfer_send(&priv->i2c_props, agc_rst_on, 2);
294 tuner_i2c_xfer_send(&priv->i2c_props, agc_rst_off, 2);
299 tuner_i2c_xfer_send(&priv->i2c_props, if_agc_set, 2);
309 tuner_i2c_xfer_send(&priv->i2c_props, &buf[0], 1);
310 tuner_i2c_xfer_recv(&priv->i2c_props, &buf[1], 1);
317 tuner_i2c_xfer_send(&priv->i2c_props, buf, 2);
325 tuner_i2c_xfer_send(&priv->i2c_props, &buf[0], 1);
326 tuner_i2c_xfer_recv(&priv->i2c_props, &buf[1], 1);
333 tuner_i2c_xfer_send(&priv->i2c_props, buf, 2);
341 tuner_i2c_xfer_send(&priv->i2c_props, buf, 2);
355 tuner_i2c_xfer_send(&priv->i2c_props, &buf[0], 1);
356 tuner_i2c_xfer_recv(&priv->i2c_props, &buf[1], 1);
363 tuner_i2c_xfer_send(&priv->i2c_props, buf, 2);
372 tuner_i2c_xfer_send(&priv->i2c_props, &set_gpio_cf[0], 1);
373 tuner_i2c_xfer_recv(&priv->i2c_props, &set_gpio_cf[1], 1);
374 tuner_i2c_xfer_send(&priv->i2c_props, &set_gpio_val[0], 1);
375 tuner_i2c_xfer_recv(&priv->i2c_props, &set_gpio_val[1], 1);
383 tuner_i2c_xfer_send(&priv->i2c_props, set_gpio_cf, 2);
384 tuner_i2c_xfer_send(&priv->i2c_props, set_gpio_val, 2);
394 tuner_i2c_xfer_send(&priv->i2c_props, &hvpll_stat, 1);
395 tuner_i2c_xfer_recv(&priv->i2c_props, &ret, 1);
415 tuner_i2c_xfer_send(&priv->i2c_props, &blanking_mode[0], 1);
416 tuner_i2c_xfer_recv(&priv->i2c_props, &blanking_mode[1], 1);
421 tuner_i2c_xfer_send(&priv->i2c_props, blanking_mode, 2);
449 tuner_i2c_xfer_send(&priv->i2c_props, i2c_get_afc, ARRAY_SIZE(i2c_get_afc));
450 tuner_i2c_xfer_recv(&priv->i2c_props, &afc, 1);
468 i2c_transfer(priv->i2c_props.adap, &msg, 1);
470 tuner_i2c_xfer_send(&priv->i2c_props, tda8290_agc_tri, 2);
471 tuner_i2c_xfer_send(&priv->i2c_props, tda8290_standby, 2);
490 tuner_i2c_xfer_send(&priv->i2c_props, set_GP00_CF, 2);
492 tuner_i2c_xfer_send(&priv->i2c_props, set_GP01_CF, 2);
493 tuner_i2c_xfer_send(&priv->i2c_props, set_VS, 2);
513 tuner_i2c_xfer_send(&priv->i2c_props, set_adc_ctl, 2);
514 tuner_i2c_xfer_send(&priv->i2c_props, set_adc_ctl2, 2);
515 tuner_i2c_xfer_send(&priv->i2c_props, set_pll_reg6, 2);
516 tuner_i2c_xfer_send(&priv->i2c_props, set_pll_reg0, 2);
517 tuner_i2c_xfer_send(&priv->i2c_props, set_pll_reg7, 2);
518 tuner_i2c_xfer_send(&priv->i2c_props, set_pll_reg10, 2);
519 tuner_i2c_xfer_send(&priv->i2c_props, set_gpio_reg0, 2);
538 i2c_transfer(priv->i2c_props.adap, &msg, 1);
584 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1);
600 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1);
619 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1);
631 priv->i2c_props.adap, &tda829x_tda18271_config);
639 priv->i2c_props.adap, &priv->cfg);
640 priv->cfg.switch_addr = priv->i2c_props.addr;
653 static int tda8290_probe(struct tuner_i2c_props *i2c_props)
659 tuner_i2c_xfer_send(i2c_props, &tda8290_id[0], 1);
660 tuner_i2c_xfer_recv(i2c_props, &tda8290_id[1], 1);
665 __func__, i2c_adapter_id(i2c_props->adap),
666 i2c_props->addr);
673 static int tda8295_probe(struct tuner_i2c_props *i2c_props)
680 tuner_i2c_xfer_send(i2c_props, &tda8295_id[0], 1);
681 tuner_i2c_xfer_recv(i2c_props, &tda8295_id[1], 1);
688 i2c_adapter_id(i2c_props->adap),
689 i2c_props->addr);
724 priv->i2c_props.addr = i2c_addr;
725 priv->i2c_props.adap = i2c_adap;
726 priv->i2c_props.name = "tda829x";
730 if (tda8290_probe(&priv->i2c_props) == 0) {
736 if (tda8295_probe(&priv->i2c_props) == 0) {
795 struct tuner_i2c_props i2c_props = {
811 tuner_i2c_xfer_send(&i2c_props, soft_reset, 1);
812 tuner_i2c_xfer_recv(&i2c_props, buf, PROBE_BUFFER_SIZE);
822 if ((tda8290_probe(&i2c_props) == 0) ||
823 (tda8295_probe(&i2c_props) == 0))
827 tuner_i2c_xfer_send(&i2c_props, easy_mode_b, 2);
828 tuner_i2c_xfer_send(&i2c_props, soft_reset, 2);
829 tuner_i2c_xfer_send(&i2c_props, &addr_dto_lsb, 1);
830 tuner_i2c_xfer_recv(&i2c_props, &data, 1);
832 tuner_i2c_xfer_send(&i2c_props, easy_mode_g, 2);
833 tuner_i2c_xfer_send(&i2c_props, soft_reset, 2);
834 tuner_i2c_xfer_send(&i2c_props, &addr_dto_lsb, 1);
835 tuner_i2c_xfer_recv(&i2c_props, &data, 1);
840 tuner_i2c_xfer_send(&i2c_props, restore_9886, 3);