Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp227210rdd; Wed, 22 Nov 2023 14:14:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHchNxW3U9vJHLBuTPfZ09nevc/uHs5TtduLeX8/0zYUjbGgZsvxMM+KBGb6PQ9fKyulBdC X-Received: by 2002:a17:902:7795:b0:1cc:b71:c96f with SMTP id o21-20020a170902779500b001cc0b71c96fmr3126882pll.41.1700691247493; Wed, 22 Nov 2023 14:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700691247; cv=none; d=google.com; s=arc-20160816; b=zFhn0z4zpWq0hIHBGpwAYBJ9+SrkWP+gTfr94LNnN2gTjViCsIeDrGhNaFwtulKfww 1EkB2NIrjroJqpUwsVoFiSIyPvyHvFKE7Wq2gZOmzfYmlReZkAr6QSe8wniX7HFyL8fb xQBz4EtwTTeJTt1P1LGVurWTxkmuBa/fIuL2XYuHXnFNNhi8ug09JIKSprLU2/yr/fC/ wWNnJHw5qsDAckb2/4TCP1X8LaEeWpRxAYcgWpLSDmH526bxt0WWxsN996MgIeAZACUN QEF3bV1it/WLZpCJ2IGqCsDtbKzS/gZy3eWBDzhx+yecYodsbhmJvHOdrDSmVa1gY/ZS h6FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=zqhIViRnFAruL/za3c8L0vX7XiguXIze1f1rq462g3c=; fh=RXS5JGpuDELDxQ/4dQrraI6J+NZvDTOAkF/AHQypleY=; b=BzPUW6fH/7D8ZsrjWlYfkux+nCCb3dMBgMLDnZZL1xdcFZd0V6JNrF4rm1l47ULFTj BBKjk5NHb1xU0hcBAV/wIzd//NjySyS8RpX50PtpSDDUv5Rw6VLn+CjIINXZYksiylvC 3/P0xEN81sEChDvdvgmO7L+E+YX3MDHBKpTwjJoqyUIkv1NQa5CKEZd4xtwUGEpvHMnO Eq6kxU1i7a6o1jNyhZUS+L74y+pxpRB1AACqqacLwe/6OgPeb06yBdAyDTvjLb2QxMHu Qh6BSJq8RO3PNPJjJ+u1YGLeLamNizOhm3+oBmravsshTuirSGyZnnCmInoooz6xX2vz fzFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alatek.krakow.pl header.s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3 header.b=QzalEWDB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alatek.krakow.pl Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 4-20020a170902e9c400b001b9d180fd9asi320590plk.121.2023.11.22.14.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 14:14:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=fail header.i=@alatek.krakow.pl header.s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3 header.b=QzalEWDB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alatek.krakow.pl Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id DC90D80941E2; Wed, 22 Nov 2023 14:11:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231779AbjKVWLE (ORCPT + 99 others); Wed, 22 Nov 2023 17:11:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231392AbjKVWLC (ORCPT ); Wed, 22 Nov 2023 17:11:02 -0500 X-Greylist: delayed 122 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 22 Nov 2023 14:10:56 PST Received: from helios.alatek.com.pl (helios.alatek.com.pl [85.14.123.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DDCCB9; Wed, 22 Nov 2023 14:10:56 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by helios.alatek.com.pl (Postfix) with ESMTP id 3A0782D00B62; Wed, 22 Nov 2023 23:10:54 +0100 (CET) Received: from helios.alatek.com.pl ([127.0.0.1]) by localhost (helios.alatek.com.pl [127.0.0.1]) (amavis, port 10032) with ESMTP id 7_61pp17CotE; Wed, 22 Nov 2023 23:10:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by helios.alatek.com.pl (Postfix) with ESMTP id BA0802D00B61; Wed, 22 Nov 2023 23:10:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 helios.alatek.com.pl BA0802D00B61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alatek.krakow.pl; s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3; t=1700691053; bh=zqhIViRnFAruL/za3c8L0vX7XiguXIze1f1rq462g3c=; h=From:To:Date:Message-Id:MIME-Version; b=QzalEWDBuAGVa1ZsyGuBY5GIO6DI2q0cyCpPEznHTAzEnx4cW8hyU2I5NDijb19+6 /5+gITOl16ULH/mXAMmZWBmzOpECtVf0+ktncgaPU2fYQxNMVgsyZq3nkGprJIFHf6 ODGGu9KTQXxoGJF02NwqAdf+3Eo28aZDyv92awIcmZkZrvYZgBqiOCqdhlYAeO4odP LOIVFvzrzI7bIDEHSuSYwvKOGHZg5GGUdEqfXBZHspUYYfJmPvX+VR7IWGxJY/6V8L ObZRn6J/9OWJnNdFsU0dVjo89cJzJNt1q/ls713GLjoC5uw1Ss/CYXylv0Jb95qfIL 0LuGAgnIjAXcQ== X-Virus-Scanned: amavis at alatek.com.pl Received: from helios.alatek.com.pl ([127.0.0.1]) by localhost (helios.alatek.com.pl [127.0.0.1]) (amavis, port 10026) with ESMTP id a-T0EIX3QnDb; Wed, 22 Nov 2023 23:10:53 +0100 (CET) Received: from ideapad.. (unknown [10.0.2.2]) by helios.alatek.com.pl (Postfix) with ESMTPSA id 81AD02D00B60; Wed, 22 Nov 2023 23:10:53 +0100 (CET) From: Jan Kuliga To: lizhi.hou@amd.com, brian.xu@amd.com, raj.kumar.rampelli@amd.com, vkoul@kernel.org, michal.simek@amd.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jan Kuliga Subject: [PATCH 2/5] dmaengine: xilinx: xdma: Get rid of duplicated macros definitions Date: Wed, 22 Nov 2023 23:09:18 +0100 Message-Id: <20231122220921.117428-3-jankul@alatek.krakow.pl> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122220830.117403-1-jankul@alatek.krakow.pl> References: <20231122220830.117403-1-jankul@alatek.krakow.pl> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 14:11:05 -0800 (PST) These macros are defined earlier in the file. Signed-off-by: Jan Kuliga --- drivers/dma/xilinx/xdma-regs.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/dma/xilinx/xdma-regs.h b/drivers/dma/xilinx/xdma-reg= s.h index 1f17ce165f92..7a169377b483 100644 --- a/drivers/dma/xilinx/xdma-regs.h +++ b/drivers/dma/xilinx/xdma-regs.h @@ -135,18 +135,6 @@ struct xdma_hw_desc { #define XDMA_SGDMA_DESC_ADJ 0x4088 #define XDMA_SGDMA_DESC_CREDIT 0x408c =20 -/* bits of the SG DMA control register */ -#define XDMA_CTRL_RUN_STOP BIT(0) -#define XDMA_CTRL_IE_DESC_STOPPED BIT(1) -#define XDMA_CTRL_IE_DESC_COMPLETED BIT(2) -#define XDMA_CTRL_IE_DESC_ALIGN_MISMATCH BIT(3) -#define XDMA_CTRL_IE_MAGIC_STOPPED BIT(4) -#define XDMA_CTRL_IE_IDLE_STOPPED BIT(6) -#define XDMA_CTRL_IE_READ_ERROR GENMASK(13, 9) -#define XDMA_CTRL_IE_DESC_ERROR GENMASK(23, 19) -#define XDMA_CTRL_NON_INCR_ADDR BIT(25) -#define XDMA_CTRL_POLL_MODE_WB BIT(26) - /* * interrupt registers */ --=20 2.34.1