From patchwork Sat Jan 7 02:32:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Sakamoto X-Patchwork-Id: 640093 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F272AC5479D for ; Sat, 7 Jan 2023 02:33:24 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3060740AF; Sat, 7 Jan 2023 03:32:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3060740AF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1673058802; bh=baMWX7Ra11kIUpdqSsQTmQDxwSr5+oalYorS9hL1xB4=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=BzHK0bX04fvRD6Ifm6abvO1Wo+5VCNZrNwCiKQgbZuYmqny8sYIEw3tT4YXtDUNkP RBS0Mmn8r6zRchGIXcuuJjX9Cv8QFgQXFBZI8z3qJHTLpmwLucP4n+pph9PEhNv4l8 m+c62QhJkIENyI5THtDLPmhtsLSQOmhujE30V68s= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D06FEF8024E; Sat, 7 Jan 2023 03:32:31 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5B886F8024E; Sat, 7 Jan 2023 03:32:30 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C3CC4F80217 for ; Sat, 7 Jan 2023 03:32:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C3CC4F80217 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.a=rsa-sha256 header.s=fm2 header.b=TQhYIYT+; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=bkPWbfXq Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 229033200657; Fri, 6 Jan 2023 21:32:20 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 06 Jan 2023 21:32:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1673058739; x=1673145139; bh=3THfYLHyjZ vI+FOrje600ocCUiDwxCXkVEdAyH8CAiQ=; b=TQhYIYT+cBMPFWHivAzkS63WPn wzmSh0FpPDXTquKpzcgK54Ag1TxLg4t4S8eCvijBQXnESONs5IIbPPoa+V9zN9+i B/02oLPoPbf6zs48HGSzop2n1nB/oDEIKYSqukk2UwcTJQBCacrOO8IhHt5STMuG +Z+70lBAgc8nWh8Zjx9iq5uofVkrpTyX9O9+9Pz4RUMiwwhUIG5N0VgvAgYELDcb iM8FNTvKdzZuFly44X3KWqpzrsghERdjOcyZpXrWtE8enK3JTiLgy7RvI0wXNOOu bNfFMeNjrtbP9TXdrPmHHRznYrkovCKea3+jGphL32i+b3vJk1LGN8e4zJGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1673058739; x=1673145139; bh=3THfYLHyjZvI+FOrje600ocCUiDwxCXkVEd AyH8CAiQ=; b=bkPWbfXqEkx2PSALgFXuomF9Tv9EFRLXV3Be+rjlNumTHLMxbg/ fLAkUd49MzXcar33sLFSWgrrE+gxNOK8oozF0CrGxTXtqk1HpiUprTCBiRcZTTCX ZMiUFVS0dB/iKbURdrW/C94+wKo7XG3anAlwrAufueC2gZzwvXmXkofc/nuWPzze PGxGqllPzMRuTnQZwpuzSoBlgzGPTYFO+QoF4zB1mAr81N8iXyluQWt7Ad4uGGwk AYETLImH6nMrO8aHLPr9WefpCC/O6f+ayZeUPDwZx01lmNyIXhzHI/H3leY9fBLm EDrZbzw3z6WkpDVrQqnaykY5kCmbzzeDhLQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrkedugdegkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekredtre dttdenucfhrhhomhepvfgrkhgrshhhihcuufgrkhgrmhhothhouceoohdqthgrkhgrshhh ihesshgrkhgrmhhotggthhhirdhjpheqnecuggftrfgrthhtvghrnhepffdvueelffevke duhfetjeduffeghfettdfguedtgfdvgfeufeduheevheevkeeknecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepohdqthgrkhgrshhhihesshgrkh grmhhotggthhhirdhjph X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 6 Jan 2023 21:32:18 -0500 (EST) From: Takashi Sakamoto To: tiwai@suse.de Subject: [PATCH 0/4] ALSA: firewire-lib: code refactoring for position of entry in queue Date: Sat, 7 Jan 2023 11:32:10 +0900 Message-Id: <20230107023214.29132-1-o-takashi@sakamocchi.jp> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, clemens@ladisch.de Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi, This patchset is to refactor current implementation for position of entry in queue as preparation for future work. Takashi Sakamoto (4): ALSA: firewire-lib: code refactoring for helper functions to pool sequence in rx packets ALSA: firewire-lib: code refactoring for pool position in rx packets ALSA: firewire-lib: code refactoring for cache position in tx packets ALSA: firewire-lib: code refactoring for cache position in sequence replay sound/firewire/amdtp-stream.c | 132 ++++++++++++++++------------------ sound/firewire/amdtp-stream.h | 7 +- 2 files changed, 66 insertions(+), 73 deletions(-)