Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/include/uapi/linux/
Di2c.h78 #define I2C_M_DMA_SAFE 0x0200 /* use only in kernel space */ macro
/linux-6.1.9/drivers/i2c/
Di2c-core-smbus.c312 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()
Di2c-dev.c262 msgs[i].flags |= I2C_M_DMA_SAFE; in i2cdev_ioctl_rdwr()
Di2c-core-base.c2492 if (msg->flags & I2C_M_DMA_SAFE) in i2c_get_dma_safe_msg_buf()
/linux-6.1.9/drivers/hwmon/pmbus/
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()
/linux-6.1.9/include/linux/
Di2c.h96 I2C_M_RD | I2C_M_DMA_SAFE); in i2c_master_recv_dmasafe()
126 I2C_M_DMA_SAFE); in i2c_master_send_dmasafe()
/linux-6.1.9/drivers/input/touchscreen/
Dst1232.c76 .flags = I2C_M_RD | I2C_M_DMA_SAFE, in st1232_ts_read_data()
/linux-6.1.9/drivers/hid/i2c-hid/
Di2c-hid-core.c183 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()
/linux-6.1.9/drivers/i2c/busses/
Di2c-imx.c1135 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()
Di2c-rcar.c424 !(msg->flags & I2C_M_DMA_SAFE) || (read && priv->flags & ID_P_NO_RXDMA)) in rcar_i2c_dma()