Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-designware-master.c335 buf_len == 1 && !(flags & I2C_M_RECV_LEN)) in i2c_dw_xfer_msg()
370 if (flags & I2C_M_RECV_LEN) { in i2c_dw_xfer_msg()
408 msgs[dev->msg_read_idx].flags &= ~I2C_M_RECV_LEN; in i2c_dw_recv_len()
448 if (flags & I2C_M_RECV_LEN) { in i2c_dw_read()
H A Di2c-tegra-bpmp.c78 if (flags & I2C_M_RECV_LEN) { in tegra_bpmp_xlate_flags()
80 flags &= ~I2C_M_RECV_LEN; in tegra_bpmp_xlate_flags()
H A Di2c-cadence.c574 if (id->p_msg->flags & I2C_M_RECV_LEN) in cdns_i2c_mrecv()
611 ((id->p_msg->flags & I2C_M_RECV_LEN) != I2C_M_RECV_LEN) && in cdns_i2c_mrecv()
761 if (msg->flags & I2C_M_RECV_LEN) in cdns_i2c_process_msg()
H A 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()
H A Di2c-xlp9xx.c194 * We expect at least 2 interrupts for I2C_M_RECV_LEN in xlp9xx_i2c_drain_rx_fifo()
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()
H A 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()
H A Di2c-aspeed.c380 if (msg->len == 1 && !(msg->flags & I2C_M_RECV_LEN)) in aspeed_i2c_do_start()
551 if (msg->flags & I2C_M_RECV_LEN) { in aspeed_i2c_master_irq()
559 msg->flags &= ~I2C_M_RECV_LEN; in aspeed_i2c_master_irq()
H A Di2c-at91-master.c293 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()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Di2c.h42 * I2C slave address. For read transactions where I2C_M_RECV_LEN
78 #define I2C_M_RECV_LEN 0x0400 /* length will be first received byte */ macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Di2c.h34 * %I2C_M_RECV_LEN: message length will be first received byte
46 * slave address. For read transactions where %I2C_M_RECV_LEN is set, the
79 #define I2C_M_RECV_LEN 0x0400 /* use only if I2C_FUNC_SMBUS_READ_BLOCK_DATA */ macro
106 #define I2C_FUNC_SMBUS_READ_BLOCK_DATA 0x01000000 /* required for I2C_M_RECV_LEN */
132 /* if I2C_M_RECV_LEN is also supported */
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Di2c.h28 #define I2C_M_RECV_LEN 0x0400 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Di2c.h28 #define I2C_M_RECV_LEN 0x0400 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Di2c.h18 #define I2C_M_RECV_LEN 0x0400 macro
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-designware-master.c492 buf_len == 1 && !(flags & I2C_M_RECV_LEN)) in i2c_dw_xfer_msg()
527 if (flags & I2C_M_RECV_LEN) { in i2c_dw_xfer_msg()
565 msgs[dev->msg_read_idx].flags &= ~I2C_M_RECV_LEN; in i2c_dw_recv_len()
607 if (flags & I2C_M_RECV_LEN) { in i2c_dw_read()
H A Di2c-mlxcpld.c21 #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()
H A 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()
H A Di2c-xlp9xx.c194 * We expect at least 2 interrupts for I2C_M_RECV_LEN in xlp9xx_i2c_drain_rx_fifo()
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()
H A Di2c-aspeed.c385 if (msg->len == 1 && !(msg->flags & I2C_M_RECV_LEN)) in aspeed_i2c_do_start()
556 if (msg->flags & I2C_M_RECV_LEN) { in aspeed_i2c_master_irq()
564 msg->flags &= ~I2C_M_RECV_LEN; in aspeed_i2c_master_irq()
H A Di2c-at91-master.c291 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()
H A Di2c-xiic.c493 * Clear the I2C_M_RECV_LEN flag to avoid setting in xiic_smbus_block_read_setup()
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()
950 if (!(i2c->rx_msg->flags & I2C_M_RECV_LEN)) { in xiic_start_recv()
1136 smbus_blk_read = (i2c->tx_msg[count].flags & I2C_M_RECV_LEN); in xiic_start_xfer()
/kernel/linux/linux-5.10/drivers/w1/slaves/
H A 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()
/kernel/linux/linux-6.6/drivers/w1/slaves/
H A 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()
/kernel/linux/linux-5.10/drivers/media/pci/pt3/
H A Dpt3_i2c.c203 if (msgs[i].flags & I2C_M_RECV_LEN) { in pt3_i2c_master_xfer()
205 "(%s) I2C_M_RECV_LEN not supported.\n", in pt3_i2c_master_xfer()
/kernel/linux/linux-6.6/drivers/media/pci/pt3/
H A Dpt3_i2c.c203 if (msgs[i].flags & I2C_M_RECV_LEN) { in pt3_i2c_master_xfer()
205 "(%s) I2C_M_RECV_LEN not supported.\n", in pt3_i2c_master_xfer()
/kernel/linux/linux-5.10/drivers/i2c/
H A Di2c-core-smbus.c213 * mechanism (I2C_M_RECV_LEN) which may not be implemented.
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()

Completed in 21 milliseconds

123