/linux-2.6.39/drivers/media/common/tuners/ |
D | tda8290.c | 43 struct tuner_i2c_props i2c_props; member 71 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8290_i2c_bridge() 76 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8290_i2c_bridge() 93 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8295_i2c_bridge() 98 tuner_i2c_xfer_send_recv(&priv->i2c_props, msg, 1, &msg[1], 1); in tda8295_i2c_bridge() 102 tuner_i2c_xfer_send(&priv->i2c_props, buf, 3); in tda8295_i2c_bridge() 106 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8295_i2c_bridge() 206 tuner_i2c_xfer_send(&priv->i2c_props, easy_mode, 2); in tda8290_set_params() 207 tuner_i2c_xfer_send(&priv->i2c_props, agc_out_on, 2); in tda8290_set_params() 208 tuner_i2c_xfer_send(&priv->i2c_props, soft_reset, 2); in tda8290_set_params() [all …]
|
D | tuner-i2c.h | 112 #define tuner_warn(fmt, arg...) __tuner_warn(priv->i2c_props, fmt, ##arg) 113 #define tuner_info(fmt, arg...) __tuner_info(priv->i2c_props, fmt, ##arg) 114 #define tuner_err(fmt, arg...) __tuner_err(priv->i2c_props, fmt, ##arg) 115 #define tuner_dbg(fmt, arg...) __tuner_dbg(priv->i2c_props, fmt, ##arg) 133 if (((i2cadap) && (state->i2c_props.adap)) && \ 134 ((i2c_adapter_id(state->i2c_props.adap) == \ 136 (i2caddr == state->i2c_props.addr))) { \ 137 __tuner_info(state->i2c_props, \ 139 state->i2c_props.count++; \ 140 __ret = state->i2c_props.count; \ [all …]
|
D | mt20xx.c | 44 struct tuner_i2c_props i2c_props; member 191 tuner_i2c_xfer_send(&priv->i2c_props,buf,1); in mt2032_check_lo_lock() 192 tuner_i2c_xfer_recv(&priv->i2c_props,buf,1); in mt2032_check_lo_lock() 212 tuner_i2c_xfer_send(&priv->i2c_props,buf,1); in mt2032_optimize_vco() 213 tuner_i2c_xfer_recv(&priv->i2c_props,buf,1); in mt2032_optimize_vco() 236 tuner_i2c_xfer_send(&priv->i2c_props,buf,2); in mt2032_optimize_vco() 254 ret=tuner_i2c_xfer_send(&priv->i2c_props,buf,1); in mt2032_set_if_freq() 255 tuner_i2c_xfer_recv(&priv->i2c_props,buf,21); in mt2032_set_if_freq() 264 ret=tuner_i2c_xfer_send(&priv->i2c_props,buf,4); in mt2032_set_if_freq() 266 ret=tuner_i2c_xfer_send(&priv->i2c_props,buf+5,4); in mt2032_set_if_freq() [all …]
|
D | tuner-simple.c | 110 struct tuner_i2c_props i2c_props; member 127 if (1 != tuner_i2c_xfer_recv(&priv->i2c_props, &byte, 1)) in tuner_read_status() 170 if (priv->i2c_props.adap == NULL) in simple_get_status() 192 if (priv->i2c_props.adap == NULL) in simple_get_rf_strength() 391 struct tuner_i2c_props i2c = priv->i2c_props; in simple_std_setup() 432 rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 2); in simple_set_aux_byte() 462 rc = tuner_i2c_xfer_recv(&priv->i2c_props, in simple_post_tune() 483 rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4); in simple_post_tune() 650 i2c_clients_command(priv->i2c_props.adap, TUNER_SET_CONFIG, in simple_set_tv_freq() 656 rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4); in simple_set_tv_freq() [all …]
|
D | tea5767.c | 27 struct tuner_i2c_props i2c_props; member 270 if (5 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 5))) in set_radio_freq() 274 if (5 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 5))) in set_radio_freq() 291 if (5 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 5))) { in tea5767_read_status() 363 if (5 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 5))) in tea5767_standby() 451 priv->i2c_props.addr = i2c_addr; in tea5767_attach() 452 priv->i2c_props.adap = i2c_adap; in tea5767_attach() 453 priv->i2c_props.name = "tea5767"; in tea5767_attach()
|
D | tea5761.c | 23 struct tuner_i2c_props i2c_props; member 173 if (7 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 7))) in __set_radio_freq() 207 if (16 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 16))) { in tea5761_read_status() 330 priv->i2c_props.addr = i2c_addr; in tea5761_attach() 331 priv->i2c_props.adap = i2c_adap; in tea5761_attach() 332 priv->i2c_props.name = "tea5761"; in tea5761_attach()
|
D | mxl5007t.c | 156 struct tuner_i2c_props i2c_props; member 463 struct i2c_msg msg = { .addr = state->i2c_props.addr, .flags = 0, in mxl5007t_write_reg() 467 ret = i2c_transfer(state->i2c_props.adap, &msg, 1); in mxl5007t_write_reg() 492 { .addr = state->i2c_props.addr, .flags = 0, in mxl5007t_read_reg() 494 { .addr = state->i2c_props.addr, .flags = I2C_M_RD, in mxl5007t_read_reg() 499 ret = i2c_transfer(state->i2c_props.adap, msg, 2); in mxl5007t_read_reg() 511 .addr = state->i2c_props.addr, .flags = 0, in mxl5007t_soft_reset() 514 int ret = i2c_transfer(state->i2c_props.adap, &msg, 1); in mxl5007t_soft_reset() 810 i2c_adapter_id(state->i2c_props.adap), in mxl5007t_get_chip_id() 811 state->i2c_props.addr); in mxl5007t_get_chip_id() [all …]
|
D | tda18271-common.c | 128 { .addr = priv->i2c_props.addr, .flags = 0, in tda18271_read_regs() 130 { .addr = priv->i2c_props.addr, .flags = I2C_M_RD, in tda18271_read_regs() 137 ret = i2c_transfer(priv->i2c_props.adap, msg, 2); in tda18271_read_regs() 158 { .addr = priv->i2c_props.addr, .flags = 0, in tda18271_read_extended() 160 { .addr = priv->i2c_props.addr, .flags = I2C_M_RD, in tda18271_read_extended() 167 ret = i2c_transfer(priv->i2c_props.adap, msg, 2); in tda18271_read_extended() 195 struct i2c_msg msg = { .addr = priv->i2c_props.addr, .flags = 0, in tda18271_write_regs() 229 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1); in tda18271_write_regs() 267 i2c_adapter_id(priv->i2c_props.adap), in tda18271_init_regs() 268 priv->i2c_props.addr); in tda18271_init_regs()
|
D | xc5000.c | 56 struct tuner_i2c_props i2c_props; member 214 struct i2c_msg msg = { .addr = priv->i2c_props.addr, in xc_send_i2c_data() 217 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) { in xc_send_i2c_data() 230 struct i2c_msg msg = { .addr = priv->i2c_props.addr, 233 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) { 246 { .addr = priv->i2c_props.addr, in xc5000_readreg() 248 { .addr = priv->i2c_props.addr, in xc5000_readreg() 252 if (i2c_transfer(priv->i2c_props.adap, msg, 2) != 2) { in xc5000_readreg() 276 priv->i2c_props.adap->algo_data, in xc5000_TunerReset() 561 priv->i2c_props.adap->dev.parent); in xc5000_fwupload() [all …]
|
D | tda18271-priv.h | 105 struct tuner_i2c_props i2c_props; member 143 i2c_adapter_id(state->i2c_props.adap), \ 144 state->i2c_props.addr, \
|
D | tda9887.c | 31 struct tuner_i2c_props i2c_props; member 540 if (1 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props,buf,1))) in tda9887_status() 581 if (4 != (rc = tuner_i2c_xfer_send(&priv->i2c_props,priv->data,4))) in tda9887_configure() 611 if (1 == tuner_i2c_xfer_recv(&priv->i2c_props,®,1)) in tda9887_get_afc()
|
D | tuner-xc2028.c | 80 struct tuner_i2c_props i2c_props; member 99 _rc = tuner_i2c_xfer_send(&priv->i2c_props, buf, size); \ 110 _rc = tuner_i2c_xfer_recv(&priv->i2c_props, buf, size); \ 119 _rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \ 133 (_rc = tuner_i2c_xfer_send(&priv->i2c_props, \ 280 rc = request_firmware(&fw, fname, priv->i2c_props.adap->dev.parent); in load_all_firmwares() 516 fe->dvb->priv : priv->i2c_props.adap->algo_data, in do_tuner_callback()
|
D | tda18271-fe.c | 879 ret = fe->callback(priv->i2c_props.adap->algo_data, in tda18271_agc() 1176 regs[R_ID], i2c_adapter_id(priv->i2c_props.adap), in tda18271_get_id() 1177 priv->i2c_props.addr); in tda18271_get_id() 1182 i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr); in tda18271_get_id()
|
/linux-2.6.39/drivers/media/dvb/frontends/ |
D | au8522_priv.h | 47 struct tuner_i2c_props i2c_props; member
|