Home | History | Annotate | Download | only in sound
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED
     20 #define _UAPI_SOUND_FIREWIRE_H_INCLUDED
     21 #include <linux/ioctl.h>
     22 #include <linux/types.h>
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define SNDRV_FIREWIRE_EVENT_LOCK_STATUS 0x000010cc
     25 #define SNDRV_FIREWIRE_EVENT_DICE_NOTIFICATION 0xd1ce004e
     26 #define SNDRV_FIREWIRE_EVENT_EFW_RESPONSE 0x4e617475
     27 #define SNDRV_FIREWIRE_EVENT_DIGI00X_MESSAGE 0x746e736c
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 struct snd_firewire_event_common {
     30   unsigned int type;
     31 };
     32 struct snd_firewire_event_lock_status {
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34   unsigned int type;
     35   unsigned int status;
     36 };
     37 struct snd_firewire_event_dice_notification {
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39   unsigned int type;
     40   unsigned int notification;
     41 };
     42 #define SND_EFW_TRANSACTION_USER_SEQNUM_MAX ((__u32) ((__u16) ~0) - 1)
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 struct snd_efw_transaction {
     45   __be32 length;
     46   __be32 version;
     47   __be32 seqnum;
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49   __be32 category;
     50   __be32 command;
     51   __be32 status;
     52   __be32 params[0];
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 };
     55 struct snd_firewire_event_efw_response {
     56   unsigned int type;
     57   __be32 response[0];
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 };
     60 struct snd_firewire_event_digi00x_message {
     61   unsigned int type;
     62   __u32 message;
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 };
     65 union snd_firewire_event {
     66   struct snd_firewire_event_common common;
     67   struct snd_firewire_event_lock_status lock_status;
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69   struct snd_firewire_event_dice_notification dice_notification;
     70   struct snd_firewire_event_efw_response efw_response;
     71   struct snd_firewire_event_digi00x_message digi00x_message;
     72 };
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74 #define SNDRV_FIREWIRE_IOCTL_GET_INFO _IOR('H', 0xf8, struct snd_firewire_get_info)
     75 #define SNDRV_FIREWIRE_IOCTL_LOCK _IO('H', 0xf9)
     76 #define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa)
     77 #define SNDRV_FIREWIRE_TYPE_DICE 1
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 #define SNDRV_FIREWIRE_TYPE_FIREWORKS 2
     80 #define SNDRV_FIREWIRE_TYPE_BEBOB 3
     81 #define SNDRV_FIREWIRE_TYPE_OXFW 4
     82 #define SNDRV_FIREWIRE_TYPE_DIGI00X 5
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84 #define SNDRV_FIREWIRE_TYPE_TASCAM 6
     85 struct snd_firewire_get_info {
     86   unsigned int type;
     87   unsigned int card;
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89   unsigned char guid[8];
     90   char device_name[16];
     91 };
     92 #endif
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94