From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw02.freescale.net (de01egw02.freescale.net [192.88.165.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 3D5AFDDF3E for ; Fri, 6 Jul 2007 02:41:16 +1000 (EST) Received: from de01smr02.am.mot.com (de01smr02.freescale.net [10.208.0.151]) by de01egw02.freescale.net (8.12.11/de01egw02) with ESMTP id l65Gf855025469 for ; Thu, 5 Jul 2007 09:41:12 -0700 (MST) Received: from [10.82.19.119] (ld0169-tx32.am.freescale.net [10.82.19.119]) by de01smr02.am.mot.com (8.13.1/8.13.0) with ESMTP id l65Gf75Q027833 for ; Thu, 5 Jul 2007 11:41:08 -0500 (CDT) Message-ID: <468D1F23.6000803@freescale.com> Date: Thu, 05 Jul 2007 11:41:07 -0500 From: Timur Tabi MIME-Version: 1.0 To: linuxppc-dev@ozlabs.org Subject: PowerPC equivalent to dma_mmap_writecombine()? Content-Type: text/plain; charset=ISO-8859-1; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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