[lkml]   [2008]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectQuestion about DMA

I have 2 questions regarding set_dma_addr(unsigned int channel,
unsigned int addr) helper.

1/ Why does the function take only one address ? I would expect it
to take both a source and a destination address for the dma controller
to transfer data.

2/ The type of address parameter is an unsigned int. Why isn't it a dma_addr_t
type ?

Thanks !

 \ /
  Last update: 2008-01-27 21:55    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean