Home
last modified time | relevance | path

Searched refs:chan_dev (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-stm32.c105 struct device *chan_dev; in stm32_i2c_prep_dma_xfer() local
119 chan_dev = dma->chan_using->device->dev; in stm32_i2c_prep_dma_xfer()
121 dma->dma_buf = dma_map_single(chan_dev, buf, dma->dma_len, in stm32_i2c_prep_dma_xfer()
123 if (dma_mapping_error(chan_dev, dma->dma_buf)) { in stm32_i2c_prep_dma_xfer()
153 dma_unmap_single(chan_dev, dma->dma_buf, dma->dma_len, in stm32_i2c_prep_dma_xfer()
Di2c-imx.c362 struct device *chan_dev = dma->chan_using->device->dev; in i2c_imx_dma_xfer() local
364 dma->dma_buf = dma_map_single(chan_dev, msgs->buf, in i2c_imx_dma_xfer()
366 if (dma_mapping_error(chan_dev, dma->dma_buf)) { in i2c_imx_dma_xfer()
393 dma_unmap_single(chan_dev, dma->dma_buf, in i2c_imx_dma_xfer()
/kernel/linux/linux-5.10/drivers/dma/
Ddmaengine.c156 struct dma_chan_dev *chan_dev; in dev_to_dma_chan() local
158 chan_dev = container_of(dev, typeof(*chan_dev), device); in dev_to_dma_chan()
159 return chan_dev->chan; in dev_to_dma_chan()
234 struct dma_chan_dev *chan_dev; in chan_dev_release() local
236 chan_dev = container_of(dev, typeof(*chan_dev), device); in chan_dev_release()
237 kfree(chan_dev); in chan_dev_release()