/drivers/media/tuners/ |
D | tda8290.c | 43 struct tuner_i2c_props i2c_props; member 72 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8290_i2c_bridge() 77 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8290_i2c_bridge() 94 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8295_i2c_bridge() 99 tuner_i2c_xfer_send_recv(&priv->i2c_props, msg, 1, &msg[1], 1); in tda8295_i2c_bridge() 103 tuner_i2c_xfer_send(&priv->i2c_props, buf, 3); in tda8295_i2c_bridge() 107 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8295_i2c_bridge() 207 tuner_i2c_xfer_send(&priv->i2c_props, easy_mode, 2); in tda8290_set_params() 208 tuner_i2c_xfer_send(&priv->i2c_props, agc_out_on, 2); in tda8290_set_params() 209 tuner_i2c_xfer_send(&priv->i2c_props, soft_reset, 2); in tda8290_set_params() [all …]
|
D | tuner-i2c.h | 114 #define tuner_warn(fmt, arg...) __tuner_warn(priv->i2c_props, fmt, ##arg) 115 #define tuner_info(fmt, arg...) __tuner_info(priv->i2c_props, fmt, ##arg) 116 #define tuner_err(fmt, arg...) __tuner_err(priv->i2c_props, fmt, ##arg) 117 #define tuner_dbg(fmt, arg...) __tuner_dbg(priv->i2c_props, fmt, ##arg) 135 if (((i2cadap) && (state->i2c_props.adap)) && \ 136 ((i2c_adapter_id(state->i2c_props.adap) == \ 138 (i2caddr == state->i2c_props.addr))) { \ 139 __tuner_info(state->i2c_props, \ 141 state->i2c_props.count++; \ 142 __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 128 if (1 != tuner_i2c_xfer_recv(&priv->i2c_props, &byte, 1)) in tuner_read_status() 171 if (priv->i2c_props.adap == NULL) in simple_get_status() 193 if (priv->i2c_props.adap == NULL || !priv->radio_mode) in simple_get_rf_strength() 392 struct tuner_i2c_props i2c = priv->i2c_props; in simple_std_setup() 433 rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 2); in simple_set_aux_byte() 463 rc = tuner_i2c_xfer_recv(&priv->i2c_props, in simple_post_tune() 484 rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4); in simple_post_tune() 651 i2c_clients_command(priv->i2c_props.adap, TUNER_SET_CONFIG, in simple_set_tv_freq() 657 rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4); in simple_set_tv_freq() [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() 196 struct i2c_msg msg = { .addr = priv->i2c_props.addr, .flags = 0, in __tda18271_write_regs() 228 i2c_lock_adapter(priv->i2c_props.adap); in __tda18271_write_regs() 241 ret = __i2c_transfer(priv->i2c_props.adap, &msg, 1); in __tda18271_write_regs() 249 i2c_unlock_adapter(priv->i2c_props.adap); in __tda18271_write_regs() [all …]
|
D | tea5767.c | 29 struct tuner_i2c_props i2c_props; member 272 if (5 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 5))) in set_radio_freq() 276 if (5 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 5))) in set_radio_freq() 293 if (5 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 5))) { in tea5767_read_status() 365 if (5 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 5))) in tea5767_standby() 454 priv->i2c_props.addr = i2c_addr; in tea5767_attach() 455 priv->i2c_props.adap = i2c_adap; in tea5767_attach() 456 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 466 struct i2c_msg msg = { .addr = state->i2c_props.addr, .flags = 0, in mxl5007t_write_reg() 470 ret = i2c_transfer(state->i2c_props.adap, &msg, 1); in mxl5007t_write_reg() 496 { .addr = state->i2c_props.addr, .flags = 0, in mxl5007t_read_reg() 498 { .addr = state->i2c_props.addr, .flags = I2C_M_RD, in mxl5007t_read_reg() 503 ret = i2c_transfer(state->i2c_props.adap, msg, 2); in mxl5007t_read_reg() 515 .addr = state->i2c_props.addr, .flags = 0, in mxl5007t_soft_reset() 518 int ret = i2c_transfer(state->i2c_props.adap, &msg, 1); in mxl5007t_soft_reset() 850 i2c_adapter_id(state->i2c_props.adap), in mxl5007t_get_chip_id() 851 state->i2c_props.addr); in mxl5007t_get_chip_id() [all …]
|
D | xc5000.c | 54 struct tuner_i2c_props i2c_props; member 260 struct i2c_msg msg = { .addr = priv->i2c_props.addr, in xc_send_i2c_data() 263 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) { in xc_send_i2c_data() 276 struct i2c_msg msg = { .addr = priv->i2c_props.addr, 279 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) { 292 { .addr = priv->i2c_props.addr, in xc5000_readreg() 294 { .addr = priv->i2c_props.addr, in xc5000_readreg() 298 if (i2c_transfer(priv->i2c_props.adap, msg, 2) != 2) { in xc5000_readreg() 317 priv->i2c_props.adap->algo_data, in xc5000_tuner_reset() 1071 if (priv->i2c_props.adap == NULL) in xc5000_set_analog_params() [all …]
|
D | tda9887.c | 31 struct tuner_i2c_props i2c_props; member 539 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() 612 if (1 == tuner_i2c_xfer_recv(&priv->i2c_props, ®, 1)) in tda9887_get_afc()
|
D | xc4000.c | 91 struct tuner_i2c_props i2c_props; member 260 struct i2c_msg msg = { .addr = priv->i2c_props.addr, in xc_send_i2c_data() 262 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) { in xc_send_i2c_data() 285 priv->i2c_props.adap->algo_data, in xc4000_tuner_reset() 554 { .addr = priv->i2c_props.addr, in xc4000_readreg() 556 { .addr = priv->i2c_props.addr, in xc4000_readreg() 560 if (i2c_transfer(priv->i2c_props.adap, msg, 2) != 2) { in xc4000_readreg() 739 priv->i2c_props.adap->dev.parent); in xc4000_fwupload() 744 priv->i2c_props.adap->dev.parent); in xc4000_fwupload() 749 priv->i2c_props.adap->dev.parent); in xc4000_fwupload()
|
D | tda18271-fe.c | 881 ret = fe->callback(priv->i2c_props.adap->algo_data, in tda18271_agc() 1174 i2c_adapter_id(priv->i2c_props.adap), in tda18271_get_id() 1175 priv->i2c_props.addr); in tda18271_get_id() 1190 regs[R_ID], i2c_adapter_id(priv->i2c_props.adap), in tda18271_get_id() 1191 priv->i2c_props.addr); in tda18271_get_id() 1196 i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr); in tda18271_get_id()
|
D | tuner-xc2028.c | 106 struct tuner_i2c_props i2c_props; member 128 _rc = tuner_i2c_xfer_send(&priv->i2c_props, buf, size); \ 139 _rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \ 153 (_rc = tuner_i2c_xfer_send(&priv->i2c_props, \ 541 fe->dvb->priv : priv->i2c_props.adap->algo_data, in do_tuner_callback() 1430 priv->i2c_props.adap->dev.parent, in xc2028_set_config()
|
D | tda18271-priv.h | 107 struct tuner_i2c_props i2c_props; member
|
D | r820t.c | 84 struct tuner_i2c_props i2c_props; member 380 rc = tuner_i2c_xfer_send(&priv->i2c_props, priv->buf, size + 1); in r820t_write() 437 rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, priv->buf, 1, p, len); in r820t_read()
|
/drivers/media/dvb-frontends/ |
D | au8522_priv.h | 50 struct tuner_i2c_props i2c_props; member
|
D | cx24117.c | 204 struct tuner_i2c_props i2c_props; member
|