From patchwork Thu Aug 8 13:03:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maharaja Kennadyrajan X-Patchwork-Id: 11084125 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B7DB17E0 for ; Thu, 8 Aug 2019 13:03:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A2182874C for ; Thu, 8 Aug 2019 13:03:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E732289BD; Thu, 8 Aug 2019 13:03:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CF2A62874C for ; Thu, 8 Aug 2019 13:03:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=yItT4Yj4HnnF4p7aa9LZJMkGtoaUXq8C243A6gJgomM=; b=ZskcLs0+yIuovpbJdk0Ojw9PT7 c26qBLJm1vN5BCc4h8jo9l97cvyJynNo9BbxGA1sOoFnedWC46UHNkuoKNL3A9nymNMinBVN5tHqv KUJx1xrZnZsHTLEg+O/7TGthzI5AWPoi9qefiJ8QrQrpVdiaJTfrT+VU2j76YbKxN/y/gdTJDJp83 tMNLV8Oy37Wf7v2OVrT0D16hRCZEoMmWAtkER3JimzpONxPMAPAzO9zTeXVsC+W1PCze0OFOe4WCe 05glHe4TL27sOukJmqYgb7LCTqFPUD8le2xyY31dm+E/Nz4flLWcwcT19hy1DBoI5vypYgUL5qh26 TW8jKmvw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hvi4v-0008Mq-R4; Thu, 08 Aug 2019 13:03:37 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hvi4o-0008Fy-JL for ath11k@lists.infradead.org; Thu, 08 Aug 2019 13:03:32 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E5EF561195; Thu, 8 Aug 2019 13:03:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565269410; bh=MISlkilZ/qoeppfPyi+dsRNPTYC338z5bYc8RBQWgeU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=esJyVNUFv6vIyh9OmENGOOVZufD87u1fB/bK5mdOXo6O24/w9at+1wx2JWUnT6QhD oy1z09/T4OTjBPuhFwMg4GY+smeG4+luQy0jf+IaH8bgTjASOl5yOtciGoAEma9lN4 kwJ0rRl0W6TmoVhc0Vb4TKDLtYt22mmT0NRPx4pU= Received: from che-swdbs-01.qca.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mkenna@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 8A76E60E40; Thu, 8 Aug 2019 13:03:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565269408; bh=MISlkilZ/qoeppfPyi+dsRNPTYC338z5bYc8RBQWgeU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=luXVawe2IkH4R7WaCMraXO31nwqKu6dX6B/ppGhuSLxiOhvoLGEsq+i/qf515Z+hY Oth5TV+1Gcox3s9YkYZ8rlsMBZ78hPDZjAa3FG4VWgOgQHiIkqIrs77xwHEPTx2zjY Ca+qpz2ueBl0nnrjZnCGcBB+8GbcJB0nDH1bufpw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8A76E60E40 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=mkenna@codeaurora.org From: Maharaja Kennadyrajan To: ath11k@lists.infradead.org Subject: [PATCH 12/15] ath11k: Rename ath11k_base struct from 'sc' to 'ab in hal.h Date: Thu, 8 Aug 2019 18:33:09 +0530 Message-Id: <1565269392-2838-13-git-send-email-mkenna@codeaurora.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1565269392-2838-1-git-send-email-mkenna@codeaurora.org> References: <1565269392-2838-1-git-send-email-mkenna@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190808_060330_696818_05B2EEA9 X-CRM114-Status: UNSURE ( 8.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maharaja Kennadyrajan MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP To avoid confusion and better readability, renamed the ath11k_base struct from 'sc' to 'ab' in hal.h file. Signed-off-by: Maharaja Kennadyrajan --- drivers/net/wireless/ath/ath11k/hal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/hal.h b/drivers/net/wireless/ath/ath11k/hal.h index c57f683f8c84..c80b068f0baf 100644 --- a/drivers/net/wireless/ath/ath11k/hal.h +++ b/drivers/net/wireless/ath/ath11k/hal.h @@ -876,10 +876,10 @@ u32 *ath11k_hal_srng_dst_get_next_entry(struct ath11k_base *ab, u32 *ath11k_hal_srng_dst_peek(struct ath11k_base *ab, struct hal_srng *srng); int ath11k_hal_srng_dst_num_free(struct ath11k_base *ab, struct hal_srng *srng, bool sync_hw_ptr); -u32 *ath11k_hal_srng_src_peek(struct ath11k_base *sc, struct hal_srng *srng); -u32 *ath11k_hal_srng_src_get_next_reaped(struct ath11k_base *sc, +u32 *ath11k_hal_srng_src_peek(struct ath11k_base *ab, struct hal_srng *srng); +u32 *ath11k_hal_srng_src_get_next_reaped(struct ath11k_base *ab, struct hal_srng *srng); -u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *sc, +u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *ab, struct hal_srng *srng); u32 *ath11k_hal_srng_src_get_next_entry(struct ath11k_base *ab, struct hal_srng *srng); @@ -888,7 +888,7 @@ int ath11k_hal_srng_src_num_free(struct ath11k_base *ab, struct hal_srng *srng, void ath11k_hal_srng_access_begin(struct ath11k_base *ab, struct hal_srng *srng); void ath11k_hal_srng_access_end(struct ath11k_base *ab, struct hal_srng *srng); -int ath11k_hal_srng_setup(struct ath11k_base *sc, enum hal_ring_type type, +int ath11k_hal_srng_setup(struct ath11k_base *ab, enum hal_ring_type type, int ring_num, int mac_id, struct hal_srng_params *params); int ath11k_hal_srng_init(struct ath11k_base *ath11k);