Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp590510ybm; Thu, 28 May 2020 10:09:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyENLm8q+PowFznQtqD0HApRP0Z5Kj3FmuvYI2cDtPbWWMluMsunobw3e4t0TqOu67sgk+9 X-Received: by 2002:a17:906:5a99:: with SMTP id l25mr4075160ejq.235.1590685749284; Thu, 28 May 2020 10:09:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590685749; cv=none; d=google.com; s=arc-20160816; b=H3K+UiVD4PwPJg5S4NQCpXJjida4hRIfnOHAzaUlnzEntS+ebTrHjQ8n63AR3zMdfd qpriUGYbXbVU/GTvlAVbomx2BL8oyp45oE/Vt9thZoswXMCyPGTs9hofcYnaZ4ZXfxO1 x4rXo0QGpXEQI1pt+zW9g0EFciQcpScBOrlV8l/yAv/PQWf8DRAd0bMXlQUUAWNMCrFj 4TSwTll+CJmuXsRvpKREFrO3Wlnv2OGUK2ER2zdKVSfD5uwuDpJMnKjSzibDSMoatk82 pnOMt3U8A6XC79eW/Fp9v8l/reQcc+EpIvRq+3+5WDr9Ysq7Ai+6GjWADN8EAkWAVrOx X2jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JyUcWSwU7BWDPIWeAHfphybpVN13p9DbJEg8wfLwcxg=; b=ToOYjgVtAN0JvRwtFq1jnxIlMG56z3ph1NyaernHNIVeya6uV0gusa66Gjp4YF/YX5 p0ZjO4QnXU0d98/8c+UtIKfXJby2HTu3DKEn0lMKvA6SXraUMynJ8XMQcfs86Zp3Ggax Mi0goL26hQH62SZfrmjUG8ESbtcHER3q5y7P8Sli5TH+TovDph4hAnocHv6Nuthhl+PY IpJM4Mo+LY8zV0Mj2UwDasBF6JjJfnEUnI45U9L43Dk4lxygrUrDs/c6MbdY080vJbV0 SLliU9cQXM9DLWxhWCoCepJI1UiYNF73w6YbjGtaisrvq8MdEZ9g+MgWd4iw6EcRxXue aS0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=UlqcHc6r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si3985751edy.584.2020.05.28.10.08.46; Thu, 28 May 2020 10:09:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=UlqcHc6r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405465AbgE1RGM (ORCPT + 99 others); Thu, 28 May 2020 13:06:12 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:31229 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2405313AbgE1RF2 (ORCPT ); Thu, 28 May 2020 13:05:28 -0400 X-UUID: f1385f5137d9470e92b3f4c747d2aacc-20200529 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=JyUcWSwU7BWDPIWeAHfphybpVN13p9DbJEg8wfLwcxg=; b=UlqcHc6rarXCJtfv39tyErmrTTvj6vOL4NdkDb/9GKlsRxDYUubXkzjTBu2BvH/AubxFPKv4nwp1G6nT4J7LBzd8H0F2lJS7GVGMBjG3pPv8DWrCEeLOKQOis0FjfQt0sHqF6A5/Nw6tCg6pU7uK//8u895ws/ZKequUVbA652E=; X-UUID: f1385f5137d9470e92b3f4c747d2aacc-20200529 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 123650689; Fri, 29 May 2020 01:05:12 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 29 May 2020 01:05:09 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 29 May 2020 01:05:08 +0800 From: Dennis YC Hsieh To: Rob Herring , Mark Rutland , Matthias Brugger , Jassi Brar , Philipp Zabel , David Airlie , Daniel Vetter CC: , , , , , Bibby Hsieh , CK Hu , Houlong Wei , , HS Liao , Dennis YC Hsieh Subject: [PATCH v6 09/16] soc: mediatek: cmdq: add write_s_mask function Date: Fri, 29 May 2020 01:04:44 +0800 Message-ID: <1590685491-17107-10-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1590685491-17107-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1590685491-17107-1-git-send-email-dennis-yc.hsieh@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org YWRkIHdyaXRlX3NfbWFzayBmdW5jdGlvbiBpbiBjbWRxIGhlbHBlciBmdW5jdGlvbnMgd2hpY2gN CndyaXRlcyB2YWx1ZSBjb250YWlucyBpbiBpbnRlcm5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