Searched refs:I2C_M_DMA_SAFE (Results 1 – 11 of 11) sorted by relevance
24 For clients, if you use a DMA safe buffer in i2c_msg, set the I2C_M_DMA_SAFE28 using an unsafe DMA buffer. To improve this situation, using I2C_M_DMA_SAFE in37 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
78 #define I2C_M_DMA_SAFE 0x0200 /* use only in kernel space */ macro
312 msg->flags |= I2C_M_DMA_SAFE; in i2c_smbus_try_get_dmabuf()514 if (msg[0].flags & I2C_M_DMA_SAFE) in i2c_smbus_xfer_emulated()516 if (msg[1].flags & I2C_M_DMA_SAFE) in i2c_smbus_xfer_emulated()
262 msgs[i].flags |= I2C_M_DMA_SAFE; in i2cdev_ioctl_rdwr()
2492 if (msg->flags & I2C_M_DMA_SAFE) in i2c_get_dma_safe_msg_buf()
89 .flags = I2C_M_DMA_SAFE, in adm1266_pmbus_block_xfer()95 .flags = I2C_M_RD | I2C_M_DMA_SAFE, in adm1266_pmbus_block_xfer()
96 I2C_M_RD | I2C_M_DMA_SAFE); in i2c_master_recv_dmasafe()126 I2C_M_DMA_SAFE); in i2c_master_send_dmasafe()
76 .flags = I2C_M_RD | I2C_M_DMA_SAFE, in st1232_ts_read_data()
183 msgs[n].flags = (client->flags & I2C_M_TEN) | I2C_M_DMA_SAFE; in i2c_hid_xfer()192 I2C_M_RD | I2C_M_DMA_SAFE; in i2c_hid_xfer()
1135 int use_dma = i2c_imx->dma && msgs->flags & I2C_M_DMA_SAFE && in i2c_imx_read()1303 msgs[i].flags & I2C_M_DMA_SAFE) in i2c_imx_xfer_common()
424 !(msg->flags & I2C_M_DMA_SAFE) || (read && priv->flags & ID_P_NO_RXDMA)) in rcar_i2c_dma()