ocfs2: Add ioctl for reflink.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / sparc / kernel / dma.h
blobf8d8951adb53f7ec569a2ba0087f86d1f5a22cb9
1 void *sbus_alloc_consistent(struct device *dev, long len, u32 *dma_addrp);
2 void sbus_free_consistent(struct device *dev, long n, void *p, u32 ba);
3 dma_addr_t sbus_map_single(struct device *dev, void *va,
4 size_t len, int direction);
5 void sbus_unmap_single(struct device *dev, dma_addr_t ba,
6 size_t n, int direction);
7 int sbus_map_sg(struct device *dev, struct scatterlist *sg,
8 int n, int direction);
9 void sbus_unmap_sg(struct device *dev, struct scatterlist *sg,
10 int n, int direction);
11 void sbus_dma_sync_single_for_cpu(struct device *dev, dma_addr_t ba,
12 size_t size, int direction);
13 void sbus_dma_sync_single_for_device(struct device *dev, dma_addr_t ba,
14 size_t size, int direction);