Searched refs:I2C_M_RECV_LEN (Results 1 – 25 of 27) sorted by relevance
12
79 #define I2C_M_RECV_LEN 0x0400 /* use only if I2C_FUNC_SMBUS_READ_BLOCK_DATA */ macro
475 buf_len == 1 && !(flags & I2C_M_RECV_LEN)) in i2c_dw_xfer_msg()510 if (flags & I2C_M_RECV_LEN) { in i2c_dw_xfer_msg()549 msgs[dev->msg_read_idx].flags &= ~I2C_M_RECV_LEN; in i2c_dw_recv_len()592 if (flags & I2C_M_RECV_LEN) { in i2c_dw_read()
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()
496 i2c->rx_msg->flags &= ~I2C_M_RECV_LEN; in xiic_smbus_block_read_setup()567 if (i2c->rx_msg->flags & I2C_M_RECV_LEN) { in xiic_read_rx()937 if (!(i2c->rx_msg->flags & I2C_M_RECV_LEN)) { in xiic_start_recv()1149 smbus_blk_read = (i2c->tx_msg[count].flags & I2C_M_RECV_LEN); in xiic_start_xfer()
291 if (unlikely(dev->msg->flags & I2C_M_RECV_LEN)) { in at91_twi_read_next_byte()294 dev->msg->flags &= ~I2C_M_RECV_LEN; in at91_twi_read_next_byte()557 !(dev->msg->flags & I2C_M_RECV_LEN)) in at91_do_twi_transfer()
21 #define MLXCPLD_I2C_VALID_FLAG (I2C_M_RECV_LEN | I2C_M_RD)361 (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()
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()
634 (msgs[1].flags & I2C_M_RECV_LEN) == 0 && in octeon_i2c_xfer()662 &pmsg->len, pmsg->flags & I2C_M_RECV_LEN); in octeon_i2c_xfer()
64 if (flags & I2C_M_RECV_LEN) in tegra_bpmp_xlate_flags()
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()
363 if (i2c->msg->flags & I2C_M_RECV_LEN && i2c->msg->len == 1) in is_msglast()507 if (i2c->msg->flags & I2C_M_RECV_LEN && i2c->msg->len == 1) in i2c_s3c_irq_nextbyte()
590 if (id->p_msg->flags & I2C_M_RECV_LEN) in cdns_i2c_mrecv()803 if (msg->flags & I2C_M_RECV_LEN) in cdns_i2c_process_msg()
444 lpi2c_imx->block_data = msgs->flags & I2C_M_RECV_LEN; in lpi2c_imx_read()
1238 if (msg->flags & I2C_M_RECV_LEN) { in tegra_i2c_xfer_msg()1394 if (msgs[i].flags & I2C_M_RECV_LEN) { in tegra_i2c_xfer()
265 return (msg->flags & I2C_M_RECV_LEN) != 0; in i2c_m_recv_len()
2106 if (msg0->flags & I2C_M_RECV_LEN) { in npcm_i2c_master_xfer()2122 if (msg1->flags & I2C_M_RECV_LEN) { in npcm_i2c_master_xfer()
1013 if (msgs[i].flags & I2C_M_RECV_LEN) in pci1xxxx_i2c_xfer()
601 bool recv_len_init = priv->pos == 0 && msg->flags & I2C_M_RECV_LEN; in rcar_i2c_irq_recv()
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()
397 msg[1].flags |= I2C_M_RECV_LEN; in i2c_smbus_xfer_emulated()428 msg[1].flags |= I2C_M_RECV_LEN; in i2c_smbus_xfer_emulated()
287 if (msgs[i].flags & I2C_M_RECV_LEN) { in i2cdev_ioctl_rdwr()
427 if (rdcount == 1 && (flags & I2C_M_RECV_LEN)) { in readbytes()
142 support the I2C_M_RECV_LEN flag of an i2c_msg. This is a good testcase for it.