/drivers/media/pci/ddbridge/ |
D | ddbridge-i2c.h | 41 return (i2c_transfer(adapter, msgs, 2) == 2) ? 0 : -1; in i2c_io() 50 return (i2c_transfer(adap, &msg, 1) == 1) ? 0 : -1; in i2c_write() 58 return (i2c_transfer(adapter, msgs, 1) == 1) ? 0 : -1; in i2c_read() 69 return (i2c_transfer(adapter, msgs, 2) == 2) ? 0 : -1; in i2c_read_regs() 81 return (i2c_transfer(adapter, msgs, 2) == 2) ? 0 : -1; in i2c_read_regs16()
|
/drivers/rtc/ |
D | rtc-isl12026.c | 63 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in isl12026_read_reg() 90 ret = i2c_transfer(client->adapter, &msg, 1); in isl12026_arm_write() 100 ret = i2c_transfer(client->adapter, &msg, 1); in isl12026_arm_write() 124 ret = i2c_transfer(client->adapter, &msg, 1); in isl12026_disarm_write() 151 ret = i2c_transfer(client->adapter, &msg, 1); in isl12026_write_reg() 192 ret = i2c_transfer(client->adapter, &msg, 1); in isl12026_rtc_set_time() 229 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in isl12026_rtc_read_time() 247 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in isl12026_rtc_read_time() 309 ret = i2c_transfer(priv->nvm_client->adapter, msgs, ARRAY_SIZE(msgs)); in isl12026_nvm_read() 359 ret = i2c_transfer(priv->nvm_client->adapter, in isl12026_nvm_write()
|
D | rtc-x1205.c | 110 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_get_datetime() 164 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_get_status() 313 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_get_dtrim() 354 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_get_atrim() 430 xfer = i2c_transfer(client->adapter, msgs, 2); in x1205_validate_client() 468 xfer = i2c_transfer(client->adapter, msgs, 2); in x1205_validate_client() 515 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_rtc_read_alarm()
|
D | rtc-max6900.c | 85 rc = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in max6900_i2c_read_regs() 121 rc = i2c_transfer(client->adapter, century_msgs, in max6900_i2c_write_regs() 130 rc = i2c_transfer(client->adapter, burst_msgs, ARRAY_SIZE(burst_msgs)); in max6900_i2c_write_regs()
|
D | rtc-pcf8523.c | 54 err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in pcf8523_read() 74 err = i2c_transfer(client->adapter, &msg, 1); in pcf8523_write() 204 err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in pcf8523_rtc_read_time() 259 err = i2c_transfer(client->adapter, &msg, 1); in pcf8523_rtc_set_time()
|
/drivers/media/pci/cx23885/ |
D | netup-init.c | 30 ret = i2c_transfer(i2c, &msg, 1); in i2c_av_write() 54 ret = i2c_transfer(i2c, &msg, 1); in i2c_av_write4() 74 ret = i2c_transfer(i2c, &msg, 1); in i2c_av_read() 82 ret = i2c_transfer(i2c, &msg, 1); in i2c_av_read()
|
D | netup-eeprom.c | 42 ret = i2c_transfer(i2c_adap, msg, 2); in netup_eeprom_read() 70 ret = i2c_transfer(i2c_adap, msg, 1); in netup_eeprom_write()
|
/drivers/media/dvb-frontends/ |
D | isl6421.c | 81 ret = i2c_transfer(isl6421->i2c, msg, 2); in isl6421_set_voltage() 99 ret = i2c_transfer(isl6421->i2c, msg, 2); in isl6421_set_voltage() 109 ret = i2c_transfer(isl6421->i2c, msg, 1); in isl6421_set_voltage() 139 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; in isl6421_enable_high_lnb_voltage() 164 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; in isl6421_set_tone()
|
D | tua6100.c | 48 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) { in tua6100_sleep() 121 if (i2c_transfer(priv->i2c, &msg0, 1) != 1) in tua6100_set_params() 126 if (i2c_transfer(priv->i2c, &msg2, 1) != 1) in tua6100_set_params() 131 if (i2c_transfer(priv->i2c, &msg1, 1) != 1) in tua6100_set_params() 171 ret = i2c_transfer (i2c, msg, 2); in tua6100_attach()
|
D | stb6000.c | 54 ret = i2c_transfer(priv->i2c, &msg, 1); in stb6000_sleep() 135 ret = i2c_transfer(priv->i2c, &msg, 1); in stb6000_set_params() 153 ret = i2c_transfer(priv->i2c, &msg, 1); in stb6000_set_params() 214 ret = i2c_transfer(i2c, msg, 2); in stb6000_attach()
|
D | stv0297.c | 45 ret = i2c_transfer(state->i2c, &msg, 1); in stv0297_writereg() 65 if ((ret = i2c_transfer(state->i2c, &msg[0], 1)) != 1) { in stv0297_readreg() 69 if ((ret = i2c_transfer(state->i2c, &msg[1], 1)) != 1) { in stv0297_readreg() 74 if ((ret = i2c_transfer(state->i2c, msg, 2)) != 2) { in stv0297_readreg() 105 if ((ret = i2c_transfer(state->i2c, &msg[0], 1)) != 1) { in stv0297_readregs() 109 if ((ret = i2c_transfer(state->i2c, &msg[1], 1)) != 1) { in stv0297_readregs() 114 if ((ret = i2c_transfer(state->i2c, msg, 2)) != 2) { in stv0297_readregs()
|
D | tda826x.c | 51 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) { in tda826x_sleep() 100 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) { in tda826x_set_params() 144 ret = i2c_transfer (i2c, msg, 2); in tda826x_attach()
|
D | lnbp21.c | 56 return (i2c_transfer(lnbp21->i2c, &msg, 1) == 1) ? 0 : -EIO; in lnbp21_set_voltage() 74 return (i2c_transfer(lnbp21->i2c, &msg, 1) == 1) ? 0 : -EIO; in lnbp21_enable_high_lnb_voltage() 99 return (i2c_transfer(lnbp21->i2c, &msg, 1) == 1) ? 0 : -EIO; in lnbp21_set_tone()
|
D | dibx000_common.c | 40 ret = i2c_transfer(mst->i2c_adap, mst->msg, 1) != 1 ? -EREMOTEIO : 0; in dibx000_write_word() 68 if (i2c_transfer(mst->i2c_adap, mst->msg, 2) != 2) in dibx000_read_word() 320 ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? in dibx000_i2c_gated_gpio67_xfer() 366 ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? in dibx000_i2c_gated_tuner_xfer() 417 i2c_transfer(mst->i2c_adap, &m, 1); in dibx000_reset_i2c_master() 489 ret = (i2c_transfer(i2c_adap, mst->msg, 1) == 1); in dibx000_init_i2c_master()
|
D | dvb-pll.c | 355 result = i2c_transfer(priv->i2c, &msg, 1); in opera1_bw() 425 result = i2c_transfer(priv->i2c, &msg, 1); in samsung_dtos403ih102a_set() 657 if ((result = i2c_transfer(priv->i2c, &msg, 1)) != 1) { in dvb_pll_sleep() 688 if ((result = i2c_transfer(priv->i2c, &msg, 1)) != 1) { in dvb_pll_set_params() 753 result = i2c_transfer(priv->i2c, &msg, 1); in dvb_pll_init() 761 result = i2c_transfer(priv->i2c, &msg, 1); in dvb_pll_init() 816 ret = i2c_transfer (i2c, &msg, 1); in dvb_pll_attach()
|
/drivers/media/pci/mantis/ |
D | mantis_vp2033.c | 49 if ((i2c_transfer(adapter, msg, 2) != 2) in read_pwm() 82 if (i2c_transfer(adapter, &msg, 1) != 1) in tda1002x_cu1216_tuner_set() 92 if (i2c_transfer(adapter, &msg, 1) == 1 && (buf[0] & 0x40)) in tda1002x_cu1216_tuner_set() 106 if (i2c_transfer(adapter, &msg, 1) != 1) in tda1002x_cu1216_tuner_set()
|
D | mantis_vp2040.c | 64 if (i2c_transfer(adapter, &msg, 1) != 1) in tda1002x_cu1216_tuner_set() 74 if (i2c_transfer(adapter, &msg, 1) == 1 && (buf[0] & 0x40)) in tda1002x_cu1216_tuner_set() 88 if (i2c_transfer(adapter, &msg, 1) != 1) in tda1002x_cu1216_tuner_set() 105 if ((i2c_transfer(adapter, msg, 2) != 2) in read_pwm()
|
/drivers/media/usb/dvb-usb-v2/ |
D | gl861.c | 282 ret = i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl() 284 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl() 287 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl() 289 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl() 297 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl() 299 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl() 305 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl() 307 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl()
|
D | mxl111sf-gpio.c | 584 i2c_transfer(&state->d->i2c_adap, msg, 2); in pca9534_set_gpio() 600 i2c_transfer(&state->d->i2c_adap, &msg[0], 1); in pca9534_set_gpio() 616 i2c_transfer(&state->d->i2c_adap, &msg, 1); in pca9534_init_port_expander() 622 i2c_transfer(&state->d->i2c_adap, &msg, 1); in pca9534_init_port_expander() 659 ret = i2c_transfer(&state->d->i2c_adap, msg, 2); in mxl111sf_probe_port_expander() 671 ret = i2c_transfer(&state->d->i2c_adap, msg, 2); in mxl111sf_probe_port_expander()
|
/drivers/media/i2c/ |
D | sony-btf-mpx.c | 61 i2c_transfer(client->adapter, &msg, 1); in mpx_write() 173 i2c_transfer(client->adapter, &msg, 1); in mpx_setup() 175 i2c_transfer(client->adapter, &msg, 1); in mpx_setup() 252 i2c_transfer(client->adapter, msgs, 2); in mpx_setup() 258 i2c_transfer(client->adapter, msgs, 2); in mpx_setup()
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | i2c.h | 106 int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); in nvkm_rdi2cr() 122 int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); in nv_rd16i2cr() 137 int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); in nvkm_wri2cr() 152 int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); in nv_wr16i2cr()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | i2c.c | 155 err = i2c_transfer(client->adapter, read_sema, in mlxsw_i2c_wait_go_bit() 210 err = i2c_transfer(client->adapter, &prep_cmd, 1); in mlxsw_i2c_write_cmd() 217 err = i2c_transfer(client->adapter, &push_cmd, 1); in mlxsw_i2c_write_cmd() 256 err = i2c_transfer(client->adapter, &prep_cmd, 1); in mlxsw_i2c_write_init_cmd() 263 err = i2c_transfer(client->adapter, &push_cmd, 1); in mlxsw_i2c_write_init_cmd() 298 err = i2c_transfer(client->adapter, mbox_cmd, 2); in mlxsw_i2c_get_mbox() 345 err = i2c_transfer(client->adapter, &write_tran, 1); in mlxsw_i2c_write() 456 err = i2c_transfer(client->adapter, read_tran, in mlxsw_i2c_cmd()
|
/drivers/media/tuners/ |
D | tuner-i2c.h | 29 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_send() 39 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_recv() 52 int ret = i2c_transfer(props->adap, msg, 2); in tuner_i2c_xfer_send_recv()
|
/drivers/input/touchscreen/ |
D | cyttsp_i2c_common.c | 48 retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in cyttsp_i2c_read_block_data() 75 retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in cyttsp_i2c_write_block_data()
|
/drivers/media/usb/dvb-usb/ |
D | opera1.c | 181 i2c_transfer(&udev_adap->dev->i2c_adap, msg, 1); in opera1_set_voltage() 302 i2c_transfer(&adap->dev->i2c_adap, start_tuner, 1); in opera1_streaming_ctrl() 319 i2c_transfer(&adap->dev->i2c_adap, msg, 1); in opera1_pid_filter() 336 i2c_transfer(&adap->dev->i2c_adap, msg, 1); in opera1_pid_filter_control() 382 if (i2c_transfer(&dev->i2c_adap, read_remote, 1) == 1) { in opera1_rc_query()
|