| David S. Miller | 944c67df | 2008-08-27 18:01:36 -0700 | [diff] [blame] | 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); |