linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PowerPC equivalent to dma_mmap_writecombine()?
@ 2007-07-05 16:41 Timur Tabi
  2007-07-05 16:13 ` Arnd Bergmann
  0 siblings, 1 reply; 5+ messages in thread
From: Timur Tabi @ 2007-07-05 16:41 UTC (permalink / raw)
  To: linuxppc-dev

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

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

end of thread, other threads:[~2007-07-06 21:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05 16:41 PowerPC equivalent to dma_mmap_writecombine()? Timur Tabi
2007-07-05 16:13 ` Arnd Bergmann
2007-07-05 20:11   ` Segher Boessenkool
2007-07-06 20:19   ` Timur Tabi
2007-07-06 21:26     ` Arnd Bergmann

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).