All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: clemens@ladisch.de, tiwai@suse.de
Cc: alsa-devel@alsa-project.org
Subject: [PATCH 00/19] ALSA: bebob/fireworks/oxfw: code refactoring toward rework for reservation of isochronous resources
Date: Wed, 12 Jun 2019 17:44:03 +0900	[thread overview]
Message-ID: <20190612084422.5344-1-o-takashi@sakamocchi.jp> (raw)

Hi,

This patchset is a part of patches to reserve/release isochronous
resources in pcm.hw_params/hw_free callbacks, like posted patchsets
below:
https://mailman.alsa-project.org/pipermail/alsa-devel/2019-June/150118.html
https://mailman.alsa-project.org/pipermail/alsa-devel/2019-June/150863.html

However, in this patchset, I focus on code refactoring, due to kernel
API implementation in firewire-lib.

The target devices supported by ALSA bebob, fireworks and oxfw drivers
implements Connection Management Procedure (CMP) in IEC 61883-1. For
CMP, the drivers use kernel API in firewire-lib. This API has private
data including the data for isochronous resources, and its
implementation is tightly-coupled to maintenance of isochronous
resources.

This patchset is a preparation for future work to change the CMP
implementation.

Takashi Sakamoto (19):
  ALSA: bebob: configure sampling transfer frequency in pcm.hw_params
    callback
  ALSA: bebob: don't set XRUN in stop streaming
  ALSA: bebob: obsolete useless member of private structure
  ALSA: bebob: code refactoring to initialize/destroy stream data
  ALSA: fireworks: unify substream counter
  ALSA: fireworks: code refactoring for rawmidi.open/close
  ALSA: fireworks: code refactoring for pcm.hw_params/hw_free
  ALSA: fireworks: configure sampling transfer frequency in
    pcm.hw_params callback
  ALSA: fireworks: configure stream parameters in pcm.hw_params callback
  ALSA: fireworks: don't set XRUN in stop streaming
  ALSA: oxfw: code refactoring for stop condition of packet streaming
  ALSA: oxfw: set packet parameter according to current configuration
  ALSA: oxfw: start duplex streams if supported
  ALSA: oxfw: break packet streaming at bus-reset handler
  ALSA: oxfw: expand stop procedure for packet streaming
  ALSA: oxfw: rename helper functions for duplex streams
  ALSA: oxfw: unify substreams counter
  ALSA: oxfw: configure packet format in pcm.hw_params callback
  ALSA: oxfw: configure stream parameter in pcm.hw_params callback

 sound/firewire/bebob/bebob.h                |   5 +-
 sound/firewire/bebob/bebob_midi.c           |  22 +-
 sound/firewire/bebob/bebob_pcm.c            |  22 +-
 sound/firewire/bebob/bebob_stream.c         | 339 ++++++++++----------
 sound/firewire/fireworks/fireworks.h        |   6 +-
 sound/firewire/fireworks/fireworks_midi.c   |  54 +---
 sound/firewire/fireworks/fireworks_pcm.c    |  59 +---
 sound/firewire/fireworks/fireworks_stream.c | 159 +++++----
 sound/firewire/oxfw/oxfw-midi.c             |  22 +-
 sound/firewire/oxfw/oxfw-pcm.c              |  34 +-
 sound/firewire/oxfw/oxfw-stream.c           | 335 ++++++++++---------
 sound/firewire/oxfw/oxfw.c                  |  17 +-
 sound/firewire/oxfw/oxfw.h                  |  22 +-
 13 files changed, 553 insertions(+), 543 deletions(-)

-- 
2.20.1

             reply	other threads:[~2019-06-12  8:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-12  8:44 Takashi Sakamoto [this message]
2019-06-12  8:44 ` [PATCH 01/19] ALSA: bebob: configure sampling transfer frequency in pcm.hw_params callback Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 02/19] ALSA: bebob: don't set XRUN in stop streaming Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 03/19] ALSA: bebob: obsolete useless member of private structure Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 04/19] ALSA: bebob: code refactoring to initialize/destroy stream data Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 05/19] ALSA: fireworks: unify substream counter Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 06/19] ALSA: fireworks: code refactoring for rawmidi.open/close Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 07/19] ALSA: fireworks: code refactoring for pcm.hw_params/hw_free Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 08/19] ALSA: fireworks: configure sampling transfer frequency in pcm.hw_params callback Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 09/19] ALSA: fireworks: configure stream parameters " Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 10/19] ALSA: fireworks: don't set XRUN in stop streaming Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 11/19] ALSA: oxfw: code refactoring for stop condition of packet streaming Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 12/19] ALSA: oxfw: set packet parameter according to current configuration Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 13/19] ALSA: oxfw: start duplex streams if supported Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 14/19] ALSA: oxfw: break packet streaming at bus-reset handler Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 15/19] ALSA: oxfw: expand stop procedure for packet streaming Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 16/19] ALSA: oxfw: rename helper functions for duplex streams Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 17/19] ALSA: oxfw: unify substreams counter Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 18/19] ALSA: oxfw: configure packet format in pcm.hw_params callback Takashi Sakamoto
2019-06-12  8:44 ` [PATCH 19/19] ALSA: oxfw: configure stream parameter " Takashi Sakamoto
2019-06-12 13:30 ` [PATCH 00/19] ALSA: bebob/fireworks/oxfw: code refactoring toward rework for reservation of isochronous resources Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190612084422.5344-1-o-takashi@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.