History

ALSA: firewire-motu: enable to read transaction cache via hwdep interface

MOTU FireWire series can transfer messages to registered address. These messages are transferred for the status of internal clock synchronization just after starting streams. When the synchronization is stable, it's 0x01ffffff. Else, it's 0x05ffffff. This commit adds a functionality for user space applications to receive content of the message.

Takashi Sakamoto committed 9 years ago

Commit 5aaab1b1 parent 71c37973 files · +35 −2Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/sound/firewire.h+7−0
@@ -10,6 +10,7 @@ · 9 unmodified lines
1010 #define SNDRV_FIREWIRE_EVENT_DICE_NOTIFICATION 0xd1ce004e
1111 #define SNDRV_FIREWIRE_EVENT_EFW_RESPONSE 0x4e617475
1212 #define SNDRV_FIREWIRE_EVENT_DIGI00X_MESSAGE 0x746e736c
13+#define SNDRV_FIREWIRE_EVENT_MOTU_NOTIFICATION 0x64776479
1314
1415 struct snd_firewire_event_common {
1516 unsigned int type; /* SNDRV_FIREWIRE_EVENT_xxx */
@@ -46,12 +47,18 @@ struct snd_firewire_event_digi00x_message { · 30 unmodified lines
4647 __u32 message; /* Digi00x-specific message */
4748 };
4849
50+struct snd_firewire_event_motu_notification {
51+ unsigned int type;
52+ __u32 message; /* MOTU-specific bits. */
53+};
54+
4955 union snd_firewire_event {
5056 struct snd_firewire_event_common common;
5157 struct snd_firewire_event_lock_status lock_status;
5258 struct snd_firewire_event_dice_notification dice_notification;
5359 struct snd_firewire_event_efw_response efw_response;
5460 struct snd_firewire_event_digi00x_message digi00x_message;
61+ struct snd_firewire_event_motu_notification motu_notification;
5562 };
5663
5764

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t