Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2040050ybt; Sun, 21 Jun 2020 07:24:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNIyT9XBQ9tZo71cgb8ogAkkcxG2IYxfK2uppfEpKLvyFwjIUfoLy3x7bG4tXSYGYYo+g/ X-Received: by 2002:aa7:dc50:: with SMTP id g16mr13149924edu.318.1592749475591; Sun, 21 Jun 2020 07:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592749475; cv=none; d=google.com; s=arc-20160816; b=BxbyizRnu98t0glBlPqtBay/MZYpIIgV5NrvXhtTzsNEK8tglvC+BNalrEuWMcskG+ /P8QTChtSUSYUnh6gQBAG/b5sy2AGYumMJQTl2PBk/q75v5XFfbtxiFnpr5eKWLtulcs GOi5vU9AJmQO6S+b7NfiE1txeA7BmC/uXT9b/45faZU/nSL4Djy1vmR4Sc3DLfA1PTTl uzU+3CJzYgknHzqc3Hx8TluJjVCYhq94QFL+MW+qNR51xu1/O7GnRlO2U0TXLVc/QzXy G9uU/4/Ppaq0rLXB7j6o3sJyMdOIR90S1vDl3BUyDSqCmmGGXPhWlNe9bJFPSYcY7ntn iNrQ== 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=X35jl0A9PZWG4f89VGa/z8r3XNAzAElwSV6w2JuPHEc=; b=bU1iQ9zLfkloY6yxQXi+E+8AUJYoOWMeXz420haKJmIzotkoAsvqCw9y69YD3eceYZ c9TVNQ6LPJxL8dKpwA3shIqQ/IxsiQI2dKY3GmDKesH/QtDohLwLGdn7Mk16ANs9Z2uQ BMcjyv4QU3FoLKw0t2QN8yOAP684RRr/TBCo6QBwO/IvwPlI/S2OyFfhXLrOM6/LZYUH wMI5QyjhcTqnWaZSx3LdFkENdW9mg6l68qG2rO6P5GEmIEettL9BXpq9//Mk0rt3ddVX aZ38Yhl3MyPgbX73i0v+yYRjjgKyUTM22wmC4yX+KcXIqQ8OE5xOsGGcyLq58gy7gylt bznQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=f9sDRcVU; 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 cz19si7366021edb.40.2020.06.21.07.24.13; Sun, 21 Jun 2020 07:24:35 -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=f9sDRcVU; 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 S1730304AbgFUOTQ (ORCPT + 99 others); Sun, 21 Jun 2020 10:19:16 -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 S1730178AbgFUOSp (ORCPT ); Sun, 21 Jun 2020 10:18:45 -0400 X-UUID: 6cdfa703b5e54dbba54a8113a8526736-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=X35jl0A9PZWG4f89VGa/z8r3XNAzAElwSV6w2JuPHEc=; b=f9sDRcVUAN7ud9fFW/9fvZvuafMj54aq6p8Yz/z5rmsGMJeS8EaD3zRbUwe4GL6rhfmp9WAS5j1hetZ+9m/IplkbZBtuDK3QvaB7BSJLpOop5Kj5PesaVmGPv9niy83atQt/YzbR3Cne+EKRetz7VsNBXS7KD/9zwspSu6JVtG0=; X-UUID: 6cdfa703b5e54dbba54a8113a8526736-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 1560567633; Sun, 21 Jun 2020 22:18:40 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) 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 04/11] soc: mediatek: cmdq: add write_s_mask function Date: Sun, 21 Jun 2020 22:18:28 +0800 Message-ID: <1592749115-24158-5-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-TM-SNTS-SMTP: 3ACBD90302F77DCF451BC8BFB949AB79550ECD588DDFECE7EC7AB1739C6B44602000:8 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 YWRkIHdyaXRlX3NfbWFzayBmdW5jdGlvbiBpbiBjbWRxIG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