dma_mmap_from_coherent man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

DMA_MMAP_FROM_COHERE(9)	 Device drivers infrastructure DMA_MMAP_FROM_COHERE(9)

NAME
       dma_mmap_from_coherent - try to mmap the memory allocated from
       per-device coherent memory pool to userspace

SYNOPSIS
       int dma_mmap_from_coherent(struct device * dev,
				  struct vm_area_struct * vma, void * vaddr,
				  size_t size, int * ret);

ARGUMENTS
       dev
	   device from which the memory was allocated

       vma
	   vm_area for the userspace memory

       vaddr
	   cpu address returned by dma_alloc_from_coherent

       size
	   size of the memory buffer allocated by dma_alloc_from_coherent

       ret
	   result from remap_pfn_range

DESCRIPTION
       This checks whether the memory was allocated from the per-device
       coherent memory pool and if so, maps that memory to the provided vma.

       Returns 1 if we correctly mapped the memory, or 0 if the caller should
       proceed with mapping memory from generic pools.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013	       DMA_MMAP_FROM_COHERE(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net