how about using define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) or virt_to_phys () On Sat, Feb 8, 2014 at 1:32 AM, m silverstri <michael.j.silverstri@xxxxxxxxx> wrote: > Hi, > > If I have a struct dma_buf dma buffer, how can I the physical address? > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@xxxxxxxxxxxxxxxxx > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies