Lines Matching defs:chan_dev
78 struct dma_chan_dev *chan_dev;
80 chan_dev = container_of(dev, typeof(*chan_dev), device);
81 return chan_dev->chan;
150 struct dma_chan_dev *chan_dev;
152 chan_dev = container_of(dev, typeof(*chan_dev), device);
153 if (atomic_dec_and_test(chan_dev->idr_ref)) {
155 idr_remove(&dma_idr, chan_dev->dev_id);
157 kfree(chan_dev->idr_ref);
159 kfree(chan_dev);