diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2021-10-15 10:08:18 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-10-15 17:52:09 +0200 |
commit | 58b62ab7025912ce1be36e3ba19d49620a0161b6 (patch) | |
tree | 744c34aed991e334ecc8fe557b8acda276bd3e52 /include/uapi/sound | |
parent | ALSA: firewire-motu: add message parser for meter information in command DSP ... (diff) | |
download | linux-58b62ab7025912ce1be36e3ba19d49620a0161b6.tar.xz linux-58b62ab7025912ce1be36e3ba19d49620a0161b6.zip |
ALSA: firewire-motu: add ioctl command to read cached hardware meter
This patch adds new ioctl commands for userspace applications to read
cached image about hardware meters in register DSP and command DSP models.
The content of image differs depending on models. Model-specific parser
should be implemented in userspace.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20211015080826.34847-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/uapi/sound')
-rw-r--r-- | include/uapi/sound/firewire.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/sound/firewire.h b/include/uapi/sound/firewire.h index 82d4765fbeee..a8df8fb03b52 100644 --- a/include/uapi/sound/firewire.h +++ b/include/uapi/sound/firewire.h @@ -80,6 +80,8 @@ union snd_firewire_event { #define SNDRV_FIREWIRE_IOCTL_LOCK _IO('H', 0xf9) #define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) #define SNDRV_FIREWIRE_IOCTL_TASCAM_STATE _IOR('H', 0xfb, struct snd_firewire_tascam_state) +#define SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER _IOR('H', 0xfc, struct snd_firewire_motu_register_dsp_meter) +#define SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER _IOR('H', 0xfd, struct snd_firewire_motu_command_dsp_meter) #define SNDRV_FIREWIRE_TYPE_DICE 1 #define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 |