Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2038959ybt; Sun, 21 Jun 2020 07:22:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmdwB6NQ5eIdNg1o9kwcNE1FT32zas1tk5ghE449QNRiV0o2I1lIG7TDA0vCjMvjnyAas0 X-Received: by 2002:a05:6402:b79:: with SMTP id cb25mr12958639edb.334.1592749357592; Sun, 21 Jun 2020 07:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592749357; cv=none; d=google.com; s=arc-20160816; b=K/9TqGSG9bZHj8Hc1+22Xo2pm5fzVWuUX8kN4nIdcg6oV+hjg6SBHsv0/encR+C+OR dfhNuONVnJbeQ6mNq/Vq3kFJU+/U1MBslLAuNVFnzp8vPxtllXjf98EgGc1OdifDu0fp Lq2AFpCsW4GYE3b4K/UmXHBWoM2bT9iDWOyiwPD6MWgzUGJMBqaSwmTwfP9g9zxHhU6n Ra9ArFj+QHkGQ6hM7785S7IZCzxKKJ3FDsSi0YCSGiY16a4MFI8/bkF91SWc+eLTM5ii mAtgU0cizeDOIm/ZkMzBy/npJT9ovaFlLg69k7dfZ2XAylAsFwxoJumCIFLv/9uF8P4C OxUw== 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=nRSxux3jPezOAmIEYBHHJHw/jcJ6YJjo04hJRda3rGo=; b=sWdcqSPB7hsTgi5OdP8oUtrm8PEH9DLMqgmARUTtWSXo+V2gnVp2vCZorvNk6bb2D5 m6drfYHV2Ove5rmpZ40VHHn3xlsPQSNs9pi83IB8JjCggEBlW1N/b7ASI5oZeev7ANd7 AU4gBaOcvUctSysC+6wU6g/qHaf0wkmjWnpRP4/sHX0IEttNHYbFZ3uga4L8oClx3Put XOoK2PH/+vSIZethZ2z+sQpaj6lOD/69D+kqsOK91Gu3FTzqpQgbd+Myo0MnM0Kenpc4 V/+tH1IwZ6VdvZSvxrxx2VcZfQbcTztLE9vfgN/fiUTqUA2+tfm0C9lJuPMgXo0+V94E 4cuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="hLIqvh/+"; 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 c24si7212460edv.129.2020.06.21.07.22.15; Sun, 21 Jun 2020 07:22:37 -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="hLIqvh/+"; 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 S1730293AbgFUOTM (ORCPT + 99 others); Sun, 21 Jun 2020 10:19:12 -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 S1730167AbgFUOSr (ORCPT ); Sun, 21 Jun 2020 10:18:47 -0400 X-UUID: 2c4fd55c4f7344869aa6647e79990df6-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=nRSxux3jPezOAmIEYBHHJHw/jcJ6YJjo04hJRda3rGo=; b=hLIqvh/+7LwxHU8QgEpPf5uurerRA4dqmxyzjGX7WwY+fGnsiz9MeP5MhKvgtzpVv4Vm75mH03sLGHp79VSzGMqRrbHrMW9oDsPtjwG+dwGbDZY5n1angeKetzZ7xZ2P6naK0oXX6ZAcEweT0d3/EfkWDTtVHFQGP6poHfvEvz4=; X-UUID: 2c4fd55c4f7344869aa6647e79990df6-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 400774330; Sun, 21 Jun 2020 22:18:39 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) 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:31 +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 07/11] soc: mediatek: cmdq: add write_s_mask value function Date: Sun, 21 Jun 2020 22:18:31 +0800 Message-ID: <1592749115-24158-8-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 YWRkIHdyaXRlX3NfbWFza192YWx1ZSBmdW5jdGlvbiBpbiBjbWRxIGhlbHBlciBmdW5jdGlvbnMg d2hpY2gNCndyaXRlcyBhIGNvbnN0YW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