Received: by 10.213.65.68 with SMTP id h4csp2435148imn; Mon, 2 Apr 2018 07:32:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx48RTq9aXmA8VhUWwlzPNkx3SCPQvrfVg5pGovAsx9SYg2V0oXs7cupPW74yu4KvgoDWBqbj X-Received: by 10.99.121.134 with SMTP id u128mr6390806pgc.360.1522679557944; Mon, 02 Apr 2018 07:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522679557; cv=none; d=google.com; s=arc-20160816; b=HKG0u7kfH5T9fQYVo3lX3QCS/hl2lW38PymtePP3JHsf2FLawGl3WsjfnEIBOwlUiY wIdCLgUX/amMQHPBf1I9YEqP922Rg005UXWkQ1M+J6LYE9UzpT2m4/bedQS5+YC4IM+n YWJarylLZmBSW8RjO7h0bv7ymWINFdVMJ0B/MfHtLZXO9XwHlL9CFL+rUyudg5O76Lxu lV9308yu0n31qaYpjVDI9DgvSh5J2lHTjWTsDxXko5Zc7OGzKK/J3gt3U261lMIqOYos 4C9DpHhK2IRJaGL6WNK8ptyEc/ssaTYL2xU/Xu12aYb1mKwhIam0NsLbAPNnGYDP8nxT q12w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=tmmKUtLxFsAZZe96i+6g39GsH/rZpXjBUWfhCpzV+yY=; b=B6LUp9aQ2xhixg6fVhGdyevdUUiggdSHyiw3gE7bpcG0MIuhxr2r5ED9jz4uqdgc86 yIxdZyAZjop5YLxzZY+jn4YjvPMSFxgFNiN1ppbJkWwqKzRJogRmmBulzPuVOPPobqRe rQ8YZ33py9mXyYGOEF+SXWjlpP7EqKshjuLjFzoN0TER6L7JVacaEMJPSPrtegOlClE+ 2nS+21lJ1L3n4E/a7RHo3MZ2ufUGRYGcKhUSLrSw1bIp68r1HDUl0ClprE/3e5bhkAAr zkx6r4bdnt55jpddunqrtzw9KsIYAzA5v6Ge3QwPCdV4XNqRDacXXXiTWwVzHej1sosn zf6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11-v6si417790pls.337.2018.04.02.07.32.23; Mon, 02 Apr 2018 07:32:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752829AbeDBOas (ORCPT + 99 others); Mon, 2 Apr 2018 10:30:48 -0400 Received: from smtp06.smtpout.orange.fr ([80.12.242.128]:57926 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752758AbeDBO2Y (ORCPT ); Mon, 2 Apr 2018 10:28:24 -0400 Received: from belgarion.home ([86.201.130.131]) by mwinf5d63 with ME id VSSy1x00R2qEl8e03SULPe; Mon, 02 Apr 2018 16:28:22 +0200 X-ME-Helo: belgarion.home X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Mon, 02 Apr 2018 16:28:22 +0200 X-ME-IP: 86.201.130.131 From: Robert Jarzmik To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Bartlomiej Zolnierkiewicz , Tejun Heo , Vinod Koul , Mauro Carvalho Chehab , Ulf Hansson , Ezequiel Garcia , Boris Brezillon , David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Cyrille Pitchen , Nicolas Pitre , Samuel Ortiz , Greg Kroah-Hartman , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown , Arnd Bergmann , Philippe Ombredanne , Kate Stewart , Thomas Gleixner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, dmaengine@vger.kernel.org, linux-media@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, netdev@vger.kernel.org, devel@driverdev.osuosl.org, alsa-devel@alsa-project.org Subject: [PATCH 11/15] dmaengine: pxa: document pxad_param Date: Mon, 2 Apr 2018 16:26:52 +0200 Message-Id: <20180402142656.26815-12-robert.jarzmik@free.fr> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180402142656.26815-1-robert.jarzmik@free.fr> References: <20180402142656.26815-1-robert.jarzmik@free.fr> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add some documentation for the pxad_param structure, and describe the contract behind the minimal required priority of a DMA channel. Signed-off-by: Robert Jarzmik --- include/linux/dma/pxa-dma.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/linux/dma/pxa-dma.h b/include/linux/dma/pxa-dma.h index e56ec7af4fd7..9fc594f69eff 100644 --- a/include/linux/dma/pxa-dma.h +++ b/include/linux/dma/pxa-dma.h @@ -9,6 +9,15 @@ enum pxad_chan_prio { PXAD_PRIO_LOWEST, }; +/** + * struct pxad_param - dma channel request parameters + * @drcmr: requestor line number + * @prio: minimal mandatory priority of the channel + * + * If a requested channel is granted, its priority will be at least @prio, + * ie. if PXAD_PRIO_LOW is required, the requested channel will be either + * PXAD_PRIO_LOW, PXAD_PRIO_NORMAL or PXAD_PRIO_HIGHEST. + */ struct pxad_param { unsigned int drcmr; enum pxad_chan_prio prio; -- 2.11.0