 |
Index for Section 9 |
|
 |
Alphabetical listing for V |
|
 |
Bottom of page |
|
vba_get_dma_addr(9r)
NAME
vba_get_dma_addr - VMEbus: Returns the VMEbus address and DMA flags
SYNOPSIS
void vba_get_dma_addr(
struct controller *ctlr,
unsigned int param_flags,
unsigned int *flags,
vme_addr_t *vme_address );
ARGUMENTS
ctlr
Specifies a pointer to the VMEbus device's controller data structure.
param_flags
Specifies the value passed to the flags argument in a call to
dma_map_alloc() or dma_map_load(). You obtain this value in a previous
call to the vba_set_dma_addr() routine.
flags
Specifies a pointer to a buffer that stores the returned DMA flags.
vme_address
Specifies a pointer to a buffer that stores the returned VMEbus
address.
DESCRIPTION
The vba_get_dma_addr() routine returns the direct memory access (DMA) flags
and VMEbus address specified in a previous call to vba_set_dma_addr(). The
routine recombines the VMEbus-related flag bits with the DMA-related bits
and stores them in the address passed to the flags argument.
NOTES
Bus adapter driver writers typically call vba_get_dma_addr() to obtain the
VMEbus address and DMA-related flags.
RETURN VALUES
The vba_get_dma_addr() routine returns data explicitly to the pointers
passed to the flags and vme_address arguments.
SEE ALSO
Kernel Routines: vba_set_dma_addr(9r)
 |
Index for Section 9 |
|
 |
Alphabetical listing for V |
|
 |
Top of page |
|