Home
last modified time | relevance | path

Searched refs:i2c_msg (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/drivers/staging/media/solo6x10/
Dsolo6x10-i2c.c39 struct i2c_msg msgs[2]; in solo_i2c_readbyte()
60 struct i2c_msg msgs; in solo_i2c_writebyte()
86 if (!(solo_dev->i2c_msg->flags & I2C_M_NO_RD_ACK)) in solo_i2c_flush()
90 if (solo_dev->i2c_msg_ptr == solo_dev->i2c_msg->len) in solo_i2c_flush()
98 u32 addr = solo_dev->i2c_msg->addr << 1; in solo_i2c_start()
100 if (solo_dev->i2c_msg->flags & I2C_M_RD) in solo_i2c_start()
119 if (solo_dev->i2c_msg_ptr != solo_dev->i2c_msg->len) { in solo_i2c_handle_read()
125 solo_dev->i2c_msg++; in solo_i2c_handle_read()
133 if (!(solo_dev->i2c_msg->flags & I2C_M_NOSTART)) { in solo_i2c_handle_read()
136 if (solo_dev->i2c_msg->flags & I2C_M_RD) in solo_i2c_handle_read()
[all …]
/drivers/mfd/
Dcros_ec_i2c.c42 struct i2c_msg i2c_msg[2]; in cros_ec_command_xfer() local
44 i2c_msg[0].addr = client->addr; in cros_ec_command_xfer()
45 i2c_msg[0].flags = 0; in cros_ec_command_xfer()
46 i2c_msg[1].addr = client->addr; in cros_ec_command_xfer()
47 i2c_msg[1].flags = I2C_M_RD; in cros_ec_command_xfer()
57 i2c_msg[1].len = packet_len; in cros_ec_command_xfer()
58 i2c_msg[1].buf = (char *)in_buf; in cros_ec_command_xfer()
68 i2c_msg[0].len = packet_len; in cros_ec_command_xfer()
69 i2c_msg[0].buf = (char *)out_buf; in cros_ec_command_xfer()
84 ret = i2c_transfer(client->adapter, i2c_msg, 2); in cros_ec_command_xfer()
[all …]
/drivers/media/dvb-frontends/
Ddibx000_common.c27 memset(mst->msg, 0, sizeof(struct i2c_msg)); in dibx000_write_word()
51 memset(mst->msg, 0, 2 * sizeof(struct i2c_msg)); in dibx000_read_word()
89 static int dibx000_master_i2c_write(struct dibx000_i2c_master *mst, struct i2c_msg *msg, u8 stop) in dibx000_master_i2c_write()
132 static int dibx000_master_i2c_read(struct dibx000_i2c_master *mst, struct i2c_msg *msg) in dibx000_master_i2c_read()
202 static int dibx000_i2c_master_xfer_gpio12(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int n… in dibx000_i2c_master_xfer_gpio12()
224 static int dibx000_i2c_master_xfer_gpio34(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int n… in dibx000_i2c_master_xfer_gpio34()
279 struct i2c_msg msg[], int num) in dibx000_i2c_gated_gpio67_xfer()
297 memset(mst->msg, 0, sizeof(struct i2c_msg) * (2 + num)); in dibx000_i2c_gated_gpio67_xfer()
305 memcpy(&mst->msg[1], msg, sizeof(struct i2c_msg) * num); in dibx000_i2c_gated_gpio67_xfer()
326 struct i2c_msg msg[], int num) in dibx000_i2c_gated_tuner_xfer()
[all …]
Dtua6100.c57 struct i2c_msg msg = { .addr = priv->i2c_address, .flags = 0, .buf = reg0, .len = 2 }; in tua6100_sleep()
79 struct i2c_msg msg0 = { .addr = priv->i2c_address, .flags = 0, .buf = reg0, .len = 2 }; in tua6100_set_params()
80 struct i2c_msg msg1 = { .addr = priv->i2c_address, .flags = 0, .buf = reg1, .len = 4 }; in tua6100_set_params()
81 struct i2c_msg msg2 = { .addr = priv->i2c_address, .flags = 0, .buf = reg2, .len = 3 }; in tua6100_set_params()
178 struct i2c_msg msg [] = { { .addr = addr, .flags = 0, .buf = b1, .len = 1 }, in tua6100_attach()
Disl6421.c49 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, in isl6421_set_voltage()
77 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, in isl6421_enable_high_lnb_voltage()
95 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, in isl6421_set_tone()
Dtda826x.c56 struct i2c_msg msg = { .addr = priv->i2c_address, .flags = 0, .buf = buf, .len = 2 }; in tda826x_sleep()
83 struct i2c_msg msg = { .addr = priv->i2c_address, .flags = 0, .buf = buf, .len = 11 }; in tda826x_set_params()
148 struct i2c_msg msg[2] = { in tda826x_attach()
Dlnbp21.c51 struct i2c_msg msg = { .addr = lnbp21->i2c_addr, .flags = 0, in lnbp21_set_voltage()
79 struct i2c_msg msg = { .addr = lnbp21->i2c_addr, .flags = 0, in lnbp21_enable_high_lnb_voltage()
98 struct i2c_msg msg = { .addr = lnbp21->i2c_addr, .flags = 0, in lnbp21_set_tone()
Dstb6000.c56 struct i2c_msg msg = { in stb6000_sleep()
87 struct i2c_msg msg = { in stb6000_set_params()
207 struct i2c_msg msg[2] = { in stb6000_attach()
Ddvb-pll.c351 struct i2c_msg msg = { in opera1_bw()
422 struct i2c_msg msg = { in samsung_dtos403ih102a_set()
619 struct i2c_msg msg = { .flags = 0, in dvb_pll_sleep()
642 struct i2c_msg msg = in dvb_pll_set_params()
716 struct i2c_msg msg = { .flags = 0, in dvb_pll_init()
757 struct i2c_msg msg = { .addr = pll_addr, .flags = I2C_M_RD, in dvb_pll_attach()
/drivers/media/pci/pt1/
Dva1j5jf8007s.c57 struct i2c_msg msgs[2]; in va1j5jf8007s_read_snr()
179 struct i2c_msg msg; in va1j5jf8007s_set_frequency_1()
208 struct i2c_msg msg; in va1j5jf8007s_set_frequency_2()
229 struct i2c_msg msg; in va1j5jf8007s_set_frequency_3()
254 struct i2c_msg msgs[2]; in va1j5jf8007s_check_frequency()
281 struct i2c_msg msg; in va1j5jf8007s_set_modulation()
302 struct i2c_msg msgs[2]; in va1j5jf8007s_check_modulation()
330 struct i2c_msg msg; in va1j5jf8007s_set_ts_id()
356 struct i2c_msg msgs[2]; in va1j5jf8007s_check_ts_id()
513 struct i2c_msg msg; in va1j5jf8007s_init_frequency()
[all …]
Dva1j5jf8007t.c55 struct i2c_msg msgs[2]; in va1j5jf8007t_read_snr()
165 struct i2c_msg msg; in va1j5jf8007t_set_frequency()
193 struct i2c_msg msgs[2]; in va1j5jf8007t_check_frequency()
220 struct i2c_msg msg; in va1j5jf8007t_set_modulation()
241 struct i2c_msg msgs[2]; in va1j5jf8007t_check_modulation()
359 struct i2c_msg msg; in va1j5jf8007t_init_frequency()
383 struct i2c_msg msg; in va1j5jf8007t_set_sleep()
470 struct i2c_msg msg; in va1j5jf8007t_prepare()
509 struct i2c_msg msg; in va1j5jf8007t_attach()
/drivers/video/mb862xx/
Dmb862xx-i2c.c80 static int mb862xx_i2c_read(struct i2c_adapter *adap, struct i2c_msg *m) in mb862xx_i2c_read()
94 static int mb862xx_i2c_write(struct i2c_adapter *adap, struct i2c_msg *m) in mb862xx_i2c_write()
107 static int mb862xx_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, in mb862xx_xfer()
111 struct i2c_msg *m; in mb862xx_xfer()
/drivers/gpu/drm/gma500/
Doaktrail_hdmi_i2c.c73 struct i2c_msg *msg;
93 static int xfer_read(struct i2c_adapter *adap, struct i2c_msg *pmsg) in xfer_read()
116 static int xfer_write(struct i2c_adapter *adap, struct i2c_msg *pmsg) in xfer_write()
125 struct i2c_msg *pmsg, in oaktrail_hdmi_i2c_access()
178 struct i2c_msg *msg = i2c_dev->msg; in hdmi_i2c_read()
/drivers/gpu/drm/nouveau/core/subdev/i2c/
Dbit.c175 i2c_addr(struct nouveau_i2c_port *port, struct i2c_msg *msg) in i2c_addr()
184 i2c_bit_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) in i2c_bit_xfer()
187 struct i2c_msg *msg = msgs; in i2c_bit_xfer()
217 i2c_bit_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) in i2c_bit_xfer()
/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c58 const struct i2c_msg *msg, int tuner_type) in is_tuner()
76 const struct i2c_msg *msg) in cx231xx_i2c_send_bytes()
187 const struct i2c_msg *msg) in cx231xx_i2c_recv_bytes()
273 const struct i2c_msg *msg1, in cx231xx_i2c_recv_bytes_with_saddr()
274 const struct i2c_msg *msg2) in cx231xx_i2c_recv_bytes_with_saddr()
337 const struct i2c_msg *msg) in cx231xx_i2c_check_for_device()
363 struct i2c_msg msgs[], int num) in cx231xx_i2c_xfer()
/drivers/media/pci/cx23885/
Dnetup-init.c33 struct i2c_msg msg = { in i2c_av_write()
54 struct i2c_msg msg = { in i2c_av_write4()
78 struct i2c_msg msg = { in i2c_av_read()
Dnetup-eeprom.c38 struct i2c_msg msg[] = { in netup_eeprom_read()
72 struct i2c_msg msg[] = { in netup_eeprom_write()
/drivers/media/pci/cx25821/
Dcx25821-i2c.c81 const struct i2c_msg *msg, int joined_rlen) in i2c_sendbytes()
175 const struct i2c_msg *msg, int joined) in i2c_readbytes()
238 static int i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num) in i2c_xfer()
338 struct i2c_msg msg;
365 struct i2c_msg msgs[2] = { in cx25821_i2c_read()
398 struct i2c_msg msgs[1] = { in cx25821_i2c_write()
/drivers/media/pci/ngene/
Dngene-cards.c182 struct i2c_msg msgs[1] = {{.addr = adr, .flags = I2C_M_RD, in i2c_read()
191 struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0, in i2c_read_reg16()
241 struct i2c_msg i2c_msg = { .flags = 0, .buf = buf }; in cineS2_probe() local
259 i2c_msg.addr = fe_conf->address; in cineS2_probe()
260 i2c_msg.len = 3; in cineS2_probe()
274 rc = i2c_transfer(i2c, &i2c_msg, 1); in cineS2_probe()
379 struct i2c_msg msg = {.addr = adr, .flags = 0, .buf = m, in i2c_write_eeprom()
393 struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0, in i2c_read_eeprom()
/drivers/rtc/
Drtc-x1205.c99 struct i2c_msg msgs[] = { in x1205_get_datetime()
153 struct i2c_msg msgs[] = { in x1205_get_status()
299 struct i2c_msg msgs[] = { in x1205_get_dtrim()
340 struct i2c_msg msgs[] = { in x1205_get_atrim()
419 struct i2c_msg msgs[2] = { in x1205_validate_client()
456 struct i2c_msg msgs[2] = { in x1205_validate_client()
500 struct i2c_msg msgs[] = { in x1205_rtc_read_alarm()
Drtc-pcf8523.c44 struct i2c_msg msgs[2]; in pcf8523_read()
70 struct i2c_msg msg; in pcf8523_write()
164 struct i2c_msg msgs[2]; in pcf8523_rtc_read_time()
218 struct i2c_msg msg; in pcf8523_rtc_set_time()
/drivers/media/usb/dvb-usb/
Dopera1.c134 static int opera1_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], in opera1_i2c_xfer()
174 struct i2c_msg msg[] = { in opera1_set_voltage()
299 struct i2c_msg start_tuner[] = { in opera1_streaming_ctrl()
312 struct i2c_msg msg[] = { in opera1_pid_filter()
329 struct i2c_msg msg[] = { in opera1_pid_filter_control()
378 struct i2c_msg read_remote[] = { in opera1_rc_query()
/drivers/media/tuners/
Dtuner-i2c.h38 struct i2c_msg msg = { .addr = props->addr, .flags = 0, in tuner_i2c_xfer_send()
47 struct i2c_msg msg = { .addr = props->addr, .flags = I2C_M_RD, in tuner_i2c_xfer_recv()
58 struct i2c_msg msg[2] = { { .addr = props->addr, .flags = 0, in tuner_i2c_xfer_send_recv()
Dtda827x.c137 struct i2c_msg *msg, in tuner_transfer()
162 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xo_set_params()
236 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xo_sleep()
258 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0 }; in tda827xo_set_analog_params()
338 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xo_agcf()
448 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xa_sleep()
468 struct i2c_msg msg = { .flags = 0, .buf = buf, .len = sizeof(buf) }; in tda827xa_lna_gain()
521 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xa_set_params()
668 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xa_set_analog_params()
763 struct i2c_msg msg = {.addr = priv->i2c_addr, .flags = 0, in tda827xa_agcf()
[all …]
/drivers/i2c/busses/
Di2c-designware-core.h74 struct i2c_msg *msgs;
101 extern int i2c_dw_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],

12345678910>>...15