Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp589857ybm; Thu, 28 May 2020 10:08:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7lcIJmfiJLhGLsyqUuMnshfQ1jdlV4Fj7DbL0T+PvtuHKEWvd89dqqoQSVwHsbQ4Vhj6s X-Received: by 2002:a50:eb0a:: with SMTP id y10mr4208756edp.312.1590685701477; Thu, 28 May 2020 10:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590685701; cv=none; d=google.com; s=arc-20160816; b=yG8TmFK2QPv0KYfgUaHxuWmF+5UGPp1Tuj1W5IKGgLMG6lPLytFiR3FVT1pEm6WUEJ onpcvxKMZhgCoSZWG/Z36hh25O7a0YSStNuTF0EL52+7aA79JPrqT8iF7FiOfF+FLvSO DgvNnGX02Vlosp0nPhnmDWXbUCZsfuKjJrnzkWrA3Oj9T5PJ1L8wXTR5Gxp8IQAASend GhkDttFciAuBUkpoESp+nv7iK/Y7kvU7eJmywo8+XUtvgws7PAdRW2UMmXd0OcGgc/j9 Nxom02ZCGgFqHvKXdUkQmcm2sBCcbDAVvt3IIe9nbd4F0MOX76jKTSqVc1cEoBc2Jlsi ULLw== 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=xczzHMcDzH+rvG216/Jzq8vjFMJOFCBUKxolhCXxxQ8=; b=zg+gk2078oG9zjwkqEwaGeY/Q1IdZ1zQIRSRC9aEn0eKYq7aZAFHm9p2jgahqT3S8g LnLZ5qQf6qFsVwjyZG8koaRKV1rqRs9i2/UpGXLL4CFEOju9+bOG6kWGXasYAJIu+qz6 EVege+5V8YE7Pq5xTmrtwrm2K3cel6o00N90tZw3pBkWFneOBHs3OqsCWlVmyiQyHTA/ Ft8MWl8AgzxxvNKVjKDr78VwkjFvAIS+vfptlX+nrhvrKhkKilWaFUs6EhXHbdiGUFk6 MlAawiWSzLpHaR/fJOIKI0kwq9njpSyQRd/WZfzwvj3BT8W56i3rv4oiVZQbSMvSZXgi VwFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Nije6XlX; 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 t11si1676254edi.460.2020.05.28.10.07.58; Thu, 28 May 2020 10:08:21 -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=Nije6XlX; 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 S2405382AbgE1RFX (ORCPT + 99 others); Thu, 28 May 2020 13:05:23 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:1918 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2405361AbgE1RFR (ORCPT ); Thu, 28 May 2020 13:05:17 -0400 X-UUID: 4e470d8b2b944d5082d703d49783522a-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=xczzHMcDzH+rvG216/Jzq8vjFMJOFCBUKxolhCXxxQ8=; b=Nije6XlXjOWMQQsy98woF1hgFBW6XS4TSwuwUJ48dgw4phy6vtk1KDH45EJt7UGqauwRnqwzb437906TVfHIX5yztgVeuT7HxrlwcyVZ3Ccxv9bYFdJgLRCsnd1oOoWA5a6dANmpw06h4Fy6mt9O2aKOsXEwnLqz6gMPuhI6FEU=; X-UUID: 4e470d8b2b944d5082d703d49783522a-20200529 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 73360311; Fri, 29 May 2020 01:05:12 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n1.mediatek.inc (172.21.101.15) 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:09 +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 11/16] soc: mediatek: cmdq: add write_s value function Date: Fri, 29 May 2020 01:04:46 +0800 Message-ID: <1590685491-17107-12-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 YWRkIHdyaXRlX3MgZnVuY3Rpb24gaW4gY21kcSBoZWxwZXIgZnVuY3Rpb25zIHdoaWNoDQp3cml0 ZXMgYSBjb25zdGFudCB2YWx1ZSB0byBhZ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