Home
last modified time | relevance | path

Searched refs:I2C_M_DMA_SAFE (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/i2c/
H A Ddma-considerations.rst24 For clients, if you use a DMA safe buffer in i2c_msg, set the I2C_M_DMA_SAFE
28 using an unsafe DMA buffer. To improve this situation, using I2C_M_DMA_SAFE in
37 I2C_M_DMA_SAFE flag manually.
48 If a buffer is returned, it is either msg->buf for the I2C_M_DMA_SAFE case or a
/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.h75 #define I2C_M_DMA_SAFE 0x0200 /* the buffer of this message is DMA safe */ 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.h75 #define I2C_M_DMA_SAFE 0x0200 /* the buffer of this message is DMA safe */ macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Di2c.h75 #define I2C_M_DMA_SAFE 0x0200 /* the buffer of this message is DMA safe */ macro
/OK3568_Linux_fs/kernel/drivers/i2c/
H A Di2c-core-smbus.c303 msg->flags |= I2C_M_DMA_SAFE; in i2c_smbus_try_get_dmabuf()
511 if (msg[0].flags & I2C_M_DMA_SAFE) in i2c_smbus_xfer_emulated()
513 if (msg[1].flags & I2C_M_DMA_SAFE) in i2c_smbus_xfer_emulated()
H A Di2c-dev.c263 msgs[i].flags |= I2C_M_DMA_SAFE; in i2cdev_ioctl_rdwr()
H A Di2c-core-base.c2466 if (msg->flags & I2C_M_DMA_SAFE) in i2c_get_dma_safe_msg_buf()
/OK3568_Linux_fs/kernel/drivers/hwmon/pmbus/
H A Dadm1266.c89 .flags = I2C_M_DMA_SAFE, in adm1266_pmbus_block_xfer()
95 .flags = I2C_M_RD | I2C_M_DMA_SAFE, in adm1266_pmbus_block_xfer()
/OK3568_Linux_fs/kernel/include/linux/
H A Di2c.h91 I2C_M_RD | I2C_M_DMA_SAFE); in i2c_master_recv_dmasafe()
121 I2C_M_DMA_SAFE); in i2c_master_send_dmasafe()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dst1232.c63 .flags = I2C_M_RD | I2C_M_DMA_SAFE, in st1232_ts_read_data()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-imx.c846 int use_dma = i2c_imx->dma && msgs->flags & I2C_M_DMA_SAFE && in i2c_imx_read()
1016 msgs[i].flags & I2C_M_DMA_SAFE) in i2c_imx_xfer_common()
H A Di2c-rcar.c422 !(msg->flags & I2C_M_DMA_SAFE) || (read && priv->flags & ID_P_NO_RXDMA)) in rcar_i2c_dma()