summaryrefslogtreecommitdiff
path: root/include/alsa/sound/sscape_ioctl.h
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-10-29 00:50:38 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-10-29 00:50:38 +0200
commitc4d89540574dfb6a7418ed8cdd34e3cb2df585e7 (patch)
treed4dbb844ddb68e64a7dd8edb91c662c82417b6b8 /include/alsa/sound/sscape_ioctl.h
Initial commit
Diffstat (limited to 'include/alsa/sound/sscape_ioctl.h')
-rw-r--r--include/alsa/sound/sscape_ioctl.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/alsa/sound/sscape_ioctl.h b/include/alsa/sound/sscape_ioctl.h
new file mode 100644
index 0000000..c6653eb
--- /dev/null
+++ b/include/alsa/sound/sscape_ioctl.h
@@ -0,0 +1,21 @@
+#ifndef SSCAPE_IOCTL_H
+#define SSCAPE_IOCTL_H
+
+
+struct sscape_bootblock
+{
+ unsigned char code[256];
+ unsigned version;
+};
+
+#define SSCAPE_MICROCODE_SIZE 65536
+
+struct sscape_microcode
+{
+ unsigned char *code;
+};
+
+#define SND_SSCAPE_LOAD_BOOTB _IOWR('P', 100, struct sscape_bootblock)
+#define SND_SSCAPE_LOAD_MCODE _IOW ('P', 101, struct sscape_microcode)
+
+#endif