Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2037964ybt; Sun, 21 Jun 2020 07:20:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeb6teeTSiyKfAsa/bmIS/lB0rHDidKkUJqfCrmzqWv/h4paeAkxf19yJe35cXqNUbAgkU X-Received: by 2002:a17:906:6441:: with SMTP id l1mr11506338ejn.169.1592749259152; Sun, 21 Jun 2020 07:20:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592749259; cv=none; d=google.com; s=arc-20160816; b=hSa/5OeDDwvD4/FdL5XmlYqVjejqoLm4LxVrJhbXUVv595r0OUjrZVhTaqjTKaG+9b Gq04eX4Jv9Krd1Z0PbctZn9SvhUck7cJGrfP9xywnN0k2Q3sLSoqIRCherT0lTgQC5e5 i5RqJ4E/LI5YV5AaBGy1qZ3CsuoER7Szu2O4y4//p5Ey1Y/s4c+tHG56XPHaRLNAYkSg SV+oXn1FlSyrRvxak5yvei2dNIszZp1jH/Qif1BB95bYIn/LRUffquCl2sFtUE88xmq6 evrbssSb4CbhaGBbuUWeAOq0GeupmJvNMMqlX0XKs8zoVnlPWs+7m996BgDAdekZ3i7Q WL5Q== 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=ln+rkT3dIfrDKNAMp7Uba3liciwtJVa1X9S3XoST1AQ=; b=BjFVoqlxIIt4ZGkC8xU5xqcK8cdZzGpn1sKVu63QpCc8ZvTO3BQO/2ORk/Ju006P/1 YIlnjO1GPFeHLoUI93ptHdy1ExcCvu7+iWgp/KLUfRuy45pZpgUDoKD904hs4Vg85BMW X62K2bNtCo6p7M+nGGk63sNL1qSLFcFYpzv1MS450B7en7LolTjYXJ6hAaNG+Zs2bu8W tq89DdXAd9X0dpYKQ/KKyrPhE4gy1VWLvQfZQwmikKLGpQfrzu6ueJMFOUJJ9QF90AoS MyoFRbgh/FdZwpCrd6i89bUDD9RI9DlUGlAwjzEf1t89Qv94V8mo4HkUjpNbv9p+ub1b 2Lsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=U6OCt2dV; 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 dn1si10219880ejc.638.2020.06.21.07.20.36; Sun, 21 Jun 2020 07:20:59 -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=U6OCt2dV; 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 S1730235AbgFUOSu (ORCPT + 99 others); Sun, 21 Jun 2020 10:18:50 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:38162 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730205AbgFUOSq (ORCPT ); Sun, 21 Jun 2020 10:18:46 -0400 X-UUID: b14a7970e3fd409ab609131b4d12002a-20200621 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=ln+rkT3dIfrDKNAMp7Uba3liciwtJVa1X9S3XoST1AQ=; b=U6OCt2dVTRO0nPOhO1YQQPaJCMz7G5u3P1ace8YKOUDsnjF8LxCGlZIC0ZaYwM0XMEAFmR4m6Jpzw3jh7uRU+78zri0fi3Q+TM9C744Wah1D/QrI3Q22RwgL0zIeHPJb1v6x5RYuMe3gaQdcx+XSSy/KpF+RZFA5wreqQrTAUpM=; X-UUID: b14a7970e3fd409ab609131b4d12002a-20200621 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1015288263; Sun, 21 Jun 2020 22:18:39 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 21 Jun 2020 22:18:30 +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; Sun, 21 Jun 2020 22:18:30 +0800 From: Dennis YC Hsieh To: Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , CK Hu , Bibby Hsieh , Houlong Wei CC: , , , , , HS Liao , Dennis YC Hsieh Subject: [PATCH v1 06/11] soc: mediatek: cmdq: add write_s value function Date: Sun, 21 Jun 2020 22:18:30 +0800 Message-ID: <1592749115-24158-7-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1592749115-24158-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1592749115-24158-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 ZXMgYSBjb25zdGFudCB2YWx1ZSB0byBhZG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