OSDN Git Service

ALSA: firewire-motu: add tracepoints for messages for unique protocol
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 9 Apr 2017 12:33:29 +0000 (21:33 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Apr 2017 06:30:47 +0000 (08:30 +0200)
commitc6b0b9e65f094deabc0c1d499b96ed5085b0f7db
treeee8009c3d9fbe82b6365fa8a1ee01944898cd30d
parent17909c1b3058b315698965aeb33ed6434501567c
ALSA: firewire-motu: add tracepoints for messages for unique protocol

MOTU units transfer/receive messages in each data block of their
isochronous packet payload. A part of content in the message is cleard for
MIDI message transmission, while the rest is unknown yet. Additional
features are required to assist users and developers to reveal the
details.

This commit adds tracepoints for the purpose. The tracepoints are designed
for MOTU's protocol version 2 and 3 (Protocol version 1 is not upstreamed
yet). In the tracepoints, events are probed to gather first two 24 bit
data chunks of each data block. The chunks are formatted into elements
of 64 bit array with padding in MSB.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/motu/amdtp-motu-trace.h
sound/firewire/motu/amdtp-motu.c