dma_mapaddr(D3X)
dma_mapaddr - return the "bus virtual" address for a given map and address
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME dma_mapaddr - return the "bus virtual" address for a given map and address SYNOPSIS #include "sys/types.h" #include "sys/sema.h" #include "sys/dmamap.h" unsigned int dma_mapaddr(dmamap_t *dmamap, caddr_t kernel_vaddr); DESCRIPTION dma_mapaddr returns the bus virtual address corresponding to the given DMA map and kernel virtual address. This is the address that you should give to the device as the beginning "physical" address of the transfer. Before using dma_mapaddr, you should make a call to dma_map, to load the DMA mapping registers. Return Values The bus virtual address described above. See Also dma_map(D3X), dma_mapalloc(D3X), dma_mapfree(D3X), vme_adapter(D3X)