[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    ddi_dma_cookie(9S) manual page Table of Contents

Name

ddi_dma_cookie - DMA address cookie

Synopsis

#include <sys/sunddi.h>

Interface Level

Solaris DDI specific (Solaris DDI).

Description

The ddi_dma_cookie structure (ddi_dma_cookie_t) contains DMA address information required to program a DMA engine. It is filled in by a call to ddi_dma_htoc(9F) or ddi_dma_movwin(9F) when a driver wants to get device specific DMA transfer information out of a DMA handle or DMA window (see ddi_dma_setup(9F) ).

Structure Members

unsigned longdmac_address;/* unsigned 32 bit address */
u_intdmac_size;/* unsigned 32 bit size */
u_intdmac_type;/* bus specific type bits */

dmac_address specifies an unsigned 32 bit address appropriate for programming the device’s DMA engine.

dmac_size describes the length of the transfer.

dmac_type contains bus specific type bits (if appropriate). For example, a device on a VME bus will have VME address modifier bits placed here.

See Also

sbus(4) , vme(4) , ddi_dma_coff(9F) , ddi_dma_free(9F) , ddi_dma_htoc(9F) , ddi_dma_movwin(9F) , ddi_dma_setup(9F)


Table of Contents