1 #ifndef _ALPHA_SCATTERLIST_H
2 #define _ALPHA_SCATTERLIST_H
3
4 #include <linux/types.h>
5
6 struct scatterlist {
7 char *address; /* Source/target vaddr. */
8 char *alt_address; /* Location of actual if address is a
9 dma indirect buffer, else NULL. */
10 dma_addr_t dma_address;
11 unsigned int length;
12 unsigned int dma_length;
13 };
14
15 #define sg_dma_address(sg) ((sg)->dma_address)
16 #define sg_dma_len(sg) ((sg)->dma_length)
17
18 #define ISA_DMA_THRESHOLD (~0UL)
19
20 #endif /* !(_ALPHA_SCATTERLIST_H) */
21
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.