~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-parisc/scatterlist.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.