LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Question about DMA
@ 2008-01-27 20:51 Francis Moreau
  2008-01-27 22:34 ` Jiri Slaby
  0 siblings, 1 reply; 9+ messages in thread
From: Francis Moreau @ 2008-01-27 20:51 UTC (permalink / raw)
  To: linux-kernel

Hello,

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 !
-- 
Francis

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-01-28 10:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-27 20:51 Question about DMA Francis Moreau
2008-01-27 22:34 ` Jiri Slaby
2008-01-28  8:55   ` Francis Moreau
2008-01-28  9:04     ` Jiri Slaby
2008-01-28 10:20       ` Francis Moreau
2008-01-28  9:21     ` Haavard Skinnemoen
2008-01-28 10:22       ` Francis Moreau
2008-01-28 10:29         ` Haavard Skinnemoen
2008-01-28 10:40           ` Francis Moreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).