Searched refs:I2C_M_RECV_LEN (Results 1 – 16 of 16) sorted by relevance
80 #define I2C_M_RECV_LEN 0x0400 /* use only if I2C_FUNC_SMBUS_READ_BLOCK_DATA */ macro
430 buf_len == 1 && !(flags & I2C_M_RECV_LEN)) in i2c_dw_xfer_msg()465 if (flags & I2C_M_RECV_LEN) { in i2c_dw_xfer_msg()504 msgs[dev->msg_read_idx].flags &= ~I2C_M_RECV_LEN; in i2c_dw_recv_len()546 if (flags & I2C_M_RECV_LEN) { in i2c_dw_read()
292 if (unlikely(dev->msg->flags & I2C_M_RECV_LEN)) { in at91_twi_read_next_byte()295 dev->msg->flags &= ~I2C_M_RECV_LEN; in at91_twi_read_next_byte()558 !(dev->msg->flags & I2C_M_RECV_LEN)) in at91_do_twi_transfer()
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()
392 if (msg->len == 1 && !(msg->flags & I2C_M_RECV_LEN)) in aspeed_i2c_do_start()557 if (msg->flags & I2C_M_RECV_LEN) { in aspeed_i2c_master_irq()565 msg->flags &= ~I2C_M_RECV_LEN; in aspeed_i2c_master_irq()
1015 if ((i2c_imx->msg->len - 1) || (i2c_imx->msg->flags & I2C_M_RECV_LEN)) in i2c_imx_isr_read()1437 int block_data = msgs->flags & I2C_M_RECV_LEN; in i2c_imx_atomic_read()1527 int block_data = msgs->flags & I2C_M_RECV_LEN; in i2c_imx_read()1641 int block_data = msgs->flags & I2C_M_RECV_LEN; in i2c_imx_xfer_common()
511 if (msg->flags & I2C_M_RECV_LEN) in mpc_i2c_do_action()530 if (msg->len == 1 && !(msg->flags & I2C_M_RECV_LEN)) in mpc_i2c_do_action()
777 (msgs[1].flags & I2C_M_RECV_LEN) == 0 && in octeon_i2c_xfer()813 &pmsg->len, pmsg->flags & I2C_M_RECV_LEN); in octeon_i2c_xfer()
570 lpi2c_imx->block_data = msgs->flags & I2C_M_RECV_LEN; in lpi2c_imx_read_init()669 if (msg->flags & I2C_M_RECV_LEN) in is_use_dma()
260 return (msg->flags & I2C_M_RECV_LEN) != 0; in i2c_m_recv_len()
1013 if (msgs[i].flags & I2C_M_RECV_LEN) in pci1xxxx_i2c_xfer()
606 bool recv_len_init = priv->pos == 0 && msg->flags & I2C_M_RECV_LEN; in rcar_i2c_irq_recv()
203 if (msgs[i].flags & I2C_M_RECV_LEN) { in pt3_i2c_master_xfer()
399 msg[1].flags |= I2C_M_RECV_LEN; in i2c_smbus_xfer_emulated()430 msg[1].flags |= I2C_M_RECV_LEN; in i2c_smbus_xfer_emulated()
285 if (msgs[i].flags & I2C_M_RECV_LEN) { in i2cdev_ioctl_rdwr()
142 support the I2C_M_RECV_LEN flag of an i2c_msg. This is a good testcase for it.