diff options
Diffstat (limited to 'drivers/dma/ioat/dma_v2.h')
-rw-r--r-- | drivers/dma/ioat/dma_v2.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/dma/ioat/dma_v2.h b/drivers/dma/ioat/dma_v2.h index ed4bb82a283d..bde57ddf555d 100644 --- a/drivers/dma/ioat/dma_v2.h +++ b/drivers/dma/ioat/dma_v2.h | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | 28 | ||
29 | extern int ioat_pending_level; | 29 | extern int ioat_pending_level; |
30 | extern int ioat_ring_alloc_order; | ||
30 | 31 | ||
31 | /* | 32 | /* |
32 | * workaround for IOAT ver.3.0 null descriptor issue | 33 | * workaround for IOAT ver.3.0 null descriptor issue |
@@ -167,4 +168,16 @@ int __devinit ioat2_dma_probe(struct ioatdma_device *dev, int dca); | |||
167 | int __devinit ioat3_dma_probe(struct ioatdma_device *dev, int dca); | 168 | int __devinit ioat3_dma_probe(struct ioatdma_device *dev, int dca); |
168 | struct dca_provider * __devinit ioat2_dca_init(struct pci_dev *pdev, void __iomem *iobase); | 169 | struct dca_provider * __devinit ioat2_dca_init(struct pci_dev *pdev, void __iomem *iobase); |
169 | struct dca_provider * __devinit ioat3_dca_init(struct pci_dev *pdev, void __iomem *iobase); | 170 | struct dca_provider * __devinit ioat3_dca_init(struct pci_dev *pdev, void __iomem *iobase); |
171 | int ioat2_alloc_and_lock(u16 *idx, struct ioat2_dma_chan *ioat, int num_descs); | ||
172 | int ioat2_enumerate_channels(struct ioatdma_device *device); | ||
173 | struct dma_async_tx_descriptor * | ||
174 | ioat2_dma_prep_memcpy_lock(struct dma_chan *c, dma_addr_t dma_dest, | ||
175 | dma_addr_t dma_src, size_t len, unsigned long flags); | ||
176 | void ioat2_issue_pending(struct dma_chan *chan); | ||
177 | int ioat2_alloc_chan_resources(struct dma_chan *c); | ||
178 | void ioat2_free_chan_resources(struct dma_chan *c); | ||
179 | enum dma_status ioat2_is_complete(struct dma_chan *c, dma_cookie_t cookie, | ||
180 | dma_cookie_t *done, dma_cookie_t *used); | ||
181 | void __ioat2_restart_chan(struct ioat2_dma_chan *ioat); | ||
182 | bool reshape_ring(struct ioat2_dma_chan *ioat, int order); | ||
170 | #endif /* IOATDMA_V2_H */ | 183 | #endif /* IOATDMA_V2_H */ |