diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/include/asm/dma-mapping.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/dma-mapping.h b/arch/ia64/include/asm/dma-mapping.h index bbab7e2b0fc9..eeb2aa36949a 100644 --- a/arch/ia64/include/asm/dma-mapping.h +++ b/arch/ia64/include/asm/dma-mapping.h | |||
@@ -20,6 +20,13 @@ struct dma_mapping_ops { | |||
20 | size_t size, int direction); | 20 | size_t size, int direction); |
21 | void (*unmap_single)(struct device *dev, dma_addr_t addr, | 21 | void (*unmap_single)(struct device *dev, dma_addr_t addr, |
22 | size_t size, int direction); | 22 | size_t size, int direction); |
23 | dma_addr_t (*map_single_attrs)(struct device *dev, void *cpu_addr, | ||
24 | size_t size, int direction, | ||
25 | struct dma_attrs *attrs); | ||
26 | void (*unmap_single_attrs)(struct device *dev, | ||
27 | dma_addr_t dma_addr, | ||
28 | size_t size, int direction, | ||
29 | struct dma_attrs *attrs); | ||
23 | void (*sync_single_for_cpu)(struct device *hwdev, | 30 | void (*sync_single_for_cpu)(struct device *hwdev, |
24 | dma_addr_t dma_handle, size_t size, | 31 | dma_addr_t dma_handle, size_t size, |
25 | int direction); | 32 | int direction); |
@@ -43,6 +50,13 @@ struct dma_mapping_ops { | |||
43 | void (*unmap_sg)(struct device *hwdev, | 50 | void (*unmap_sg)(struct device *hwdev, |
44 | struct scatterlist *sg, int nents, | 51 | struct scatterlist *sg, int nents, |
45 | int direction); | 52 | int direction); |
53 | int (*map_sg_attrs)(struct device *dev, | ||
54 | struct scatterlist *sg, int nents, | ||
55 | int direction, struct dma_attrs *attrs); | ||
56 | void (*unmap_sg_attrs)(struct device *dev, | ||
57 | struct scatterlist *sg, int nents, | ||
58 | int direction, | ||
59 | struct dma_attrs *attrs); | ||
46 | int (*dma_supported_op)(struct device *hwdev, u64 mask); | 60 | int (*dma_supported_op)(struct device *hwdev, u64 mask); |
47 | int is_phys; | 61 | int is_phys; |
48 | }; | 62 | }; |