Searched refs:I2C_M_RECV_LEN (Results 1 – 22 of 22) sorted by relevance
78 #define I2C_M_RECV_LEN 0x0400 /* length will be first received byte */ macro
334 buf_len == 1 && !(flags & I2C_M_RECV_LEN)) in i2c_dw_xfer_msg()367 if (buf_len > 0 || flags & I2C_M_RECV_LEN) { in i2c_dw_xfer_msg()401 msgs[dev->msg_read_idx].flags &= ~I2C_M_RECV_LEN; in i2c_dw_recv_len()434 if (flags & I2C_M_RECV_LEN && in i2c_dw_read()
78 if (flags & I2C_M_RECV_LEN) { in tegra_bpmp_xlate_flags()80 flags &= ~I2C_M_RECV_LEN; in tegra_bpmp_xlate_flags()
293 if (unlikely(dev->msg->flags & I2C_M_RECV_LEN)) { in at91_twi_read_next_byte()296 dev->msg->flags &= ~I2C_M_RECV_LEN; in at91_twi_read_next_byte()559 !(dev->msg->flags & I2C_M_RECV_LEN)) in at91_do_twi_transfer()
371 if (j == 0 && (pmsg->flags & I2C_M_RECV_LEN)) in diolan_usb_xfer()380 if (j == 0 && (pmsg->flags & I2C_M_RECV_LEN)) { in diolan_usb_xfer()
45 #define MLXCPLD_I2C_VALID_FLAG (I2C_M_RECV_LEN | I2C_M_RD)373 (priv->xfer.msg[1].flags & I2C_M_RECV_LEN) && in mlxcpld_i2c_xfer_msg()
356 priv->len_recv = msg->flags & I2C_M_RECV_LEN; in xlp9xx_i2c_xfer_msg()417 if (msg->flags & I2C_M_RECV_LEN) { in xlp9xx_i2c_xfer_msg()
589 if (id->p_msg->flags & I2C_M_RECV_LEN) in cdns_i2c_mrecv()626 ((id->p_msg->flags & I2C_M_RECV_LEN) != I2C_M_RECV_LEN) && in cdns_i2c_mrecv()
364 if (msg->len == 1 && !(msg->flags & I2C_M_RECV_LEN)) in aspeed_i2c_do_start()535 if (msg->flags & I2C_M_RECV_LEN) { in aspeed_i2c_master_irq()543 msg->flags &= ~I2C_M_RECV_LEN; in aspeed_i2c_master_irq()
620 (msgs[1].flags & I2C_M_RECV_LEN) == 0 && in octeon_i2c_xfer()647 &pmsg->len, pmsg->flags & I2C_M_RECV_LEN); in octeon_i2c_xfer()
370 if (i2c->msg->flags & I2C_M_RECV_LEN && i2c->msg->len == 1) in is_msglast()512 if (i2c->msg->flags & I2C_M_RECV_LEN && i2c->msg->len == 1) in i2c_s3c_irq_nextbyte()
435 lpi2c_imx->block_data = msgs->flags & I2C_M_RECV_LEN; in lpi2c_imx_read()
603 bool recv_len = pmsg->flags & I2C_M_RECV_LEN; in mpc_xfer()
263 return (msg->flags & I2C_M_RECV_LEN) != 0; in i2c_m_recv_len()
2068 if (msg0->flags & I2C_M_RECV_LEN) { in npcm_i2c_master_xfer()2084 if (msg1->flags & I2C_M_RECV_LEN) { in npcm_i2c_master_xfer()
845 int block_data = msgs->flags & I2C_M_RECV_LEN; in i2c_imx_read()
517 return ((msg->flags & I2C_M_RD) && (msg->flags & I2C_M_RECV_LEN)); in qup_i2c_check_msg_len()
391 if (msgs[i+1].flags & I2C_M_RECV_LEN) { in w1_f19_i2c_master_transfer()417 if (msgs[i].flags & I2C_M_RECV_LEN) { in w1_f19_i2c_master_transfer()
203 if (msgs[i].flags & I2C_M_RECV_LEN) { in pt3_i2c_master_xfer()
387 msg[1].flags |= I2C_M_RECV_LEN; in i2c_smbus_xfer_emulated()420 msg[1].flags |= I2C_M_RECV_LEN; in i2c_smbus_xfer_emulated()
275 if (msgs[i].flags & I2C_M_RECV_LEN) { in i2cdev_ioctl_rdwr()
438 if (rdcount == 1 && (flags & I2C_M_RECV_LEN)) { in readbytes()