All of lore.kernel.org
 help / color / mirror / Atom feed
* Using preallocate pci, isa or nothing?
@ 2004-02-09  0:29 Mathieu Rondonneau
  2004-02-11 12:25 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Rondonneau @ 2004-02-09  0:29 UTC (permalink / raw)
  To: alsa-devel

Hi,
I'm sorry for the html format, these are some questions according to my
problems.

I'm writing an ALSA driver for a CSB337 board (AT91RM9200). There is no PCI
or ISA on this board. Should I preallocate memory with:
snd_pcm_lib_preallocate_pages_for_all,
snd_pcm_lib_preallocate_isa_pages_for_all() or
snd_pcm_lib_preallocate_pci_pages_for_all()?

There is a specific DMA (PDC) on the AT91RM9200, so i'm trying to use
snd_pcm_lib_preallocate_pages_for_all() but seems complicated to understand
what is needed by the ALSA pcm and what i have to write.
What does the function snd_..._pointer() mean? should i need it if i don't
use ISA or PCI mecanism?
What does the function snd_pcm_period_elapsed() mean? Should i need it if i
don't use ISA or PCI mecanism?

Thanks
any help would be very appreciate.

Mathieu Rondonneau



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 5+ messages in thread
* using preallocate pci, isa or nothing?
@ 2004-02-07  2:45 Mathieu Rondonneau
  0 siblings, 0 replies; 5+ messages in thread
From: Mathieu Rondonneau @ 2004-02-07  2:45 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

Hi all,

I'm writing an ALSA driver for a CSB337 board (AT91RM9200). There is no PCI or ISA on this board. Should I preallocate memory with: snd_pcm_lib_preallocate_pages_for_all, snd_pcm_lib_preallocate_isa_pages_for_all() or snd_pcm_lib_preallocate_pci_pages_for_all()?

There is a specific DMA (PDC) on the AT91RM9200, so i'm trying to use snd_pcm_lib_preallocate_pages_for_all() but seems complicated to understand what is needed by the ALSA pcm and what i have to write.
What does the function snd_..._pointer() mean? should i need it if i don't use ISA or PCI mecanism?
What does the function snd_pcm_period_elapsed() mean? Should i need it if i don't use ISA or PCI mecanism?

Thanks
any help would be very appreciate.

Mathieu Rondonneau

[-- Attachment #2: Type: text/html, Size: 1655 bytes --]

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

end of thread, other threads:[~2004-02-11 20:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-09  0:29 Using preallocate pci, isa or nothing? Mathieu Rondonneau
2004-02-11 12:25 ` Takashi Iwai
2004-02-11 20:39   ` Mathieu Rondonneau
2004-02-11 19:49     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2004-02-07  2:45 using " Mathieu Rondonneau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.