From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Using preallocate pci, isa or nothing? Date: Wed, 11 Feb 2004 13:25:26 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <009601c3eea3$bca696e0$c4f9cb18@win2K> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <009601c3eea3$bca696e0$c4f9cb18@win2K> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Mathieu Rondonneau Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Sun, 8 Feb 2004 18:29:10 -0600, Mathieu Rondonneau wrote: > > 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? did you take a look at my document? http://www.alsa-project.org/~iwai/writing-an-alsa-driver/ Takashi ------------------------------------------------------- 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