rapidio: add new RapidIO DMA interface routines
[linux-2.6-block.git] / include / linux / rio_drv.h
index 5059994fe2970edf8942e537fd3fe81144c2ccb3..9fc2f213e74fa61d32b3840b5fb202f93f8f525a 100644 (file)
@@ -384,11 +384,16 @@ void rio_dev_put(struct rio_dev *);
 
 #ifdef CONFIG_RAPIDIO_DMA_ENGINE
 extern struct dma_chan *rio_request_dma(struct rio_dev *rdev);
+extern struct dma_chan *rio_request_mport_dma(struct rio_mport *mport);
 extern void rio_release_dma(struct dma_chan *dchan);
 extern struct dma_async_tx_descriptor *rio_dma_prep_slave_sg(
                struct rio_dev *rdev, struct dma_chan *dchan,
                struct rio_dma_data *data,
                enum dma_transfer_direction direction, unsigned long flags);
+extern struct dma_async_tx_descriptor *rio_dma_prep_xfer(
+               struct dma_chan *dchan, u16 destid,
+               struct rio_dma_data *data,
+               enum dma_transfer_direction direction, unsigned long flags);
 #endif
 
 /**