Home
last modified time | relevance | path

Searched refs:I2C_M_RECV_LEN (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/include/uapi/linux/
Di2c.h78 #define I2C_M_RECV_LEN 0x0400 /* length will be first received byte */ macro
/Linux-v4.19/drivers/i2c/busses/
Di2c-designware-master.c301 buf_len == 1 && !(flags & I2C_M_RECV_LEN)) in i2c_dw_xfer_msg()
331 if (buf_len > 0 || flags & I2C_M_RECV_LEN) { in i2c_dw_xfer_msg()
365 msgs[dev->msg_read_idx].flags &= ~I2C_M_RECV_LEN; in i2c_dw_recv_len()
398 if (flags & I2C_M_RECV_LEN && in i2c_dw_read()
Di2c-tegra-bpmp.c89 if (flags & I2C_M_RECV_LEN) { in tegra_bpmp_xlate_flags()
91 flags &= ~I2C_M_RECV_LEN; in tegra_bpmp_xlate_flags()
Di2c-cadence.c376 if (id->p_msg->flags & I2C_M_RECV_LEN) in cdns_i2c_mrecv()
413 ((id->p_msg->flags & I2C_M_RECV_LEN) != I2C_M_RECV_LEN) && in cdns_i2c_mrecv()
Di2c-diolan-u2c.c376 if (j == 0 && (pmsg->flags & I2C_M_RECV_LEN)) in diolan_usb_xfer()
385 if (j == 0 && (pmsg->flags & I2C_M_RECV_LEN)) { in diolan_usb_xfer()
Di2c-mlxcpld.c45 #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()
Di2c-aspeed.c344 if (msg->len == 1 && !(msg->flags & I2C_M_RECV_LEN)) in aspeed_i2c_do_start()
486 if (msg->flags & I2C_M_RECV_LEN) { in aspeed_i2c_master_irq()
494 msg->flags &= ~I2C_M_RECV_LEN; in aspeed_i2c_master_irq()
Di2c-xlp9xx.c358 priv->len_recv = msg->flags & I2C_M_RECV_LEN; in xlp9xx_i2c_xfer_msg()
419 if (msg->flags & I2C_M_RECV_LEN) { in xlp9xx_i2c_xfer_msg()
Di2c-octeon-core.c620 (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()
Di2c-at91.c399 if (unlikely(dev->msg->flags & I2C_M_RECV_LEN)) { in at91_twi_read_next_byte()
402 dev->msg->flags &= ~I2C_M_RECV_LEN; in at91_twi_read_next_byte()
665 !(dev->msg->flags & I2C_M_RECV_LEN)) in at91_do_twi_transfer()
Di2c-s3c2410.c380 if (i2c->msg->flags & I2C_M_RECV_LEN && i2c->msg->len == 1) in is_msglast()
522 if (i2c->msg->flags & I2C_M_RECV_LEN && i2c->msg->len == 1) in i2c_s3c_irq_nextbyte()
Di2c-axxia.c222 return (msg->flags & I2C_M_RECV_LEN) != 0; in i2c_m_recv_len()
Di2c-imx-lpi2c.c441 lpi2c_imx->block_data = msgs->flags & I2C_M_RECV_LEN; in lpi2c_imx_read()
Di2c-mpc.c603 bool recv_len = pmsg->flags & I2C_M_RECV_LEN; in mpc_xfer()
Di2c-imx.c782 int block_data = msgs->flags & I2C_M_RECV_LEN; in i2c_imx_read()
Di2c-qup.c522 return ((msg->flags & I2C_M_RD) && (msg->flags & I2C_M_RECV_LEN)); in qup_i2c_check_msg_len()
/Linux-v4.19/drivers/w1/slaves/
Dw1_ds28e17.c393 if (msgs[i+1].flags & I2C_M_RECV_LEN) { in w1_f19_i2c_master_transfer()
419 if (msgs[i].flags & I2C_M_RECV_LEN) { in w1_f19_i2c_master_transfer()
/Linux-v4.19/drivers/media/pci/pt3/
Dpt3_i2c.c203 if (msgs[i].flags & I2C_M_RECV_LEN) { in pt3_i2c_master_xfer()
/Linux-v4.19/drivers/i2c/
Di2c-core-smbus.c389 msg[1].flags |= I2C_M_RECV_LEN; in i2c_smbus_xfer_emulated()
422 msg[1].flags |= I2C_M_RECV_LEN; in i2c_smbus_xfer_emulated()
Di2c-dev.c281 if (msgs[i].flags & I2C_M_RECV_LEN) { in i2cdev_ioctl_rdwr()
Di2c-core-base.c1949 (msgs[ret].flags & I2C_M_RECV_LEN) ? "+" : ""); in i2c_transfer()
/Linux-v4.19/drivers/i2c/algos/
Di2c-algo-bit.c447 if (rdcount == 1 && (flags & I2C_M_RECV_LEN)) { in readbytes()