Searched refs:msg_read (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-xlp9xx.c | 89 bool msg_read; member 254 if (!priv->msg_read) { in xlp9xx_i2c_isr() 332 priv->msg_read = (msg->flags & I2C_M_RD); in xlp9xx_i2c_xfer_msg() 342 (priv->msg_read ? XLP9XX_I2C_SLAVEADDR_RW : 0)); in xlp9xx_i2c_xfer_msg() 346 if (!priv->msg_read) in xlp9xx_i2c_xfer_msg() 361 if (priv->msg_read) in xlp9xx_i2c_xfer_msg() 370 if (!priv->msg_read) in xlp9xx_i2c_xfer_msg() 377 if (priv->msg_read) { in xlp9xx_i2c_xfer_msg() 392 cmd |= (priv->msg_read ? in xlp9xx_i2c_xfer_msg()
|
D | i2c-tegra.c | 293 bool msg_read; member 399 dir = i2c_dev->msg_read ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV; in tegra_i2c_dma_submit() 400 chan = i2c_dev->msg_read ? i2c_dev->rx_dma_chan : i2c_dev->tx_dma_chan; in tegra_i2c_dma_submit() 407 i2c_dev->msg_read ? "RX" : "TX"); in tegra_i2c_dma_submit() 900 if (i2c_dev->msg_read && (status & I2C_INT_RX_FIFO_DATA_REQ)) { in tegra_i2c_isr() 912 if (!i2c_dev->msg_read && (status & I2C_INT_TX_FIFO_DATA_REQ)) { in tegra_i2c_isr() 965 if (i2c_dev->msg_read) in tegra_i2c_isr() 999 if (i2c_dev->msg_read) { in tegra_i2c_config_fifo_trig() 1155 if (i2c_dev->dma_mode && !i2c_dev->msg_read) in tegra_i2c_push_packet_header() 1162 if (i2c_dev->dma_mode && !i2c_dev->msg_read) in tegra_i2c_push_packet_header() [all …]
|
D | i2c-sirf.c | 76 int msg_read; /* 1 indicates a read message */ member 106 if (siic->msg_read) { in i2c_sirfsoc_queue_cmd() 166 if (siic->msg_read) in i2c_sirfsoc_irq() 247 siic->msg_read = !!(msgs[i].flags & I2C_M_RD); in i2c_sirfsoc_xfer()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ntb.h | 330 u32 (*msg_read)(struct ntb_dev *ntb, int *pidx, int midx); member 392 !ops->msg_read == !ops->msg_count && in ntb_dev_ops_is_valid() 1538 if (!ntb->ops->msg_read) in ntb_msg_read() 1541 return ntb->ops->msg_read(ntb, pidx, midx); in ntb_msg_read()
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
D | tda8290.c | 662 struct i2c_msg msg_read[] = { in tda8290_probe() local 668 if (i2c_transfer(i2c_props->adap, msg_read, 2) != 2) { in tda8290_probe() 689 struct i2c_msg msg_read[] = { in tda8295_probe() local 695 if (i2c_transfer(i2c_props->adap, msg_read, 2) != 2) { in tda8295_probe()
|
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
D | cx231xx-cards.c | 1221 struct i2c_msg msg_read = { .addr = client->addr, .flags = I2C_M_RD }; in read_eeprom() local 1231 msg_read.len = (len_todo > 64) ? 64 : len_todo; in read_eeprom() 1232 msg_read.buf = eedata_cur; in read_eeprom() 1234 ret = i2c_transfer(client->adapter, &msg_read, 1); in read_eeprom() 1239 eedata_cur += msg_read.len; in read_eeprom() 1240 len_todo -= msg_read.len; in read_eeprom()
|
/kernel/linux/linux-5.10/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 2269 .msg_read = idt_ntb_msg_read,
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0022_linux_drivers_i2c.patch | 855 + bool msg_read = !!(msg->flags & I2C_M_RD); 874 + if (!msg_read)
|