Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 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 | #define SNDRV_FIREWIRE_EVENT_LOCK_STATUS 0x000010cc |
| 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 24 | #define SNDRV_FIREWIRE_EVENT_DICE_NOTIFICATION 0xd1ce004e |
| 25 | struct snd_firewire_event_common { |
| 26 | unsigned int type; |
| 27 | }; |
| 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 29 | struct snd_firewire_event_lock_status { |
| 30 | unsigned int type; |
| 31 | unsigned int status; |
| 32 | }; |
| 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 34 | struct snd_firewire_event_dice_notification { |
| 35 | unsigned int type; |
| 36 | unsigned int notification; |
| 37 | }; |
| 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 39 | union snd_firewire_event { |
| 40 | struct snd_firewire_event_common common; |
| 41 | struct snd_firewire_event_lock_status lock_status; |
| 42 | struct snd_firewire_event_dice_notification dice_notification; |
| 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 44 | }; |
| 45 | #define SNDRV_FIREWIRE_IOCTL_GET_INFO _IOR('H', 0xf8, struct snd_firewire_get_info) |
| 46 | #define SNDRV_FIREWIRE_IOCTL_LOCK _IO('H', 0xf9) |
| 47 | #define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) |
| 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 49 | #define SNDRV_FIREWIRE_TYPE_DICE 1 |
| 50 | struct snd_firewire_get_info { |
| 51 | unsigned int type; |
| 52 | unsigned int card; |
| 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 54 | unsigned char guid[8]; |
| 55 | char device_name[16]; |
| 56 | }; |
| 57 | #endif |
| 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |