Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753544AbbLNUkQ (ORCPT ); Mon, 14 Dec 2015 15:40:16 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:59889 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753473AbbLNUkO (ORCPT ); Mon, 14 Dec 2015 15:40:14 -0500 Subject: Re: [PATCH V02 3/5] dmaengine: core: Introduce new, universal API to request a channel To: , , References: <1450092140-31602-1-git-send-email-peter.ujfalusi@ti.com> <1450092140-31602-4-git-send-email-peter.ujfalusi@ti.com> CC: , , , , , From: Peter Ujfalusi Message-ID: <566F290A.2060300@ti.com> Date: Mon, 14 Dec 2015 22:39:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1450092140-31602-4-git-send-email-peter.ujfalusi@ti.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 39 On 12/14/2015 01:22 PM, Peter Ujfalusi wrote: > /** > + * struct dma_slave_map - associates slave device and it's slave channel with > + * parameter to be used by a filter function > + * @devname: name of the device > + * @slave: slave channel name > + * @param: opaque parameter to pass to struct dma_filter.fn > + */ > +struct dma_slave_map { > + const char *devname; > + const char *slave; > + void *param; ??? Tabs got replaced by spaces ??? > +}; > + > +/** > + * struct dma_filter - information for slave device/channel to filter_fn/param > + * mapping > + * @fn: filter function callback > + * @mapcnt: number of slave device/channel in the map > + * @map: array of channel to filter mapping data > + */ > +struct dma_filter { > + dma_filter_fn fn; > + int mapcnt; > + const struct dma_slave_map *map; Here also. -- P?ter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/