Home
last modified time | relevance | path

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

/Linux-v4.19/Documentation/i2c/
DDMA-considerations24 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-v4.19/include/uapi/linux/
Di2c.h75 #define I2C_M_DMA_SAFE 0x0200 /* the buffer of this message is DMA safe */ macro
/Linux-v4.19/drivers/i2c/
Di2c-core-smbus.c305 msg->flags |= I2C_M_DMA_SAFE; in i2c_smbus_try_get_dmabuf()
506 if (msg[0].flags & I2C_M_DMA_SAFE) in i2c_smbus_xfer_emulated()
508 if (msg[1].flags & I2C_M_DMA_SAFE) in i2c_smbus_xfer_emulated()
Di2c-dev.c268 msgs[i].flags |= I2C_M_DMA_SAFE; in i2cdev_ioctl_rdwr()
Di2c-core-base.c2282 if (msg->flags & I2C_M_DMA_SAFE) in i2c_get_dma_safe_msg_buf()
/Linux-v4.19/include/linux/
Di2c.h97 I2C_M_RD | I2C_M_DMA_SAFE); in i2c_master_recv_dmasafe()
127 I2C_M_DMA_SAFE); in i2c_master_send_dmasafe()
/Linux-v4.19/drivers/i2c/busses/
Di2c-rcar.c418 if (IS_ERR(chan) || msg->len < 8 || !(msg->flags & I2C_M_DMA_SAFE) || in rcar_i2c_dma()