Home
last modified time | relevance | path

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

/Linux-v5.4/Documentation/i2c/
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
/Linux-v5.4/include/uapi/linux/
Di2c.h75 #define I2C_M_DMA_SAFE 0x0200 /* the buffer of this message is DMA safe */ macro
/Linux-v5.4/drivers/i2c/
Di2c-core-smbus.c303 msg->flags |= I2C_M_DMA_SAFE; in i2c_smbus_try_get_dmabuf()
504 if (msg[0].flags & I2C_M_DMA_SAFE) in i2c_smbus_xfer_emulated()
506 if (msg[1].flags & I2C_M_DMA_SAFE) in i2c_smbus_xfer_emulated()
Di2c-dev.c260 msgs[i].flags |= I2C_M_DMA_SAFE; in i2cdev_ioctl_rdwr()
Di2c-core-base.c2366 if (msg->flags & I2C_M_DMA_SAFE) in i2c_get_dma_safe_msg_buf()
/Linux-v5.4/include/linux/
Di2c.h83 I2C_M_RD | I2C_M_DMA_SAFE); in i2c_master_recv_dmasafe()
113 I2C_M_DMA_SAFE); in i2c_master_send_dmasafe()
/Linux-v5.4/drivers/i2c/busses/
Di2c-rcar.c418 !(msg->flags & I2C_M_DMA_SAFE) || (read && priv->flags & ID_P_NO_RXDMA)) in rcar_i2c_dma()