Home
last modified time | relevance | path

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

/linux-5.19.10/include/uapi/linux/
Di2c.h79 #define I2C_M_RECV_LEN 0x0400 /* use only if I2C_FUNC_SMBUS_READ_BLOCK_DATA */ macro
/linux-5.19.10/drivers/i2c/busses/
Di2c-designware-master.c429 buf_len == 1 && !(flags & I2C_M_RECV_LEN)) in i2c_dw_xfer_msg()
462 if (buf_len > 0 || flags & I2C_M_RECV_LEN) { in i2c_dw_xfer_msg()
496 msgs[dev->msg_read_idx].flags &= ~I2C_M_RECV_LEN; in i2c_dw_recv_len()
529 if (flags & I2C_M_RECV_LEN && in i2c_dw_read()
Di2c-cadence.c581 if (id->p_msg->flags & I2C_M_RECV_LEN) in cdns_i2c_mrecv()
615 ((id->p_msg->flags & I2C_M_RECV_LEN) != I2C_M_RECV_LEN) && in cdns_i2c_mrecv()
797 if (msg->flags & I2C_M_RECV_LEN) in cdns_i2c_process_msg()
Di2c-diolan-u2c.c371 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()
Di2c-mlxcpld.c21 #define MLXCPLD_I2C_VALID_FLAG (I2C_M_RECV_LEN | I2C_M_RD)
360 (priv->xfer.msg[1].flags & I2C_M_RECV_LEN) && in mlxcpld_i2c_xfer_msg()
Di2c-at91-master.c292 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()
Di2c-xlp9xx.c356 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()
Di2c-aspeed.c362 if (msg->len == 1 && !(msg->flags & I2C_M_RECV_LEN)) in aspeed_i2c_do_start()
533 if (msg->flags & I2C_M_RECV_LEN) { in aspeed_i2c_master_irq()
541 msg->flags &= ~I2C_M_RECV_LEN; in aspeed_i2c_master_irq()
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-tegra-bpmp.c64 if (flags & I2C_M_RECV_LEN) in tegra_bpmp_xlate_flags()
Di2c-mpc.c515 if (msg->flags & I2C_M_RECV_LEN) in mpc_i2c_do_action()
534 if (msg->len == 1 && !(msg->flags & I2C_M_RECV_LEN)) in mpc_i2c_do_action()
Di2c-s3c2410.c367 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()
Di2c-imx-lpi2c.c435 lpi2c_imx->block_data = msgs->flags & I2C_M_RECV_LEN; in lpi2c_imx_read()
Di2c-tegra.c1238 if (msg->flags & I2C_M_RECV_LEN && end_state != MSG_END_CONTINUE) in tegra_i2c_xfer_msg()
1398 if (msgs[i].flags & I2C_M_RECV_LEN) { in tegra_i2c_xfer()
Di2c-axxia.c263 return (msg->flags & I2C_M_RECV_LEN) != 0; in i2c_m_recv_len()
Di2c-npcm7xx.c2093 if (msg0->flags & I2C_M_RECV_LEN) { in npcm_i2c_master_xfer()
2109 if (msg1->flags & I2C_M_RECV_LEN) { in npcm_i2c_master_xfer()
Di2c-rcar.c534 bool recv_len_init = priv->pos == 0 && msg->flags & I2C_M_RECV_LEN; in rcar_i2c_irq_recv()
Di2c-imx.c1134 int block_data = msgs->flags & I2C_M_RECV_LEN; in i2c_imx_read()
Di2c-qup.c517 return ((msg->flags & I2C_M_RD) && (msg->flags & I2C_M_RECV_LEN)); in qup_i2c_check_msg_len()
/linux-5.19.10/drivers/w1/slaves/
Dw1_ds28e17.c391 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()
/linux-5.19.10/drivers/media/pci/pt3/
Dpt3_i2c.c203 if (msgs[i].flags & I2C_M_RECV_LEN) { in pt3_i2c_master_xfer()
/linux-5.19.10/drivers/i2c/
Di2c-core-smbus.c397 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()
Di2c-dev.c275 if (msgs[i].flags & I2C_M_RECV_LEN) { in i2cdev_ioctl_rdwr()
/linux-5.19.10/Documentation/i2c/
Dslave-testunit-backend.rst82 I2C_M_RECV_LEN flag of an i2c_msg. This is a good testcase for it. The returned
/linux-5.19.10/drivers/i2c/algos/
Di2c-algo-bit.c438 if (rdcount == 1 && (flags & I2C_M_RECV_LEN)) { in readbytes()