Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-designware-master.c335 buf_len == 1 && !(flags & I2C_M_RECV_LEN)) in i2c_dw_xfer_msg()
368 if (buf_len > 0 || flags & I2C_M_RECV_LEN) { in i2c_dw_xfer_msg()
402 msgs[dev->msg_read_idx].flags &= ~I2C_M_RECV_LEN; in i2c_dw_recv_len()
435 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-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-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-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()
H A 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()
H A Di2c-aspeed.c364 if (msg->len == 1 && !(msg->flags & I2C_M_RECV_LEN)) in aspeed_i2c_do_start()
535 if (msg->flags & I2C_M_RECV_LEN) { in aspeed_i2c_master_irq()
543 msg->flags &= ~I2C_M_RECV_LEN; in aspeed_i2c_master_irq()
H A 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()
H A Di2c-s3c2410.c370 if (i2c->msg->flags & I2C_M_RECV_LEN && i2c->msg->len == 1) in is_msglast()
515 if (i2c->msg->flags & I2C_M_RECV_LEN && i2c->msg->len == 1) in i2c_s3c_irq_nextbyte()
H A Di2c-imx-lpi2c.c435 lpi2c_imx->block_data = msgs->flags & I2C_M_RECV_LEN; in lpi2c_imx_read()
H A Di2c-mpc.c682 bool recv_len = pmsg->flags & I2C_M_RECV_LEN; in mpc_xfer()
H A Di2c-axxia.c263 return (msg->flags & I2C_M_RECV_LEN) != 0; in i2c_m_recv_len()
H A Di2c-npcm7xx.c2090 if (msg0->flags & I2C_M_RECV_LEN) { in npcm_i2c_master_xfer()
2106 if (msg1->flags & I2C_M_RECV_LEN) { in npcm_i2c_master_xfer()
H A Di2c-imx.c845 int block_data = msgs->flags & I2C_M_RECV_LEN; in i2c_imx_read()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Di2c.h78 #define I2C_M_RECV_LEN 0x0400 /* length will be first received byte */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Di2c.h78 #define I2C_M_RECV_LEN 0x0400 /* length will be first received byte */ macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Di2c.h78 #define I2C_M_RECV_LEN 0x0400 /* length will be first received byte */ macro
/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dtegra186_bpmp_i2c.c35 I2C_M_RECV_LEN)
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/i2c/
H A Di2c-core-smbus.c387 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()
H A Di2c-dev.c276 if (msgs[i].flags & I2C_M_RECV_LEN) { in i2cdev_ioctl_rdwr()
/OK3568_Linux_fs/kernel/drivers/media/pci/pt3/
H A Dpt3_i2c.c203 if (msgs[i].flags & I2C_M_RECV_LEN) { in pt3_i2c_master_xfer()
/OK3568_Linux_fs/u-boot/include/
H A Di2c.h88 I2C_M_RECV_LEN = 0x0400, /* length is first received byte */ enumerator
/OK3568_Linux_fs/kernel/drivers/i2c/algos/
H A Di2c-algo-bit.c438 if (rdcount == 1 && (flags & I2C_M_RECV_LEN)) { in readbytes()

12