1 #ifndef _ASM_PARISC_SCATTERLIST_H
2 #define _ASM_PARISC_SCATTERLIST_H
3
4 struct scatterlist {
5 char * address; /* Location data is to be transferred to */
6 char * alt_address; /* Location of actual if address is a
7 * dma indirect buffer. NULL otherwise */
8 unsigned int length;
9
10 /* an IOVA can be 64-bits on some PA-Risc platforms. */
11 dma_addr_t iova; /* I/O Virtual Address */
12 __u32 iova_length; /* bytes mapped */
13 };
14
15 #define sg_dma_address(sg) ((sg)->iova)
16 #define sg_dma_len(sg) ((sg)->iova_length)
17
18 #define ISA_DMA_THRESHOLD (~0UL)
19
20 #endif /* _ASM_PARISC_SCATTERLIST_H */
21
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.