Home
last modified time | relevance | path

Searched refs:i2c_transfer (Results 1 – 25 of 160) sorted by relevance

1234567

/linux-4.19.296/drivers/rtc/
Drtc-isl12026.c63 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()
Drtc-x1205.c113 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_get_datetime()
167 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_get_status()
316 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_get_dtrim()
357 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_get_atrim()
433 xfer = i2c_transfer(client->adapter, msgs, 2); in x1205_validate_client()
471 xfer = i2c_transfer(client->adapter, msgs, 2); in x1205_validate_client()
518 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_rtc_read_alarm()
Drtc-max6900.c85 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()
Drtc-pcf8523.c61 err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in pcf8523_read()
81 err = i2c_transfer(client->adapter, &msg, 1); in pcf8523_write()
211 err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in pcf8523_rtc_read_time()
266 err = i2c_transfer(client->adapter, &msg, 1); in pcf8523_rtc_set_time()
Drtc-em3027.c67 if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { in em3027_get_time()
104 if ((i2c_transfer(client->adapter, &msg, 1)) != 1) { in em3027_set_time()
Drtc-ds1672.c52 if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { in ds1672_get_datetime()
124 if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { in ds1672_get_control()
/linux-4.19.296/drivers/media/dvb-frontends/
Disl6421.c95 ret = i2c_transfer(isl6421->i2c, msg, 2); in isl6421_set_voltage()
113 ret = i2c_transfer(isl6421->i2c, msg, 2); in isl6421_set_voltage()
123 ret = i2c_transfer(isl6421->i2c, msg, 1); in isl6421_set_voltage()
153 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; in isl6421_enable_high_lnb_voltage()
178 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; in isl6421_set_tone()
Dtua6100.c56 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) { in tua6100_sleep()
129 if (i2c_transfer(priv->i2c, &msg0, 1) != 1) in tua6100_set_params()
134 if (i2c_transfer(priv->i2c, &msg2, 1) != 1) in tua6100_set_params()
139 if (i2c_transfer(priv->i2c, &msg1, 1) != 1) in tua6100_set_params()
179 ret = i2c_transfer (i2c, msg, 2); in tua6100_attach()
Dstb6000.c67 ret = i2c_transfer(priv->i2c, &msg, 1); in stb6000_sleep()
148 ret = i2c_transfer(priv->i2c, &msg, 1); in stb6000_set_params()
166 ret = i2c_transfer(priv->i2c, &msg, 1); in stb6000_set_params()
227 ret = i2c_transfer(i2c, msg, 2); in stb6000_attach()
Dtda826x.c64 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) { in tda826x_sleep()
113 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) { in tda826x_set_params()
157 ret = i2c_transfer (i2c, msg, 2); in tda826x_attach()
Dlnbp21.c70 return (i2c_transfer(lnbp21->i2c, &msg, 1) == 1) ? 0 : -EIO; in lnbp21_set_voltage()
88 return (i2c_transfer(lnbp21->i2c, &msg, 1) == 1) ? 0 : -EIO; in lnbp21_enable_high_lnb_voltage()
113 return (i2c_transfer(lnbp21->i2c, &msg, 1) == 1) ? 0 : -EIO; in lnbp21_set_tone()
Dstv0297.c57 ret = i2c_transfer(state->i2c, &msg, 1); in stv0297_writereg()
77 if ((ret = i2c_transfer(state->i2c, &msg[0], 1)) != 1) { in stv0297_readreg()
81 if ((ret = i2c_transfer(state->i2c, &msg[1], 1)) != 1) { in stv0297_readreg()
86 if ((ret = i2c_transfer(state->i2c, msg, 2)) != 2) { in stv0297_readreg()
117 if ((ret = i2c_transfer(state->i2c, &msg[0], 1)) != 1) { in stv0297_readregs()
121 if ((ret = i2c_transfer(state->i2c, &msg[1], 1)) != 1) { in stv0297_readregs()
126 if ((ret = i2c_transfer(state->i2c, msg, 2)) != 2) { in stv0297_readregs()
Ddibx000_common.c39 ret = i2c_transfer(mst->i2c_adap, mst->msg, 1) != 1 ? -EREMOTEIO : 0; in dibx000_write_word()
67 if (i2c_transfer(mst->i2c_adap, mst->msg, 2) != 2) in dibx000_read_word()
319 ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? in dibx000_i2c_gated_gpio67_xfer()
365 ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? in dibx000_i2c_gated_tuner_xfer()
416 i2c_transfer(mst->i2c_adap, &m, 1); in dibx000_reset_i2c_master()
488 ret = (i2c_transfer(i2c_adap, mst->msg, 1) == 1); in dibx000_init_i2c_master()
Dlnbp22.c77 return (i2c_transfer(lnbp22->i2c, &msg, 1) == 1) ? 0 : -EIO; in lnbp22_set_voltage()
96 return (i2c_transfer(lnbp22->i2c, &msg, 1) == 1) ? 0 : -EIO; in lnbp22_enable_high_lnb_voltage()
Ddvb-pll.c364 result = i2c_transfer(priv->i2c, &msg, 1); in opera1_bw()
434 result = i2c_transfer(priv->i2c, &msg, 1); in samsung_dtos403ih102a_set()
666 if ((result = i2c_transfer(priv->i2c, &msg, 1)) != 1) { in dvb_pll_sleep()
697 if ((result = i2c_transfer(priv->i2c, &msg, 1)) != 1) { in dvb_pll_set_params()
762 result = i2c_transfer(priv->i2c, &msg, 1); in dvb_pll_init()
770 result = i2c_transfer(priv->i2c, &msg, 1); in dvb_pll_init()
825 ret = i2c_transfer (i2c, &msg, 1); in dvb_pll_attach()
Disl6405.c83 return (i2c_transfer(isl6405->i2c, &msg, 1) == 1) ? 0 : -EIO; in isl6405_set_voltage()
107 return (i2c_transfer(isl6405->i2c, &msg, 1) == 1) ? 0 : -EIO; in isl6405_enable_high_lnb_voltage()
Dlnbh25.c69 ret = i2c_transfer(priv->i2c, &msg[i], 1); in lnbh25_read_vmon()
125 ret = i2c_transfer(priv->i2c, &msg, 1); in lnbh25_set_voltage()
Dtda10021.c78 ret = i2c_transfer (state->i2c, &msg, 1); in _tda10021_writereg()
95 ret = i2c_transfer (state->i2c, msg, 2); in tda10021_readreg()
109 if(i2c_transfer(state->i2c, &msg, 1) != 1) in lock_tuner()
123 if(i2c_transfer(state->i2c, &msg_post, 1) != 1) in unlock_tuner()
Datbm8830.c51 ret = i2c_transfer(priv->i2c, &msg1, 1); in atbm8830_write_reg()
55 ret = i2c_transfer(priv->i2c, &msg2, 1); in atbm8830_write_reg()
73 ret = i2c_transfer(priv->i2c, &msg1, 1); in atbm8830_read_reg()
79 ret = i2c_transfer(priv->i2c, &msg2, 1); in atbm8830_read_reg()
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Dgl861.c350 ret = i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl()
352 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl()
355 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl()
357 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl()
365 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl()
367 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl()
373 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl()
375 ret += i2c_transfer(&d->i2c_adap, &msg, 1); in friio_ext_ctl()
Dmxl111sf-gpio.c593 i2c_transfer(&state->d->i2c_adap, msg, 2); in pca9534_set_gpio()
609 i2c_transfer(&state->d->i2c_adap, &msg[0], 1); in pca9534_set_gpio()
625 i2c_transfer(&state->d->i2c_adap, &msg, 1); in pca9534_init_port_expander()
631 i2c_transfer(&state->d->i2c_adap, &msg, 1); in pca9534_init_port_expander()
668 ret = i2c_transfer(&state->d->i2c_adap, msg, 2); in mxl111sf_probe_port_expander()
680 ret = i2c_transfer(&state->d->i2c_adap, msg, 2); in mxl111sf_probe_port_expander()
/linux-4.19.296/drivers/media/tuners/
Dtuner-i2c.h41 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_send()
51 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_recv()
64 int ret = i2c_transfer(props->adap, msg, 2); in tuner_i2c_xfer_send_recv()
Dmt2131.c58 if (i2c_transfer(priv->i2c, msg, 2) != 2) { in mt2131_readreg()
71 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in mt2131_writereg()
83 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in mt2131_writeregs()
Dtda8290.c480 i2c_transfer(priv->i2c_props.adap, &msg, 1); in tda8290_standby()
555 i2c_transfer(priv->i2c_props.adap, &msg, 1); in tda8290_init_tuner()
596 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1); in tda829x_find_tuner()
613 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1); in tda829x_find_tuner()
633 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1); in tda829x_find_tuner()
680 if (i2c_transfer(i2c_props->adap, msg_read, 2) != 2) { in tda8290_probe()
707 if (i2c_transfer(i2c_props->adap, msg_read, 2) != 2) { in tda8295_probe()
Dmt2266.c63 if (i2c_transfer(priv->i2c, msg, 2) != 2) { in mt2266_readreg()
77 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in mt2266_writereg()
90 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in mt2266_writeregs()

1234567