Message ID | 20221124125948.23432-1-ilpo.jarvinen@linux.intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3380444wrr; Thu, 24 Nov 2022 05:00:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf4aJ1G/0WfY65oNA8Rybtu1Lz4gIAi9eR6nSBN+pT4AIj328iGeM7i5kqk6JW/XcrDOfZUk X-Received: by 2002:a63:ff0e:0:b0:434:aa69:bba2 with SMTP id k14-20020a63ff0e000000b00434aa69bba2mr29292850pgi.567.1669294837197; Thu, 24 Nov 2022 05:00:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669294837; cv=none; d=google.com; s=arc-20160816; b=xtpU6QuJiWgpgb6uMhHyt265UAxYh9/4rLgd7Z3qbSWB+mOQsfq8kGoBIUznbGqqda oQjOh2C9SQvlfZpgujVT5vbtx5Ske44768I6dXCBP2wvaau8AhF7cUmfBEeX0YQP5E1f NTpDFrFoumOSCRdPS19ujyocmeFF8JloPbF9dhdkcoWYlXUlOEm+XwKNun4AFbtoQQYM dgnA+rcfHHoCvQNubhTjPkggz2RqOz9JZnR91dLBBqT/o9DbHoLKLHR3IJ++GfKOPlfW vIfWaMigvaXjT/nQk9HkgTjU6T1Qr0ttXYj2JrFI3K1YGjtLLWs2SA3zWiCNFox2K8gp dQCg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=/2BbfgPL0IxDID0wpCZD8cTD0kWoOK4teMVwFvXA+Ic=; b=qAkUzI0GSpDebiMcdGB3Q93dt1oF/DSEfrgdZrH+3hVjMtkZqs25FTmC2OOtBNCbwg rcbZ26vjYHPvWjICx1xHNGoOhayOoBZMRLKIbMmqQbQwB5inftPxfsdwKS5a+ooiPHGY BsEP6dwuF9CBFBIb5qcYqkPcBfOdjccG1mBDx5hRZjp7OORiXsYcRL6ZeH+BdI6YB48i EUedE/MizwDs+9OcvBz6SxNxR0+R1Uw+r16ElAu+EWE0cvVUAf/6R2lEp7nZGdQBl2xy M3oqN5J+e+coB3Bwa75IoUunBLf7bTHDPVsLUjJMsedvhV+zlOTfLaByyc+0V6A4VNj6 jbBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BoypodCG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a170902b61200b0016d2e8c2233si961677pls.333.2022.11.24.05.00.24; Thu, 24 Nov 2022 05:00:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BoypodCG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229886AbiKXNAC (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Thu, 24 Nov 2022 08:00:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiKXNAB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 24 Nov 2022 08:00:01 -0500 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E0982D1E1; Thu, 24 Nov 2022 05:00:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669294801; x=1700830801; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=T7DGfIQYASFIJXluenM17UH1kYkhH74aAzpWc3A8ROs=; b=BoypodCG0B48NuSBHtQFMURFFgqiLb+EozhCewACVk6LmwNFKHx5mz+q nJcVz++TatlymgajtTEQlflkVtm5moNN/zJOvep2xQ68ZQzLNuG6Sq0QL gF32atGC3eHPRu8BQQLqI3ORXVIgeo1frZv7nAcrw1u8tn3tj5ROl2YJL gZhTP0uvoqCC+zDs7iPfFKnk98sRfTlgAJjkl3pL8LlIU6Tp03LAQAS+d tjfcr6r86Oqlo24YMZeAH8w7gwtvroqGaMCWjZbWuxGsFy4g12JC2knN/ c54pWf5X1R352x25dKVidR2RgG5dM35ikHriWmrN1zHzpWMKnzfV35ex9 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10540"; a="311932025" X-IronPort-AV: E=Sophos;i="5.96,190,1665471600"; d="scan'208";a="311932025" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2022 05:00:00 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10540"; a="887367515" X-IronPort-AV: E=Sophos;i="5.96,190,1665471600"; d="scan'208";a="887367515" Received: from msharawy-mobl.ger.corp.intel.com (HELO ijarvine-MOBL2.ger.corp.intel.com) ([10.252.48.147]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2022 04:59:59 -0800 From: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> To: linux-serial@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org> Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> Subject: [PATCH 0/6] serial: Cleanup literals Date: Thu, 24 Nov 2022 14:59:42 +0200 Message-Id: <20221124125948.23432-1-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750382502768282265?= X-GMAIL-MSGID: =?utf-8?q?1750382502768282265?= |
Series |
serial: Cleanup literals
|
|
Message
Ilpo Järvinen
Nov. 24, 2022, 12:59 p.m. UTC
Convert plenty of register write literals to use the proper defines. In most of the cases the defines already exist but a few new defines are added too for combined sets of flags. Ilpo Järvinen (6): serial: 8250: Use defined IER bits serial: 8250: Name MSR literals serial: 8250: Cleanup MCR literals serial: 8250: Add IIR FIFOs enabled field properly serial: 8250: Define IIR 64 byte bit & cleanup related code serial: 8250_early: Convert literals to use defines drivers/tty/serial/8250/8250_early.c | 4 +-- drivers/tty/serial/8250/8250_port.c | 47 ++++++++++++++-------------- include/linux/serial.h | 10 ++++++ include/uapi/linux/serial_reg.h | 5 +++ 4 files changed, 41 insertions(+), 25 deletions(-)