Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1395290rdh; Fri, 24 Nov 2023 11:26:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1Vpy7x9yJnjnjI8XgMcANfHyqjLOyYr7V5AJgvIDYhp4j24B8c9v3Btl/qiwwTPYV5JGx X-Received: by 2002:a17:903:183:b0:1c7:5f03:8562 with SMTP id z3-20020a170903018300b001c75f038562mr5366312plg.30.1700854009793; Fri, 24 Nov 2023 11:26:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700854009; cv=none; d=google.com; s=arc-20160816; b=X2rvovJaKuQIwYl3exnrjdq52HaeXZMw+HDGqE0MK0L5LbAgwRdfGPBk68SizM5jjC NkKL5hd3tSf+st0tP6uoAAvGZZaAZumeQr8hUhG6yaU57gIN+ckyQHoVUKgQm1d6Pjcl 3W+bgMugpHCuYQ8mxQcSlTrkJpVM6LJM3FaNqfJlvzdY0wYCH2Frs8cuxrY4gfdVVpvk eqxZiOWZKL157KsPt0xhSYCsRJpG/iQMGcLHeyNrFkZ61DBkUeE8uMakF4Ec+Pg374wQ mqAuYG6NYYPjhiTofoDwkTqTNS7XL/MbGEQL/PfZBz33hRA2QchJFTTDEfxPkEsSzS7R d9nA== 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=5oQXmq3tgP56Sn2YSHNFNW/thZW9bzO7oAoCayAstmg=; b=EZD0Z3fV4jovC8NaqyqyAzUN+f3jpQWjK5GXNpcsMeHUw2jSbeuD+lhG8YrUWZC0iZ rGJYGI9Bns5+NSehnGGiE9+FA+MNsSqFgmoaqT8x3/cEP01lO+lJiDnXmHBxcCvnmOYa 0uh+y7XkQWg8risD+TlByRktVp2/Ki/1hTYYp0P+A43tPI74dptZ2IjGZv56s7+JkVMZ OlayEhD+B36Q84JBq9gaDQP0fxv7s4cHXP+UfkJVLbbt0gBszvawkfkjBsyOrY66UuSM HRNIKxHq/IQDKbjUXovGE7jSqkKA1Ed/qCKX95Dji80X5rKiPho+A8Gdo7HbpqZuZb65 kyDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alatek.krakow.pl header.s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3 header.b=oe2kSsOs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b5-20020a170903228500b001c76b4c349esi4309151plh.218.2023.11.24.11.26.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 11:26:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=fail header.i=@alatek.krakow.pl header.s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3 header.b=oe2kSsOs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 0E3DA80B9522; Fri, 24 Nov 2023 11:26:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346024AbjKXT01 (ORCPT + 99 others); Fri, 24 Nov 2023 14:26:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345941AbjKXT0Z (ORCPT ); Fri, 24 Nov 2023 14:26:25 -0500 Received: from helios.alatek.com.pl (helios.alatek.com.pl [85.14.123.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4886E35B4; Fri, 24 Nov 2023 11:26:30 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by helios.alatek.com.pl (Postfix) with ESMTP id C806B2CE00D5; Fri, 24 Nov 2023 20:26:28 +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 KNT9NsVn8hlx; Fri, 24 Nov 2023 20:26:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by helios.alatek.com.pl (Postfix) with ESMTP id 571CF2CE00D3; Fri, 24 Nov 2023 20:26:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 helios.alatek.com.pl 571CF2CE00D3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alatek.krakow.pl; s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3; t=1700853988; bh=zqhIViRnFAruL/za3c8L0vX7XiguXIze1f1rq462g3c=; h=From:To:Date:Message-Id:MIME-Version; b=oe2kSsOsQT+t8VLbc/jz6+b7+ZxSYy0gfL71v+ZaCSYkzikTavdFxZco7+kOxf8g8 7jCYG1JTDZRoprvdF8Jcu+QvZhQj4m/TYHqCwl3+zskImLA5nlTZHJWXgx7rbanu+h LmJdQChYcLfKQKZBE5Z944suto2/mR2Qj0ff9KIEJtgqRXhSO5T0cq4E+pcGderoTw 8p2MJumWLfmoqYRV1+TdNc53aOxyCmj/B/Hp31eOYbK0omcYDrjzg33Sn3L67lDegk ToBGYPFWB0v8aBXLkEqFmGxnYX6tU1wh18P0zP25boCb015HncK3Z6iQwDlXrhrBhF wxIz9m/VIQoaQ== 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 pbP_qd8M5zBS; Fri, 24 Nov 2023 20:26:28 +0100 (CET) Received: from ideapad.. (unknown [10.0.2.2]) by helios.alatek.com.pl (Postfix) with ESMTPSA id 22BF02CE00D1; Fri, 24 Nov 2023 20:26:28 +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, runtimeca39d@amd.com Cc: Jan Kuliga Subject: [PATCH v3 2/5] dmaengine: xilinx: xdma: Get rid of duplicated macros definitions Date: Fri, 24 Nov 2023 20:25:55 +0100 Message-Id: <20231124192558.135004-3-jankul@alatek.krakow.pl> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231124192524.134989-1-jankul@alatek.krakow.pl> References: <20231124192524.134989-1-jankul@alatek.krakow.pl> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Fri, 24 Nov 2023 11:26:46 -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