Searched refs:chan_dev (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/dma/ |
H A D | dmaengine.c | 81 struct dma_chan_dev *chan_dev; dev_to_dma_chan() local 83 chan_dev = container_of(dev, typeof(*chan_dev), device); dev_to_dma_chan() 84 return chan_dev->chan; dev_to_dma_chan() 159 struct dma_chan_dev *chan_dev; chan_dev_release() local 161 chan_dev = container_of(dev, typeof(*chan_dev), device); chan_dev_release() 162 if (atomic_dec_and_test(chan_dev->idr_ref)) { chan_dev_release() 164 idr_remove(&dma_idr, chan_dev->dev_id); chan_dev_release() 166 kfree(chan_dev->idr_ref); chan_dev_release() 168 kfree(chan_dev); chan_dev_release()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-imx.c | 361 struct device *chan_dev = dma->chan_using->device->dev; i2c_imx_dma_xfer() local 363 dma->dma_buf = dma_map_single(chan_dev, msgs->buf, i2c_imx_dma_xfer() 365 if (dma_mapping_error(chan_dev, dma->dma_buf)) { i2c_imx_dma_xfer() 390 dma_unmap_single(chan_dev, dma->dma_buf, i2c_imx_dma_xfer()
|
Completed in 149 milliseconds