From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15CA1C04AAD for ; Mon, 6 May 2019 11:56:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DCC2020B7C for ; Mon, 6 May 2019 11:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557143818; bh=l3Q9zYtpJDlezkY5Df/NNkgOt/6+oZ4CRStgYt952UE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=vdiuIv/XBq6oDeW7ntEWAEHwixB8aWAJoLighfOztfxpPZ6rboBDlOK+g1zXXVfJF VFFiEc1qx7pGOwitdsJ2iU0K/RmIGAjT80Xg4rdRxWGGmIIrZcTHFq5+PcpKXvk3ho NzAgIh2z0Jss3pCo8lVstYjZpXBulXd3hHyLjwgk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726094AbfEFL46 (ORCPT ); Mon, 6 May 2019 07:56:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:35882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725827AbfEFL46 (ORCPT ); Mon, 6 May 2019 07:56:58 -0400 Received: from localhost (unknown [106.200.210.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8A1C920830; Mon, 6 May 2019 11:56:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557143817; bh=l3Q9zYtpJDlezkY5Df/NNkgOt/6+oZ4CRStgYt952UE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wDUwJmY86Cyl33de6+ugixEzPcQtbx+1DoYxNYVaVNSx48CL63+lc3jYVdlKIfAf5 FUjGTqHAOBla0qt4mkZWiloFr5RD+wivvK4usglIymoFTaNtpDTW7GnjZV5HK5j8bl F2f3+ydufvMtlane37VxCMPXWwRPodnJ9vzb7icA= Date: Mon, 6 May 2019 17:26:51 +0530 From: Vinod Koul To: Gustavo Pimentel Cc: linux-pci@vger.kernel.org, dmaengine@vger.kernel.org, Dan Williams , Andy Shevchenko , Russell King , Niklas Cassel , Joao Pinto Subject: Re: [RFC v6 2/6] dmaengine: Add Synopsys eDMA IP version 0 support Message-ID: <20190506115651.GF3845@vkoul-mobl.Dlink> References: <9e75b8f3a66cce4242265e64636f50a6672969d0.1556043127.git.gustavo.pimentel@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e75b8f3a66cce4242265e64636f50a6672969d0.1556043127.git.gustavo.pimentel@synopsys.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On 23-04-19, 20:30, Gustavo Pimentel wrote: > +struct dw_edma_v0_regs { > + /* eDMA global registers */ > + u32 ctrl_data_arb_prior; /* 0x000 */ > + u32 padding_1; /* 0x004 */ > + u32 ctrl; /* 0x008 */ > + u32 wr_engine_en; /* 0x00c */ > + u32 wr_doorbell; /* 0x010 */ > + u32 padding_2; /* 0x014 */ > + u32 wr_ch_arb_weight_low; /* 0x018 */ > + u32 wr_ch_arb_weight_high; /* 0x01c */ > + u32 padding_3[3]; /* [0x020..0x028] */ > + u32 rd_engine_en; /* 0x02c */ > + u32 rd_doorbell; /* 0x030 */ > + u32 padding_4; /* 0x034 */ > + u32 rd_ch_arb_weight_low; /* 0x038 */ > + u32 rd_ch_arb_weight_high; /* 0x03c */ > + u32 padding_5[3]; /* [0x040..0x048] */ > + /* eDMA interrupts registers */ > + u32 wr_int_status; /* 0x04c */ > + u32 padding_6; /* 0x050 */ > + u32 wr_int_mask; /* 0x054 */ > + u32 wr_int_clear; /* 0x058 */ > + u32 wr_err_status; /* 0x05c */ > + u32 wr_done_imwr_low; /* 0x060 */ > + u32 wr_done_imwr_high; /* 0x064 */ > + u32 wr_abort_imwr_low; /* 0x068 */ > + u32 wr_abort_imwr_high; /* 0x06c */ > + u32 wr_ch01_imwr_data; /* 0x070 */ > + u32 wr_ch23_imwr_data; /* 0x074 */ > + u32 wr_ch45_imwr_data; /* 0x078 */ > + u32 wr_ch67_imwr_data; /* 0x07c */ > + u32 padding_7[4]; /* [0x080..0x08c] */ > + u32 wr_linked_list_err_en; /* 0x090 */ > + u32 padding_8[3]; /* [0x094..0x09c] */ > + u32 rd_int_status; /* 0x0a0 */ > + u32 padding_9; /* 0x0a4 */ > + u32 rd_int_mask; /* 0x0a8 */ > + u32 rd_int_clear; /* 0x0ac */ > + u32 padding_10; /* 0x0b0 */ > + u32 rd_err_status_low; /* 0x0b4 */ > + u32 rd_err_status_high; /* 0x0b8 */ > + u32 padding_11[2]; /* [0x0bc..0x0c0] */ > + u32 rd_linked_list_err_en; /* 0x0c4 */ > + u32 padding_12; /* 0x0c8 */ > + u32 rd_done_imwr_low; /* 0x0cc */ > + u32 rd_done_imwr_high; /* 0x0d0 */ > + u32 rd_abort_imwr_low; /* 0x0d4 */ > + u32 rd_abort_imwr_high; /* 0x0d8 */ > + u32 rd_ch01_imwr_data; /* 0x0dc */ > + u32 rd_ch23_imwr_data; /* 0x0e0 */ > + u32 rd_ch45_imwr_data; /* 0x0e4 */ > + u32 rd_ch67_imwr_data; /* 0x0e8 */ > + u32 padding_13[4]; /* [0x0ec..0x0f8] */ > + /* eDMA channel context grouping */ > + union Type { Again no camecase please -- ~Vinod