Home
last modified time | relevance | path

Searched refs:msg_read (Results 1 – 5 of 5) sorted by relevance

/drivers/i2c/busses/
Di2c-xlp9xx.c82 bool msg_read; member
177 if (!priv->msg_read) { in xlp9xx_i2c_isr()
235 priv->msg_read = (msg->flags & I2C_M_RD); in xlp9xx_i2c_xfer_msg()
243 if (priv->msg_read) in xlp9xx_i2c_xfer_msg()
249 (priv->msg_read ? XLP9XX_I2C_SLAVEADDR_RW : 0)); in xlp9xx_i2c_xfer_msg()
253 if (!priv->msg_read) in xlp9xx_i2c_xfer_msg()
269 if (!priv->msg_read) in xlp9xx_i2c_xfer_msg()
276 if (priv->msg_read) { in xlp9xx_i2c_xfer_msg()
290 cmd |= (priv->msg_read ? XLP9XX_I2C_CMD_READ : XLP9XX_I2C_CMD_WRITE); in xlp9xx_i2c_xfer_msg()
Di2c-sirf.c78 int msg_read; /* 1 indicates a read message */ member
108 if (siic->msg_read) { in i2c_sirfsoc_queue_cmd()
168 if (siic->msg_read) in i2c_sirfsoc_irq()
251 siic->msg_read = !!(msgs[i].flags & I2C_M_RD); in i2c_sirfsoc_xfer()
Di2c-tegra.c183 int msg_read; member
518 if (i2c_dev->msg_read && (status & I2C_INT_RX_FIFO_DATA_REQ)) { in tegra_i2c_isr()
525 if (!i2c_dev->msg_read && (status & I2C_INT_TX_FIFO_DATA_REQ)) { in tegra_i2c_isr()
569 i2c_dev->msg_read = (msg->flags & I2C_M_RD); in tegra_i2c_xfer_msg()
/drivers/media/tuners/
Dtda8290.c672 struct i2c_msg msg_read[] = { in tda8290_probe() local
678 if (i2c_transfer(i2c_props->adap, msg_read, 2) != 2) { in tda8290_probe()
699 struct i2c_msg msg_read[] = { in tda8295_probe() local
705 if (i2c_transfer(i2c_props->adap, msg_read, 2) != 2) { in tda8295_probe()
/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1056 struct i2c_msg msg_read = { .addr = client->addr, .flags = I2C_M_RD }; in read_eeprom() local
1066 msg_read.len = (len_todo > 64) ? 64 : len_todo; in read_eeprom()
1067 msg_read.buf = eedata_cur; in read_eeprom()
1069 ret = i2c_transfer(client->adapter, &msg_read, 1); in read_eeprom()
1074 eedata_cur += msg_read.len; in read_eeprom()
1075 len_todo -= msg_read.len; in read_eeprom()