From: Timur Tabi <timur@freescale.com>
To: linuxppc-dev@ozlabs.org
Subject: PowerPC equivalent to dma_mmap_writecombine()?
Date: Thu, 05 Jul 2007 11:41:07 -0500 [thread overview]
Message-ID: <468D1F23.6000803@freescale.com> (raw)
I'm porting a driver from ARM to PowerPC, and I came across this function:
static int at91_pcm_mmap(struct snd_pcm_substream *substream,
struct vm_area_struct *vma)
{
struct snd_pcm_runtime *runtime = substream->runtime;
return dma_mmap_writecombine(substream->pcm->card->dev, vma,
runtime->dma_area,
runtime->dma_addr,
runtime->dma_bytes);
}
There are no dma_mmap_x() functions in arch/powerpc. Can someone tell me what the powerpc
equivalent to dma_mmap_writecombine() is?
--
Timur Tabi
Linux Kernel Developer @ Freescale
next reply other threads:[~2007-07-05 16:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-05 16:41 Timur Tabi [this message]
2007-07-05 16:13 ` PowerPC equivalent to dma_mmap_writecombine()? Arnd Bergmann
2007-07-05 20:11 ` Segher Boessenkool
2007-07-06 20:19 ` Timur Tabi
2007-07-06 21:26 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468D1F23.6000803@freescale.com \
--to=timur@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).