Searched refs:i2c_transfer (Results 1 - 200 of 294) sorted by relevance

12

/linux-4.1.27/drivers/media/pci/cx23885/
H A Dnetup-init.c40 ret = i2c_transfer(i2c, &msg, 1); i2c_av_write()
64 ret = i2c_transfer(i2c, &msg, 1); i2c_av_write4()
84 ret = i2c_transfer(i2c, &msg, 1); i2c_av_read()
92 ret = i2c_transfer(i2c, &msg, 1); i2c_av_read()
H A Dnetup-eeprom.c52 ret = i2c_transfer(i2c_adap, msg, 2); netup_eeprom_read()
80 ret = i2c_transfer(i2c_adap, msg, 1); netup_eeprom_write()
H A Dcimax2.c109 ret = i2c_transfer(i2c_adap, msg, 2); netup_read_i2c()
147 ret = i2c_transfer(i2c_adap, &msg, 1); netup_write_i2c()
/linux-4.1.27/drivers/media/pci/pt1/
H A Dva1j5jf8007s.c77 if (i2c_transfer(state->adap, msgs, 2) != 2) va1j5jf8007s_read_snr()
199 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007s_set_frequency_1()
219 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007s_set_frequency_2()
243 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007s_set_frequency_3()
271 if (i2c_transfer(state->adap, msgs, 2) != 2) va1j5jf8007s_check_frequency()
291 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007s_set_modulation()
318 if (i2c_transfer(state->adap, msgs, 2) != 2) va1j5jf8007s_check_modulation()
345 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007s_set_ts_id()
379 if (i2c_transfer(state->adap, msgs, 2) != 2) va1j5jf8007s_check_ts_id()
525 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007s_init_frequency()
544 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007s_set_sleep()
623 if (i2c_transfer(state->adap, msgs, 2) != 2) va1j5jf8007s_prepare_1()
676 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007s_prepare_2()
730 if (i2c_transfer(state->adap, &msg, 1) != 1) { va1j5jf8007s_attach()
H A Dva1j5jf8007t.c75 if (i2c_transfer(state->adap, msgs, 2) != 2) va1j5jf8007t_read_snr()
182 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007t_set_frequency()
210 if (i2c_transfer(state->adap, msgs, 2) != 2) va1j5jf8007t_check_frequency()
230 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007t_set_modulation()
257 if (i2c_transfer(state->adap, msgs, 2) != 2) va1j5jf8007t_check_modulation()
374 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007t_init_frequency()
393 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007t_set_sleep()
495 if (i2c_transfer(state->adap, &msg, 1) != 1) va1j5jf8007t_prepare()
530 if (i2c_transfer(state->adap, &msg, 1) != 1) { va1j5jf8007t_attach()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dtua6100.c61 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) { tua6100_sleep()
134 if (i2c_transfer(priv->i2c, &msg0, 1) != 1) tua6100_set_params()
139 if (i2c_transfer(priv->i2c, &msg2, 1) != 1) tua6100_set_params()
144 if (i2c_transfer(priv->i2c, &msg1, 1) != 1) tua6100_set_params()
184 ret = i2c_transfer (i2c, msg, 2); tua6100_attach()
H A Dstb6000.c68 ret = i2c_transfer(priv->i2c, &msg, 1); stb6000_sleep()
149 ret = i2c_transfer(priv->i2c, &msg, 1); stb6000_set_params()
167 ret = i2c_transfer(priv->i2c, &msg, 1); stb6000_set_params()
228 ret = i2c_transfer(i2c, msg, 2); stb6000_attach()
H A Disl6421.c71 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; isl6421_set_voltage()
89 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; isl6421_enable_high_lnb_voltage()
113 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; isl6421_set_tone()
H A Dlnbp21.c73 return (i2c_transfer(lnbp21->i2c, &msg, 1) == 1) ? 0 : -EIO; lnbp21_set_voltage()
91 return (i2c_transfer(lnbp21->i2c, &msg, 1) == 1) ? 0 : -EIO; lnbp21_enable_high_lnb_voltage()
116 return (i2c_transfer(lnbp21->i2c, &msg, 1) == 1) ? 0 : -EIO; lnbp21_set_tone()
H A Dtda826x.c65 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) { tda826x_sleep()
114 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) { tda826x_set_params()
158 ret = i2c_transfer (i2c, msg, 2); tda826x_attach()
H A Ddibx000_common.c33 ret = i2c_transfer(mst->i2c_adap, mst->msg, 1) != 1 ? -EREMOTEIO : 0; dibx000_write_word()
61 if (i2c_transfer(mst->i2c_adap, mst->msg, 2) != 2) dibx000_read_word()
313 ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? dibx000_i2c_gated_gpio67_xfer()
359 ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? dibx000_i2c_gated_tuner_xfer()
410 i2c_transfer(mst->i2c_adap, &m, 1); dibx000_reset_i2c_master()
486 ret = (i2c_transfer(i2c_adap, mst->msg, 1) == 1); dibx000_init_i2c_master()
H A Dlnbp22.c79 return (i2c_transfer(lnbp22->i2c, &msg, 1) == 1) ? 0 : -EIO; lnbp22_set_voltage()
98 return (i2c_transfer(lnbp22->i2c, &msg, 1) == 1) ? 0 : -EIO; lnbp22_enable_high_lnb_voltage()
H A Dtdhd1.h68 if (i2c_transfer(i2c, &msg, 1) != 1) alps_tdhd1_204a_tuner_set_params()
H A Dstv0297.c57 ret = i2c_transfer(state->i2c, &msg, 1); stv0297_writereg()
77 if ((ret = i2c_transfer(state->i2c, &msg[0], 1)) != 1) { stv0297_readreg()
81 if ((ret = i2c_transfer(state->i2c, &msg[1], 1)) != 1) { stv0297_readreg()
86 if ((ret = i2c_transfer(state->i2c, msg, 2)) != 2) { stv0297_readreg()
117 if ((ret = i2c_transfer(state->i2c, &msg[0], 1)) != 1) { stv0297_readregs()
121 if ((ret = i2c_transfer(state->i2c, &msg[1], 1)) != 1) { stv0297_readregs()
126 if ((ret = i2c_transfer(state->i2c, msg, 2)) != 2) { stv0297_readregs()
H A Ddvb-pll.c363 result = i2c_transfer(priv->i2c, &msg, 1); opera1_bw()
365 printk(KERN_ERR "%s: i2c_transfer failed:%d", opera1_bw()
433 result = i2c_transfer(priv->i2c, &msg, 1); samsung_dtos403ih102a_set()
435 printk(KERN_ERR "%s: i2c_transfer failed:%d", samsung_dtos403ih102a_set()
628 if ((result = i2c_transfer(priv->i2c, &msg, 1)) != 1) { dvb_pll_sleep()
659 if ((result = i2c_transfer(priv->i2c, &msg, 1)) != 1) { dvb_pll_set_params()
724 result = i2c_transfer(priv->i2c, &msg, 1); dvb_pll_init()
732 result = i2c_transfer(priv->i2c, &msg, 1); dvb_pll_init()
775 ret = i2c_transfer (i2c, &msg, 1); dvb_pll_attach()
H A Disl6405.c85 return (i2c_transfer(isl6405->i2c, &msg, 1) == 1) ? 0 : -EIO; isl6405_set_voltage()
109 return (i2c_transfer(isl6405->i2c, &msg, 1) == 1) ? 0 : -EIO; isl6405_enable_high_lnb_voltage()
H A Dtda8261.c45 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) tda8261_read()
57 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) tda8261_write()
H A Datbm8830.c55 ret = i2c_transfer(priv->i2c, &msg1, 1); atbm8830_write_reg()
59 ret = i2c_transfer(priv->i2c, &msg2, 1); atbm8830_write_reg()
77 ret = i2c_transfer(priv->i2c, &msg1, 1); atbm8830_read_reg()
83 ret = i2c_transfer(priv->i2c, &msg2, 1); atbm8830_read_reg()
H A Dlgs8gl5.c83 ret = i2c_transfer(state->i2c, &msg, 1); lgs8gl5_write_reg()
113 ret = i2c_transfer(state->i2c, msg, 2); lgs8gl5_read_reg()
160 ret = i2c_transfer(state->i2c, msg, 3); lgs8gl5_update_alt_reg()
H A Dstb0899_drv.c246 ret = i2c_transfer(state->i2c, msg, 2); _stb0899_read_reg()
330 status = i2c_transfer(state->i2c, &msg_0, 1); _stb0899_read_s2reg()
340 status = i2c_transfer(state->i2c, &msg_1, 1); _stb0899_read_s2reg()
344 status = i2c_transfer(state->i2c, &msg_r, 1); _stb0899_read_s2reg()
352 status = i2c_transfer(state->i2c, &msg_1, 1); _stb0899_read_s2reg()
360 status = i2c_transfer(state->i2c, &msg_r, 1); _stb0899_read_s2reg()
430 status = i2c_transfer(state->i2c, &msg_0, 1); stb0899_write_s2reg()
437 status = i2c_transfer(state->i2c, &msg_1, 1); stb0899_write_s2reg()
472 status = i2c_transfer(state->i2c, msg, 2); stb0899_read_regs()
533 ret = i2c_transfer(state->i2c, &i2c_msg, 1); stb0899_write_regs()
H A Dstv6110.c100 rc = i2c_transfer(priv->i2c, &msg, 1); stv6110_write_regs()
133 rc = i2c_transfer(priv->i2c, msg, 2); stv6110_read_regs()
427 ret = i2c_transfer(i2c, msg, 1); stv6110_attach()
H A Dbsbe1.h92 ret = i2c_transfer(i2c, &msg, 1); alps_bsbe1_tuner_set_params()
H A Dl64781.c58 if ((ret = i2c_transfer(state->i2c, &msg, 1)) != 1) l64781_writereg()
73 ret = i2c_transfer(state->i2c, msg, 2); l64781_readreg()
117 return (i2c_transfer(state->i2c, &msg, 1) == 1) ? 0 : -ENODEV; reset_and_configure()
530 if (i2c_transfer(state->i2c, msg, 2) != 2) { l64781_attach()
H A Dtda10021.c78 ret = i2c_transfer (state->i2c, &msg, 1); _tda10021_writereg()
96 ret = i2c_transfer (state->i2c, msg, 2); tda10021_readreg()
110 if(i2c_transfer(state->i2c, &msg, 1) != 1) lock_tuner()
124 if(i2c_transfer(state->i2c, &msg_post, 1) != 1) unlock_tuner()
H A Dtda10023.c72 ret = i2c_transfer (state->i2c, msg, 2); tda10023_readreg()
88 ret = i2c_transfer (state->i2c, &msg, 1); tda10023_writereg()
136 if(i2c_transfer(state->i2c, &msg, 1) != 1) lock_tuner()
150 if(i2c_transfer(state->i2c, &msg_post, 1) != 1) unlock_tuner()
H A Dau8522_common.c50 ret = i2c_transfer(state->i2c, &msg, 1); au8522_writereg()
72 ret = i2c_transfer(state->i2c, msg, 2); au8522_readreg()
H A Dec100.c47 ret = i2c_transfer(state->i2c, msg, 1); ec100_write_reg()
77 ret = i2c_transfer(state->i2c, msg, 2); ec100_read_reg()
H A Dix2505v.c72 ret = i2c_transfer(state->i2c, msg, 1); ix2505v_read_status_reg()
87 ret = i2c_transfer(state->i2c, msg, 1); ix2505v_write()
H A Dtda665x.c43 err = i2c_transfer(state->i2c, &msg, 1); tda665x_read()
59 err = i2c_transfer(state->i2c, &msg, 1); tda665x_write()
H A Dzl10039.c92 if (i2c_transfer(state->i2c, msg, 2) != 2) { zl10039_read()
123 if (i2c_transfer(state->i2c, &msg, 1) != 1) { zl10039_write()
H A Ds5h1420.c93 ret = i2c_transfer(state->i2c, msg, 3); s5h1420_readreg()
97 ret = i2c_transfer(state->i2c, &msg[1], 1); s5h1420_readreg()
100 ret = i2c_transfer(state->i2c, &msg[2], 1); s5h1420_readreg()
117 err = i2c_transfer(state->i2c, &msg, 1); s5h1420_writereg()
857 return i2c_transfer(state->i2c, m, 1 + num) == 1 + num ? num : -EIO; s5h1420_tuner_i2c_tuner_xfer()
H A Dsp8870.c72 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { sp8870_writereg()
88 ret = i2c_transfer (state->i2c, msg, 2); sp8870_readreg()
133 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { sp8870_firmware_upload()
H A Dsp887x.c44 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { i2c_writebytes()
59 if ((ret = i2c_transfer(state->i2c, &msg, 1)) != 1) { sp887x_writereg()
84 if ((ret = i2c_transfer(state->i2c, msg, 2)) != 2) { sp887x_readreg()
H A Dstb6100.c143 rc = i2c_transfer(state->i2c, &msg, 1); stb6100_read_regs()
171 i2c_transfer(state->i2c, &msg, 1); stb6100_read_reg()
218 rc = i2c_transfer(state->i2c, &msg, 1); stb6100_write_reg_range()
H A Da8293.c46 ret = i2c_transfer(priv->i2c, msg, 1); a8293_i2c()
H A Dbsru6.h126 if (i2c_transfer(i2c, &msg, 1) != 1) alps_bsru6_tuner_set_params()
H A Dsi21xx.c245 ret = i2c_transfer(state->i2c, &msg, 1); si21_writeregs()
265 ret = i2c_transfer(state->i2c, &msg, 1); si21_writereg()
303 ret = i2c_transfer(state->i2c, msg, 2); si21_readreg()
329 ret = i2c_transfer(state->i2c, msg, 2); si21_readregs()
H A Dcx22700.c78 ret = i2c_transfer (state->i2c, &msg, 1); cx22700_writereg()
97 ret = i2c_transfer (state->i2c, msg, 2); cx22700_readreg()
H A Ditd1000.c75 if (i2c_transfer(state->i2c, &msg, 1) != 1) { itd1000_write_regs()
93 if (i2c_transfer(state->i2c, msg, 2) != 2) { itd1000_read_reg()
H A Ds5h1432.c63 ret = i2c_transfer(state->i2c, &msg, 1); s5h1432_writereg()
83 ret = i2c_transfer(state->i2c, msg, 2); s5h1432_readreg()
H A Ds921.c215 rc = i2c_transfer(state->i2c, &msg, 1); s921_i2c_writereg()
247 rc = i2c_transfer(state->i2c, msg, 2); s921_i2c_readreg()
H A Dsp2.c45 ret = i2c_transfer(adap, msg, 2); sp2_read_i2c()
84 ret = i2c_transfer(adap, &msg, 1); sp2_write_i2c()
H A Dstv6110x.c53 ret = i2c_transfer(stv6110x->i2c, msg, 2); stv6110x_read_reg()
89 ret = i2c_transfer(stv6110x->i2c, &msg, 1); stv6110x_write_regs()
H A Dtda8083.c67 ret = i2c_transfer(state->i2c, &msg, 1); tda8083_writereg()
82 ret = i2c_transfer(state->i2c, msg, 2); tda8083_readregs()
H A Dves1820.c65 ret = i2c_transfer(state->i2c, &msg, 1); ves1820_writereg()
84 ret = i2c_transfer(state->i2c, msg, 2); ves1820_readreg()
H A Dor51132.c82 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { or51132_writebuf()
105 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { or51132_readbuf()
124 if ((err = i2c_transfer(state->i2c, msg, 2)) != 2) { or51132_readreg()
H A Dstv0299.c87 ret = i2c_transfer (state->i2c, &msg, 1); stv0299_writeregI()
114 ret = i2c_transfer (state->i2c, msg, 2); stv0299_readreg()
129 ret = i2c_transfer (state->i2c, msg, 2); stv0299_readregs()
H A Dtc90522.c66 ret = i2c_transfer(state->i2c_client->adapter, &msg, 1); reg_write()
93 ret = i2c_transfer(state->i2c_client->adapter, msgs, ARRAY_SIZE(msgs)); reg_read()
699 ret = i2c_transfer(state->i2c_client->adapter, new_msgs, j); tc90522_master_xfer()
H A Dtda10048.c232 ret = i2c_transfer(state->i2c, &msg, 1); tda10048_writereg()
254 ret = i2c_transfer(state->i2c, msg, 2); tda10048_readreg()
290 ret = i2c_transfer(state->i2c, &msg, 1); tda10048_writeregbulk()
H A Dcx22702.c93 ret = i2c_transfer(state->i2c, &msg, 1); cx22702_writereg()
116 ret = i2c_transfer(state->i2c, msg, 2); cx22702_readreg()
H A Dcx24113.c109 int err = i2c_transfer(state->i2c, &msg, 1); cx24113_writereg()
130 ret = i2c_transfer(state->i2c, msg, 2); cx24113_readreg()
H A Dmt352.c64 int err = i2c_transfer(state->i2c, &msg, 1); mt352_single_write()
94 ret = i2c_transfer(state->i2c, msg, 2); mt352_read_register()
H A Dnxt6000.c50 if ((ret = i2c_transfer(state->i2c, &msg, 1)) != 1) nxt6000_writereg()
66 ret = i2c_transfer(state->i2c, msgs, 2); nxt6000_readreg()
H A Dor51211.c82 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { i2c_writebytes()
99 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { i2c_readbytes()
H A Dstv0288.c74 ret = i2c_transfer(state->i2c, &msg, 1); stv0288_writeregI()
112 ret = i2c_transfer(state->i2c, msg, 2); stv0288_readreg()
H A Dts2020.c72 err = i2c_transfer(priv->i2c, msg, 1); ts2020_writereg()
109 ret = i2c_transfer(priv->i2c, msg, 2); ts2020_readreg()
H A Dves1x93.c101 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { ves1x93_writereg()
117 ret = i2c_transfer (state->i2c, msg, 2); ves1x93_readreg()
H A Dzl10036.c79 if (i2c_transfer(state->i2c, msg, 1) != 1) { zl10036_read_status_reg()
128 ret = i2c_transfer(state->i2c, msg, 1); zl10036_write()
H A Dzl10353.c59 int err = i2c_transfer(state->i2c, &msg, 1); zl10353_single_write()
89 ret = i2c_transfer(state->i2c, msg, 2); zl10353_read_register()
H A Disl6423.c77 err = i2c_transfer(i2c, &msg, 1); isl6423_write()
H A Dnxt200x.c77 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { i2c_writebytes()
90 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { i2c_readbytes()
114 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { nxt200x_writebytes()
131 if ((err = i2c_transfer (state->i2c, msg, 2)) != 2) { nxt200x_readbytes()
H A Dcx24117.c280 ret = i2c_transfer(state->priv->i2c, &msg, 1); cx24117_writereg()
308 ret = i2c_transfer(state->priv->i2c, &msg, 1); cx24117_writecmd()
329 ret = i2c_transfer(state->priv->i2c, msg, 2); cx24117_readreg()
354 ret = i2c_transfer(state->priv->i2c, msg, 2); cx24117_readregN()
631 ret = i2c_transfer(state->priv->i2c, &msg, 1); cx24117_load_firmware()
H A Dbcm3510.c94 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { bcm3510_writebytes()
114 if ((err = i2c_transfer (state->i2c, msg, 2)) != 2) { bcm3510_readbytes()
H A Dcx24110.c122 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { cx24110_writereg()
139 ret = i2c_transfer(state->i2c, msg, 2); cx24110_readreg()
H A Dcxd2820r_core.c52 ret = i2c_transfer(priv->i2c, msg, 1); cxd2820r_wr_regs_i2c()
90 ret = i2c_transfer(priv->i2c, msg, 2); cxd2820r_rd_regs_i2c()
H A Ddib0070.c106 if (i2c_transfer(state->i2c, state->msg, 2) != 2) { dib0070_read_reg()
135 if (i2c_transfer(state->i2c, state->msg, 1) != 1) { dib0070_write_reg()
H A Ddib3000mb.c62 if (i2c_transfer(state->i2c, msg, 2) != 2) dib3000_read_reg()
82 return i2c_transfer(state->i2c,msg, 1) != 1 ? -EREMOTEIO : 0; dib3000_write_reg()
H A Ddib3000mc.c59 if (i2c_transfer(state->i2c_adap, msg, 2) != 2) dib3000mc_read_word()
74 return i2c_transfer(state->i2c_adap, &msg, 1) != 1 ? -EREMOTEIO : 0; dib3000mc_write_word()
H A Dhd29l2.c47 ret = i2c_transfer(priv->i2c, msg, 1); hd29l2_wr_regs()
79 ret = i2c_transfer(priv->i2c, msg, 2); hd29l2_rd_regs()
H A Dlgdt330x.c90 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { i2c_write_demod_bytes()
118 ret = i2c_transfer(state->i2c, msg, 2); i2c_read_demod_bytes()
H A Dlgs8gxx.c67 ret = i2c_transfer(priv->i2c, &msg, 1); lgs8gxx_write_reg()
93 ret = i2c_transfer(priv->i2c, msg, 2); lgs8gxx_read_reg()
H A Dm88rs2000.c75 ret = i2c_transfer(state->i2c, &msg, 1); m88rs2000_writereg()
104 ret = i2c_transfer(state->i2c, msg, 2); m88rs2000_readreg()
H A Dmt312.c79 ret = i2c_transfer(state->i2c, msg, 2); mt312_read()
126 ret = i2c_transfer(state->i2c, &msg, 1); mt312_write()
H A Ds5h1409.c321 ret = i2c_transfer(state->i2c, &msg, 1); s5h1409_writereg()
342 ret = i2c_transfer(state->i2c, msg, 2); s5h1409_readreg()
H A Ds5h1411.c350 ret = i2c_transfer(state->i2c, &msg, 1); s5h1411_writereg()
369 ret = i2c_transfer(state->i2c, msg, 2); s5h1411_readreg()
H A Dtda10086.c59 ret = i2c_transfer(state->i2c, &msg, 1); tda10086_write_byte()
78 ret = i2c_transfer(state->i2c, msg, 2); tda10086_read_byte()
H A Dcx24123.c256 err = i2c_transfer(state->i2c, &msg, 1); cx24123_i2c_writereg()
275 ret = i2c_transfer(state->i2c, msg, 2); cx24123_i2c_readreg()
1031 return i2c_transfer(state->i2c, msg, num); cx24123_tuner_i2c_tuner_xfer()
H A Dds3000.c249 err = i2c_transfer(state->i2c, &msg, 1); ds3000_writereg()
297 ret = i2c_transfer(state->i2c, &msg, 1); ds3000_writeFW()
332 ret = i2c_transfer(state->i2c, msg, 2); ds3000_readreg()
/linux-4.1.27/drivers/media/pci/mantis/
H A Dmantis_vp2033.c61 if ((i2c_transfer(adapter, msg, 2) != 2) read_pwm()
94 if (i2c_transfer(adapter, &msg, 1) != 1) tda1002x_cu1216_tuner_set()
104 if (i2c_transfer(adapter, &msg, 1) == 1 && (buf[0] & 0x40)) tda1002x_cu1216_tuner_set()
118 if (i2c_transfer(adapter, &msg, 1) != 1) tda1002x_cu1216_tuner_set()
H A Dmantis_vp2040.c76 if (i2c_transfer(adapter, &msg, 1) != 1) tda1002x_cu1216_tuner_set()
86 if (i2c_transfer(adapter, &msg, 1) == 1 && (buf[0] & 0x40)) tda1002x_cu1216_tuner_set()
100 if (i2c_transfer(adapter, &msg, 1) != 1) tda1002x_cu1216_tuner_set()
117 if ((i2c_transfer(adapter, msg, 2) != 2) read_pwm()
H A Dmantis_ioc.c50 err = i2c_transfer(adapter, msg, 2); read_eeprom_bytes()
H A Dmantis_core.c47 err = i2c_transfer(&mantis->adapter, msg, 2); read_eeprom_byte()
H A Dmantis_vp1033.c109 if (i2c_transfer(adapter, &msg, 1) < 0) { lgtdqcs001f_tuner_set()
/linux-4.1.27/drivers/rtc/
H A Drtc-max6900.c87 rc = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); max6900_i2c_read_regs()
116 * We have to make separate calls to i2c_transfer because of max6900_i2c_write_regs()
123 rc = i2c_transfer(client->adapter, century_msgs, max6900_i2c_write_regs()
132 rc = i2c_transfer(client->adapter, burst_msgs, ARRAY_SIZE(burst_msgs)); max6900_i2c_write_regs()
H A Drtc-em3027.c67 if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { em3027_get_time()
104 if ((i2c_transfer(client->adapter, &msg, 1)) != 1) { em3027_set_time()
H A Drtc-pcf8523.c58 err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); pcf8523_read()
78 err = i2c_transfer(client->adapter, &msg, 1); pcf8523_write()
177 err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); pcf8523_rtc_read_time()
240 err = i2c_transfer(client->adapter, &msg, 1); pcf8523_rtc_set_time()
H A Drtc-x1205.c115 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { x1205_get_datetime()
169 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { x1205_get_status()
318 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { x1205_get_dtrim()
359 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { x1205_get_atrim()
435 xfer = i2c_transfer(client->adapter, msgs, 2); x1205_validate_client()
473 xfer = i2c_transfer(client->adapter, msgs, 2); x1205_validate_client()
520 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { x1205_rtc_read_alarm()
H A Drtc-ds1672.c54 if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { ds1672_get_datetime()
125 if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { ds1672_get_control()
H A Drtc-m41t80.c112 if (i2c_transfer(client->adapter, msgs, 2) < 0) { m41t80_get_datetime()
159 if (i2c_transfer(client->adapter, msgs_in, 2) < 0) { m41t80_set_datetime()
182 if (i2c_transfer(client->adapter, msgs, 1) != 1) { m41t80_set_datetime()
400 i2c_transfer(save_client->adapter, msgs1, 1); wdt_ping()
435 i2c_transfer(save_client->adapter, msgs0, 2); wdt_disable()
439 i2c_transfer(save_client->adapter, msgs1, 1); wdt_disable()
H A Drtc-pcf8583.c72 ret = i2c_transfer(client->adapter, msgs, 2); pcf8583_get_datetime()
157 return i2c_transfer(client->adapter, msgs, 2) == 2 ? 0 : -EIO; pcf8583_read_mem()
H A Drtc-fm3130.c110 tmp = i2c_transfer(to_i2c_adapter(fm3130->client->dev.parent), fm3130_get_time()
204 tmp = i2c_transfer(to_i2c_adapter(fm3130->client->dev.parent), fm3130_read_alarm()
396 tmp = i2c_transfer(adapter, fm3130->msg, 4); fm3130_probe()
H A Drtc-pcf85063.c65 if ((i2c_transfer(client->adapter, msgs, 2)) != 2) { pcf85063_get_datetime()
H A Drtc-s35390a.c73 if ((i2c_transfer(client->adapter, msg, 1)) != 1) s35390a_set_reg()
91 if ((i2c_transfer(client->adapter, msg, 1)) != 1) s35390a_get_reg()
H A Drtc-isl1208.c88 ret = i2c_transfer(client->adapter, msgs, 2); isl1208_i2c_read_regs()
115 ret = i2c_transfer(client->adapter, msgs, 1); isl1208_i2c_set_regs()
H A Drtc-bq32k.c67 if (i2c_transfer(client->adapter, msgs, 2) == 2) bq32k_read()
H A Drtc-isl12022.c76 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); isl12022_read_regs()
/linux-4.1.27/drivers/input/touchscreen/
H A Dcyttsp_i2c_common.c58 retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); cyttsp_i2c_read_block_data()
85 retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); cyttsp_i2c_write_block_data()
H A Dwacom_i2c.c75 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); wacom_query_device()
H A Dchipone_icn8318.c80 return i2c_transfer(client->adapter, msg, 2); icn8318_read_touch_data()
H A Dcy8ctmg110_ts.c116 ret = i2c_transfer(client->adapter, msg, 2); cy8ctmg110_read_regs()
H A Dgoodix.c88 ret = i2c_transfer(client->adapter, msgs, 2); goodix_i2c_read()
H A Dili210x.c70 if (i2c_transfer(client->adapter, msg, 2) != 2) { ili210x_read_reg()
H A Dst1232.c79 error = i2c_transfer(client->adapter, msg, 2); st1232_ts_read_data()
/linux-4.1.27/drivers/media/i2c/
H A Dsony-btf-mpx.c73 i2c_transfer(client->adapter, &msg, 1); mpx_write()
185 i2c_transfer(client->adapter, &msg, 1); mpx_setup()
187 i2c_transfer(client->adapter, &msg, 1); mpx_setup()
264 i2c_transfer(client->adapter, msgs, 2); mpx_setup()
270 i2c_transfer(client->adapter, msgs, 2); mpx_setup()
H A Dmsp3400-driver.c150 if (i2c_transfer(client->adapter, &reset[0], 1) != 1 || msp_reset()
151 i2c_transfer(client->adapter, &reset[1], 1) != 1 || msp_reset()
152 i2c_transfer(client->adapter, test, 2) != 2) { msp_reset()
183 if (i2c_transfer(client->adapter, msgs, 2) == 2) msp_read()
H A Dir-kbd-i2c.c213 if (2 != i2c_transfer(ir->c->adapter, msg, 2)) { get_key_avermedia_cardbus()
223 if (2 != i2c_transfer(ir->c->adapter, msg, 2)) { get_key_avermedia_cardbus()
H A Dov7670.c503 ret = i2c_transfer(client->adapter, &msg, 1); ov7670_read_i2c()
512 ret = i2c_transfer(client->adapter, &msg, 1); ov7670_read_i2c()
533 ret = i2c_transfer(client->adapter, &msg, 1); ov7670_write_i2c()
/linux-4.1.27/drivers/media/tuners/
H A Dtuner-i2c.h40 int ret = i2c_transfer(props->adap, &msg, 1); tuner_i2c_xfer_send()
49 int ret = i2c_transfer(props->adap, &msg, 1); tuner_i2c_xfer_recv()
62 int ret = i2c_transfer(props->adap, msg, 2); tuner_i2c_xfer_send_recv()
H A Dmt2131.c62 if (i2c_transfer(priv->i2c, msg, 2) != 2) { mt2131_readreg()
75 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { mt2131_writereg()
87 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { mt2131_writeregs()
H A Dmt2266.c63 if (i2c_transfer(priv->i2c, msg, 2) != 2) { mt2266_readreg()
77 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { mt2266_writereg()
90 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { mt2266_writeregs()
H A Dtda8290.c480 i2c_transfer(priv->i2c_props.adap, &msg, 1); tda8290_standby()
553 i2c_transfer(priv->i2c_props.adap, &msg, 1); tda8290_init_tuner()
594 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1); tda829x_find_tuner()
611 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1); tda829x_find_tuner()
631 ret = i2c_transfer(priv->i2c_props.adap, &msg, 1); tda829x_find_tuner()
678 if (i2c_transfer(i2c_props->adap, msg_read, 2) != 2) { tda8290_probe()
705 if (i2c_transfer(i2c_props->adap, msg_read, 2) != 2) { tda8295_probe()
H A Dmt2060.c49 if (i2c_transfer(priv->i2c, msg, 2) != 2) { mt2060_readreg()
64 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { mt2060_writereg()
77 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { mt2060_writeregs()
H A Dmax2165.c57 ret = i2c_transfer(priv->i2c, &msg, 1); max2165_write_reg()
78 ret = i2c_transfer(priv->i2c, msg, 2); max2165_read_reg()
H A Dmc44s803.c48 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { mc44s803_writereg()
73 if (i2c_transfer(priv->i2c, msg, 1) != 1) { mc44s803_readreg()
H A Dtda18218.c56 ret = i2c_transfer(priv->i2c, msg, 1); tda18218_wr_regs()
98 ret = i2c_transfer(priv->i2c, msg, 2); tda18218_rd_regs()
H A Dtda18271-common.c137 ret = i2c_transfer(priv->i2c_props.adap, msg, 2); tda18271_read_regs()
142 tda_err("ERROR: i2c_transfer returned: %d\n", ret); tda18271_read_regs()
167 ret = i2c_transfer(priv->i2c_props.adap, msg, 2); tda18271_read_extended()
172 tda_err("ERROR: i2c_transfer returned: %d\n", ret); tda18271_read_extended()
255 "i2c_transfer returned: %d\n", idx, max, ret); __tda18271_write_regs()
H A Dfc0011.c86 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { fc0011_writereg()
106 if (i2c_transfer(priv->i2c, msg, 2) != 2) { fc0011_readreg()
H A Dfc0012.c31 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { fc0012_writereg()
49 if (i2c_transfer(priv->i2c, msg, 2) != 2) { fc0012_readreg()
H A Dmxl5007t.c470 ret = i2c_transfer(state->i2c_props.adap, &msg, 1); mxl5007t_write_reg()
503 ret = i2c_transfer(state->i2c_props.adap, msg, 2); mxl5007t_read_reg()
518 int ret = i2c_transfer(state->i2c_props.adap, &msg, 1); mxl5007t_soft_reset()
H A Dfc0013.c34 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { fc0013_writereg()
48 if (i2c_transfer(priv->i2c, msg, 2) != 2) { fc0013_readreg()
H A Dfc2580.c67 ret = i2c_transfer(priv->i2c, msg, 1); fc2580_wr_regs()
104 ret = i2c_transfer(priv->i2c, msg, 2); fc2580_rd_regs()
H A Dqt1010.c34 if (i2c_transfer(priv->i2c, msg, 2) != 2) { qt1010_readreg()
49 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { qt1010_writereg()
H A Dtua9001.c38 ret = i2c_transfer(priv->i2c, msg, 1); tua9001_wr_reg()
H A Dqm1d1c0042.c92 ret = i2c_transfer(state->i2c->adapter, msgs, ARRAY_SIZE(msgs)); reg_read()
H A Dxc5000.c263 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) { xc_send_i2c_data()
279 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) {
298 if (i2c_transfer(priv->i2c_props.adap, msg, 2) != 2) { xc5000_readreg()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Di2c.h105 int ret = i2c_transfer(&port->adapter, msgs, 2); nv_rdi2cr()
120 int ret = i2c_transfer(&port->adapter, msgs, 1); nv_wri2cr()
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dpsb_intel_modes.c49 ret = i2c_transfer(adapter, msgs, 2); psb_intel_ddc_probe()
H A Dtc35876x-dsi-lvds.c242 r = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); tc35876x_regw()
292 r = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); tc35876x_regr()
/linux-4.1.27/sound/soc/codecs/
H A Dsigmadsp-i2c.c57 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); sigmadsp_read_i2c()
H A Dwm2000.c190 dev_err(&i2c->dev, "i2c_transfer() failed: %d\n", ret); wm2000_power_up()
195 dev_err(&i2c->dev, "i2c_transfer() failed, %d != %d\n", wm2000_power_up()
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Dfriio-fe.c48 ret = i2c_transfer(state->i2c, msg, 2); jdvbt90502_reg_read()
71 if (i2c_transfer(state->i2c, &msg, 1) != 1) { jdvbt90502_single_reg_write()
156 ret = i2c_transfer(state->i2c, &msg[0], 1); jdvbt90502_pll_set_freq()
175 ret = i2c_transfer(state->i2c, &msg[1], 1); jdvbt90502_pll_set_freq()
387 ret = i2c_transfer(state->i2c, &msg, 1); jdvbt90502_init()
H A Dopera1.c183 i2c_transfer(&udev_adap->dev->i2c_adap, msg, 1); opera1_set_voltage()
304 i2c_transfer(&adap->dev->i2c_adap, start_tuner, 1); opera1_streaming_ctrl()
321 i2c_transfer(&adap->dev->i2c_adap, msg, 1); opera1_pid_filter()
338 i2c_transfer(&adap->dev->i2c_adap, msg, 1); opera1_pid_filter_control()
384 if (i2c_transfer(&dev->i2c_adap, read_remote, 1) == 1) { opera1_rc_query()
H A Daz6027.c802 i2c_transfer(&adap->dev->i2c_adap, &i2c_msg, 1); az6027_set_voltage()
807 i2c_transfer(&adap->dev->i2c_adap, &i2c_msg, 1); az6027_set_voltage()
812 i2c_transfer(&adap->dev->i2c_adap, &i2c_msg, 1); az6027_set_voltage()
H A Ddibusb-mb.c85 if (i2c_transfer(&adap->dev->i2c_adap, msg, 2) != 2) { dibusb_tuner_probe_and_attach()
H A Ddw2102.c884 i2c_transfer(&adap->dev->i2c_adap, &msg, 1); su3000_streaming_ctrl()
927 if (i2c_transfer(&d->i2c_adap, msg, 2) != 2) su3000_read_mac_address()
968 i2c_transfer(&udev_adap->dev->i2c_adap, &msg, 1); dw210x_set_voltage()
1001 i2c_transfer(&udev_adap->dev->i2c_adap, &msg, 1); dw210x_led_ctrl()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-gpio.c597 i2c_transfer(&state->d->i2c_adap, msg, 2); pca9534_set_gpio()
613 i2c_transfer(&state->d->i2c_adap, &msg[0], 1); pca9534_set_gpio()
629 i2c_transfer(&state->d->i2c_adap, &msg, 1); pca9534_init_port_expander()
635 i2c_transfer(&state->d->i2c_adap, &msg, 1); pca9534_init_port_expander()
672 ret = i2c_transfer(&state->d->i2c_adap, msg, 2); mxl111sf_probe_port_expander()
684 ret = i2c_transfer(&state->d->i2c_adap, msg, 2); mxl111sf_probe_port_expander()
/linux-4.1.27/arch/sh/boards/mach-kfr2r09/
H A Dsetup.c426 ret = i2c_transfer(a, &msg, 1); kfr2r09_usb0_gadget_i2c_setup()
435 ret = i2c_transfer(a, &msg, 1); kfr2r09_usb0_gadget_i2c_setup()
445 ret = i2c_transfer(a, &msg, 1); kfr2r09_usb0_gadget_i2c_setup()
469 ret = i2c_transfer(a, &msg, 1); kfr2r09_serial_i2c_setup()
478 ret = i2c_transfer(a, &msg, 1); kfr2r09_serial_i2c_setup()
488 ret = i2c_transfer(a, &msg, 1); kfr2r09_serial_i2c_setup()
/linux-4.1.27/drivers/video/fbdev/core/
H A Dfb_ddc.c46 if (i2c_transfer(adapter, msgs, 2) == 2) fb_do_probe_ddc_edid()
/linux-4.1.27/drivers/media/i2c/smiapp/
H A Dsmiapp-regs.c92 r = i2c_transfer(client->adapter, &msg, 1); ____smiapp_read()
101 r = i2c_transfer(client->adapter, &msg, 1); ____smiapp_read()
267 r = i2c_transfer(client->adapter, &msg, 1); smiapp_write_no_quirk()
/linux-4.1.27/drivers/video/fbdev/via/
H A Dvia_i2c.c136 ret = i2c_transfer(&via_i2c_par[adap].adapter, msgs, 2); viafb_i2c_readbyte()
157 ret = i2c_transfer(&via_i2c_par[adap].adapter, &msgs, 1); viafb_i2c_writebyte()
180 ret = i2c_transfer(&via_i2c_par[adap].adapter, msgs, 2); viafb_i2c_readbytes()
H A Dvia_aux.h77 return i2c_transfer(drv->bus->adap, msg, 2) == 2; via_aux_read()
/linux-4.1.27/arch/arm/mach-omap1/
H A Dboard-sx1.c65 err = i2c_transfer(adap, msg, 1); sx1_i2c_write_byte()
89 err = i2c_transfer(adap, msg, 1); sx1_i2c_read_byte()
95 err = i2c_transfer(adap, msg, 1); sx1_i2c_read_byte()
/linux-4.1.27/drivers/media/pci/saa7134/
H A Dsaa7134-dvb.c203 i2c_transfer(&dev->i2c_adap, &msg, 1); mt352_pinnacle_tuner_set_params()
208 i2c_transfer(&dev->i2c_adap, &msg, 1); mt352_pinnacle_tuner_set_params()
260 if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1) { kworld_sbtvd_gate_ctrl()
268 if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1) { kworld_sbtvd_gate_ctrl()
371 if (i2c_transfer(&dev->i2c_adap, &tuner_msg, 1) != 1) { philips_tda6651_pll_set()
391 if (i2c_transfer(&dev->i2c_adap, &tuner_msg, 1) != 1) philips_tu1216_init()
436 if (i2c_transfer(&dev->i2c_adap, &init_msg, 1) != 1) philips_td1316_tuner_init()
457 if (i2c_transfer(&dev->i2c_adap, &analog_msg, 1) != 1) philips_td1316_tuner_sleep()
474 if (i2c_transfer(&dev->i2c_adap, &init_msg, 1) != 1) philips_europa_tuner_init()
493 i2c_transfer(&dev->i2c_adap, &analog_msg, 1); philips_europa_tuner_sleep()
558 if (i2c_transfer(state->i2c, &tda8290_msg, 1) != 1) { tda8290_i2c_gate_ctrl()
1030 if (i2c_transfer(&dev->i2c_adap, msg, 2) != 2) md8800_set_voltage2()
1038 i2c_transfer(&dev->i2c_adap, msg, 1); md8800_set_voltage2()
1470 i2c_transfer(&dev->i2c_adap, &msg, 1); dvb_init()
1941 i2c_transfer(&dev->i2c_adap, &msg, 1); dvb_fini()
H A Dsaa7134-cards.c7811 ret = i2c_transfer(&dev->i2c_adap, msg, 2); saa7134_board_init2()
7818 i2c_transfer(&dev->i2c_adap, msg, 2); saa7134_board_init2()
7834 i2c_transfer(&dev->i2c_adap, msg, 2); saa7134_board_init2()
7837 i2c_transfer(&dev->i2c_adap, msg, 2); saa7134_board_init2()
7879 i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
7897 i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
7900 i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
7940 i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
7948 i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
7956 i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
7965 i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
7974 if (1 != i2c_transfer(&dev->i2c_adap, &msg, 1)) { saa7134_board_init2()
7979 rc = i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
7994 i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
8003 i2c_transfer(&dev->i2c_adap, &msg, 1); saa7134_board_init2()
8045 if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1) saa7134_board_init2()
8063 if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1) saa7134_board_init2()
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dbudget.c236 if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; alps_bsrv2_tuner_set_params()
264 if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; alps_tdbe2_tuner_set_params()
319 if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; grundig_29504_401_tuner_set_params()
349 if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; grundig_29504_451_tuner_set_params()
381 if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) return -EIO; s5h1420_tuner_set_params()
435 return (i2c_transfer(i2c, msg, 2) != 2) ? -EIO : val; i2c_readreg()
445 if ((i2c_transfer(&budget->i2c_adap, msg, 2) != 2) || (pwm == 0xff)) read_pwm()
H A Dbudget-av.c109 i2c_transfer(i2c, msgs, 2); i2c_readreg()
122 if (i2c_transfer(i2c, msgs, 2) != 2) i2c_readregs()
137 return i2c_transfer(i2c, &msgs, 1); i2c_writereg()
536 if (i2c_transfer(&budget->i2c_adap, &msg, 1) != 1) philips_su1278_ty_ci_tuner_set_params()
643 if (i2c_transfer(&budget->i2c_adap, &msg, 1) != 1) philips_cu1216_tuner_set_params()
652 if (i2c_transfer(&budget->i2c_adap, &msg, 1) == 1 && (buf[0] & 0x40)) philips_cu1216_tuner_set_params()
664 if (i2c_transfer(&budget->i2c_adap, &msg, 1) != 1) philips_cu1216_tuner_set_params()
694 if (i2c_transfer(&budget->i2c_adap, &tuner_msg, 1) != 1) philips_tu1216_tuner_init()
778 if (i2c_transfer(&budget->i2c_adap, &tuner_msg, 1) != 1) philips_tu1216_tuner_set_params()
1176 if ((i2c_transfer(&budget_av->budget.i2c_adap, msg, 2) != 2) read_pwm()
H A Dttpci-eeprom.c129 ret = i2c_transfer(adapter, msg, 2); ttpci_eeprom_read_encodedMAC()
H A Dbudget-ci.c694 if (i2c_transfer(&budget_ci->budget.i2c_adap, &msg, 1) != 1) philips_su1278_tt_tuner_set_params()
725 if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) philips_tdm1316l_tuner_init()
735 if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) { philips_tdm1316l_tuner_init()
738 i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1); philips_tdm1316l_tuner_init()
823 if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) philips_tdm1316l_tuner_set_params()
921 if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) dvbc_philips_tdm1316l_tuner_set_params()
928 if (i2c_transfer(&budget_ci->budget.i2c_adap, &tuner_msg, 1) != 1) dvbc_philips_tdm1316l_tuner_set_params()
H A Dav7110.c1448 return i2c_transfer(&av7110->i2c_adap, &msgs, 1); i2c_writereg()
1463 i2c_transfer(&av7110->i2c_adap, msgs, 2); i2c_readreg()
1605 if (i2c_transfer (&av7110->i2c_adap, &msg, 1) != 1) alps_bsrv2_tuner_set_params()
1633 if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) alps_tdbe2_tuner_set_params()
1664 if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) grundig_29504_451_tuner_set_params()
1693 if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) philips_cd1516_tuner_set_params()
1729 if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) alps_tdlb7_tuner_set_params()
1874 if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) { nexusca_stv0297_tuner_set_params()
1883 if (i2c_transfer(&av7110->i2c_adap, &readmsg, 1) == 1) nexusca_stv0297_tuner_set_params()
1939 if (i2c_transfer (&av7110->i2c_adap, &msg, 1) != 1) return -EIO; grundig_29504_401_tuner_set_params()
2116 if ((i2c_transfer(&av7110->i2c_adap, msg, 2) != 2) || (pwm == 0xff)) read_pwm()
H A Dav7110_v4l.c57 if (i2c_transfer(&av7110->i2c_adap, &msgs, 1) != 1) { msp_writereg()
87 if (i2c_transfer(&av7110->i2c_adap, &msgs[0], 2) != 2) { msp_readreg()
144 if (1 != i2c_transfer(&av7110->i2c_adap, &msg, 1)) ves1820_writereg()
156 if (1 != i2c_transfer(&av7110->i2c_adap, &msg, 1)) tuner_write()
H A Dbudget-patch.c295 if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) alps_bsrv2_tuner_set_params()
322 if (i2c_transfer (&budget->i2c_adap, &msg, 1) != 1) grundig_29504_451_tuner_set_params()
/linux-4.1.27/drivers/media/radio/si470x/
H A Dradio-si470x-i2c.c109 if (i2c_transfer(radio->client->adapter, msgs, 1) != 1) si470x_get_register()
136 if (i2c_transfer(radio->client->adapter, msgs, 1) != 1) si470x_set_register()
164 if (i2c_transfer(radio->client->adapter, msgs, 1) != 1) si470x_get_all_registers()
/linux-4.1.27/drivers/iio/gyro/
H A Ditg3200_buffer.c44 return i2c_transfer(i2c->adapter, msg, 2); itg3200_read_all_channels()
H A Ditg3200_core.c80 ret = i2c_transfer(client->adapter, msg, 2); itg3200_read_reg_s16()
/linux-4.1.27/drivers/mfd/
H A Dtps6507x.c56 ret = i2c_transfer(i2c->adapter, xfer, 2); tps6507x_i2c_read_device()
H A Dtps65912-i2c.c44 ret = i2c_transfer(i2c->adapter, xfer, 2); tps65912_i2c_read()
H A Dcros_ec_i2c.c85 ret = i2c_transfer(client->adapter, i2c_msg, 2); cros_ec_cmd_xfer_i2c()
H A Dwl1273-core.c78 r = i2c_transfer(client->adapter, &msg, 1); wl1273_fm_write_data()
/linux-4.1.27/drivers/media/usb/ttusb-budget/
H A Ddvb-ttusb-budget.c1038 if (i2c_transfer(&ttusb->i2c_adap, &msg, 1) != 1) return -EIO; alps_tdmb7_tuner_set_params()
1060 if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) return -EIO; philips_tdm1316l_tuner_init()
1069 if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) { philips_tdm1316l_tuner_init()
1070 i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1); philips_tdm1316l_tuner_init()
1143 if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) philips_tdm1316l_tuner_set_params()
1309 if (i2c_transfer(&ttusb->i2c_adap, &msg, 1) != 1) philips_tsa5059_tuner_set_params()
1344 if (i2c_transfer(&ttusb->i2c_adap, &msg, 1) != 1) ttusb_novas_grundig_29504_491_tuner_set_params()
1372 if (i2c_transfer (&ttusb->i2c_adap, &msg, 1) != 1) alps_tdbe2_tuner_set_params()
1393 if ((i2c_transfer(&ttusb->i2c_adap, msg, 2) != 2) || (pwm == 0xff)) read_pwm()
1442 if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) { dvbc_philips_tdm1316l_tuner_set_params()
1451 if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) { dvbc_philips_tdm1316l_tuner_set_params()
/linux-4.1.27/drivers/media/pci/solo6x10/
H A Dsolo6x10-i2c.c48 i2c_transfer(&solo_dev->i2c_adap[id], msgs, 2); solo_i2c_readbyte()
66 i2c_transfer(&solo_dev->i2c_adap[id], &msgs, 1); solo_i2c_writebyte()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Ddvo_ch7xxx.c160 if (i2c_transfer(adapter, msgs, 2) == 2) { ch7xxx_readb()
188 if (i2c_transfer(adapter, &msg, 1) == 1) ch7xxx_writeb()
H A Ddvo_sil164.c93 if (i2c_transfer(adapter, msgs, 2) == 2) { sil164_readb()
120 if (i2c_transfer(adapter, &msg, 1) == 1) sil164_writeb()
H A Ddvo_tfp410.c118 if (i2c_transfer(adapter, msgs, 2) == 2) { tfp410_readb()
145 if (i2c_transfer(adapter, &msg, 1) == 1) tfp410_writeb()
H A Ddvo_ch7017.c184 return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; ch7017_read()
196 return i2c_transfer(dvo->i2c_bus, &msg, 1) == 1; ch7017_write()
H A Ddvo_ivch.c195 if (i2c_transfer(adapter, msgs, 3) == 3) { ivch_read()
225 if (i2c_transfer(adapter, &msg, 1) == 1) ivch_write()
H A Ddvo_ns2501.c402 if (i2c_transfer(adapter, msgs, 2) == 2) { ns2501_readb()
438 if (i2c_transfer(adapter, &msg, 1) == 1) { ns2501_writeb()
/linux-4.1.27/drivers/input/joystick/
H A Das5011.c95 error = i2c_transfer(client->adapter, &msg, 1); as5011_i2c_write()
119 error = i2c_transfer(client->adapter, msg_set, 2); as5011_i2c_read()
/linux-4.1.27/drivers/base/regmap/
H A Dregmap-i2c.c167 ret = i2c_transfer(i2c->adapter, xfer, 2); regmap_i2c_gather_write()
195 ret = i2c_transfer(i2c->adapter, xfer, 2); regmap_i2c_read()
/linux-4.1.27/drivers/media/pci/ngene/
H A Dngene-cards.c184 return (i2c_transfer(adapter, msgs, 1) == 1) ? 0 : -1; i2c_read()
195 return (i2c_transfer(adapter, msgs, 2) == 2) ? 0 : -1; i2c_read_reg16()
274 rc = i2c_transfer(i2c, &i2c_msg, 1); cineS2_probe()
382 if (i2c_transfer(adapter, &msg, 1) != 1) { i2c_write_eeprom()
398 if (i2c_transfer(adapter, msgs, 2) != 2) { i2c_read_eeprom()
/linux-4.1.27/drivers/media/i2c/soc_camera/
H A Dov9640.c180 ret = i2c_transfer(client->adapter, &msg, 1); ov9640_reg_read()
185 ret = i2c_transfer(client->adapter, &msg, 1); ov9640_reg_read()
210 ret = i2c_transfer(client->adapter, &msg, 1); ov9640_reg_write()
H A Dimx074.c121 ret = i2c_transfer(adap, &msg, 1); reg_write()
146 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); reg_read()
H A Dov9740.c420 ret = i2c_transfer(client->adapter, msg, 2); ov9740_reg_read()
449 ret = i2c_transfer(client->adapter, &msg, 1); ov9740_reg_write()
H A Dmt9t112.c171 ret = i2c_transfer(client->adapter, msg, 2); __mt9t112_reg_read()
198 * i2c_transfer return message length, __mt9t112_reg_write()
201 ret = i2c_transfer(client->adapter, &msg, 1); __mt9t112_reg_write()
H A Dov6650.c231 ret = i2c_transfer(client->adapter, &msg, 1); ov6650_reg_read()
236 ret = i2c_transfer(client->adapter, &msg, 1); ov6650_reg_read()
260 ret = i2c_transfer(client->adapter, &msg, 1); ov6650_reg_write()
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-i2c.c172 i2c_transfer(core->i2c_client.adapter, &tuner_msg, 1); cx88_i2c_init()
/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-eeprom.c105 if ((ret = i2c_transfer(&hdw->i2c_adap, pvr2_eeprom_fetch()
/linux-4.1.27/drivers/staging/media/cxd2099/
H A Dcxd2099.c66 if (i2c_transfer(adapter, &msg, 1) != 1) { i2c_write_reg()
80 if (i2c_transfer(adapter, &msg, 1) != 1) { i2c_write()
95 if (i2c_transfer(adapter, msgs, 2) != 2) { i2c_read_reg()
110 if (i2c_transfer(adapter, msgs, 2) != 2) { i2c_read()
/linux-4.1.27/drivers/i2c/muxes/
H A Di2c-mux-pca9541.c89 * Write to chip register. Don't use i2c_transfer()/i2c_smbus_xfer()
123 * Read from chip register. Don't use i2c_transfer()/i2c_smbus_xfer()
H A Di2c-mux-pca954x.c121 /* Write to mux register. Don't use i2c_transfer()/i2c_smbus_xfer()
/linux-4.1.27/drivers/media/usb/au0828/
H A Dau0828-input.c61 rc = i2c_transfer(ir->dev->i2c_client.adapter, &msg, 1); au8522_rc_write()
86 rc = i2c_transfer(ir->dev->i2c_client.adapter, msg, 2); au8522_rc_read()
/linux-4.1.27/drivers/media/radio/
H A Dradio-tea5764.c165 if (i2c_transfer(radio->i2c_client->adapter, msgs, 1) != 1) tea5764_i2c_read()
190 if (i2c_transfer(radio->i2c_client->adapter, msgs, 1) != 1) tea5764_i2c_write()
H A Dsaa7706h.c150 int err = i2c_transfer(client->adapter, msgs, num); saa7706h_i2c_transfer()
/linux-4.1.27/drivers/input/mouse/
H A Delan_i2c_i2c.c89 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); elan_i2c_read_block()
120 ret = i2c_transfer(client->adapter, &msg, 1); elan_i2c_write_cmd()
/linux-4.1.27/arch/sh/boards/mach-ap325rxa/
H A Dsetup.c299 ret = i2c_transfer(a, &msg, 1); camera_probe()
329 ret = (ret < 0) ? ret : i2c_transfer(a, &msg, 1); camera_set_capture()
/linux-4.1.27/arch/arm/mach-davinci/
H A Dboard-dm646x-evm.c150 i2c_transfer(client->adapter, msg, 1); cpld_reg0_probe()
152 i2c_transfer(client->adapter, msg + 1, 1); cpld_reg0_probe()
/linux-4.1.27/drivers/i2c/
H A Di2c-core.c213 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); acpi_gsb_i2c_read_bytes()
243 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); acpi_gsb_i2c_write_bytes()
1045 * except i2c_transfer() need a client handle; the dummy will be that handle.
2001 * __i2c_transfer - unlocked flavor of i2c_transfer
2020 /* i2c_trace_msg gets enabled when tracepoint i2c_transfer gets __i2c_transfer()
2056 * i2c_transfer - execute a single or combined I2C message
2067 int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) i2c_transfer() function
2116 EXPORT_SYMBOL(i2c_transfer); variable
2137 ret = i2c_transfer(adap, &msg, 1); i2c_master_send()
2167 ret = i2c_transfer(adap, &msg, 1); i2c_master_recv()
2806 status = i2c_transfer(adapter, msg, num); i2c_smbus_xfer_emulated()
/linux-4.1.27/drivers/hwmon/
H A Dhih6130.c140 ret = i2c_transfer(client->adapter, msgs, 1); hih6130_update_measurements()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-nomadik.c623 * This is the function called by the generic kernel i2c_transfer()
625 * semaphore set in the kernel i2c_transfer() function.
646 * i2c_transfer(adap, msg, 2);
658 * i2c_transfer(adap, msg, 1);
/linux-4.1.27/drivers/mtd/maps/
H A Dpismo.c86 ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg)); pismo_eeprom_read()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dbase.c41 return i2c_transfer(&i2c->adapter, msgs, 2) == 2; mxm_shadow_rom_fetch()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_i2c.c67 ret = i2c_transfer(&radeon_connector->ddc_bus->aux.ddc, msgs, 2); radeon_ddc_probe()
69 ret = i2c_transfer(&radeon_connector->ddc_bus->adapter, msgs, 2); radeon_ddc_probe()
1076 if (i2c_transfer(&i2c_bus->adapter, msgs, 2) == 2) { radeon_i2c_get_byte()
1101 if (i2c_transfer(&i2c_bus->adapter, &msg, 1) != 1) radeon_i2c_put_byte()
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
H A Dconnector-dvi.c166 r = i2c_transfer(adapter, msgs, 2); dvic_ddc_read()
/linux-4.1.27/include/uapi/linux/
H A Di2c.h49 * transaction. It is visible to drivers in the @i2c_transfer() procedure,
/linux-4.1.27/drivers/iio/accel/
H A Dmma9551_core.c150 ret = i2c_transfer(client->adapter, &out, 1); mma9551_transfer()
165 ret = i2c_transfer(client->adapter, &in, 1); mma9551_transfer()
/linux-4.1.27/drivers/media/usb/em28xx/
H A Dem28xx-input.c165 if (2 != i2c_transfer(i2c_dev->adapter, msg, 2)) em28xx_get_key_winfast_usbii_deluxe()
172 if (2 != i2c_transfer(i2c_dev->adapter, msg, 2)) em28xx_get_key_winfast_usbii_deluxe()
/linux-4.1.27/drivers/misc/eeprom/
H A Dat24.c253 status = i2c_transfer(client->adapter, msg, 2); at24_eeprom_read()
384 status = i2c_transfer(client->adapter, &msg, 1); at24_eeprom_write()
/linux-4.1.27/drivers/gpu/drm/i2c/
H A Dsil164_drv.c400 if (i2c_transfer(adap, &msg, 1) != 1) { sil164_detect_slave()
/linux-4.1.27/drivers/input/misc/
H A Dmpu3050.c147 return i2c_transfer(client->adapter, msg, 2); mpu3050_xyz_read_reg()
/linux-4.1.27/drivers/power/
H A Dltc2941-battery-gauge.c106 ret = i2c_transfer(client->adapter, &msgs[0], 2); ltc294x_read_regs()
/linux-4.1.27/drivers/media/pci/ddbridge/
H A Dddbridge-core.c58 return (i2c_transfer(adapter, msgs, 1) == 1) ? 0 : -1; i2c_read()
67 return (i2c_transfer(adapter, msgs, 2) == 2) ? 0 : -1; i2c_read_reg()
78 return (i2c_transfer(adapter, msgs, 2) == 2) ? 0 : -1; i2c_read_reg16()

Completed in 3597 milliseconds

12