Skip to contentSkip to conversation

DMA buffer

DISCUSSION Giuliano Pochini 2 participants 2 messages Mar 11, 2003

lore
Share & tools
lore
#0 lore raw

I have to allocate a page that the DSP will use to communicate with my driver via bus mastering. Can I use snd_malloc_pci_pages() ?

Bye.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw

At 11 Mar 2003 00:09:37 +0000,

Quoted 4 lines · Giuliano Pochini

I have to allocate a page that the DSP will use to communicate with my driver via bus mastering. Can I use snd_malloc_pci_pages() ?

usually, yes.
it calls pci_alloc_consistent() inside.

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf