Re: [HOWTO] accessing the DMA mapped data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mahesh <maheshk@xxxxxxx>
Date: Thu, 10 May 2007 13:28:13 +0530

> I have a small question regarding the accessing the data in the DMA 
> mapped  region (in the driver).  In my driver I only have the 
> 'dma_addr_t addr' variable which is result after the 'dma_map_single'. 
> I don't have access to the virtual address of the data region.
> 
> Is there helper routine which we will give me the virtual address back 
> from the DMA mapped address???

You can eithe keep track of this yourself, or (depending upon
your usage) you might be able to use DMA pools, see
dma_pool_create() and friends.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux