138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris/****************************************************************************
238062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ****************************************************************************
338062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***
438062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   This header was automatically generated from a Linux kernel header
538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   of the same name, to make information necessary for userspace to
638062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   call into the kernel available to libc.  It contains only constants,
738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   structures, and macros generated from the original header, and thus,
838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   contains no copyrightable information.
938062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***
1038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   To edit the content of this header, modify the corresponding
1138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
1238062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
1338062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***
1438062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   Any manual change here will be lost the next time this script will
1538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   be run. You've been warned!
1638062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***
1738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ****************************************************************************
1838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ****************************************************************************/
1938062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED
2038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define _UAPI_SOUND_FIREWIRE_H_INCLUDED
2138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#include <linux/ioctl.h>
22ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#include <linux/types.h>
2338062f954c637861348dd8078cefb73554e6f12cChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define SNDRV_FIREWIRE_EVENT_LOCK_STATUS 0x000010cc
2538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define SNDRV_FIREWIRE_EVENT_DICE_NOTIFICATION 0xd1ce004e
26ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define SNDRV_FIREWIRE_EVENT_EFW_RESPONSE 0x4e617475
2738062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisstruct snd_firewire_event_common {
28ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned int type;
3038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris};
3138062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisstruct snd_firewire_event_lock_status {
32d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned int type;
33ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned int status;
3538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris};
3638062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisstruct snd_firewire_event_dice_notification {
37d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned int type;
38ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned int notification;
4038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris};
41d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao#define SND_EFW_TRANSACTION_USER_SEQNUM_MAX ((__u32) ((__u16) ~0) - 1)
42ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct snd_efw_transaction {
43ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __be32 length;
45d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __be32 version;
46d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __be32 seqnum;
47d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __be32 category;
48ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __be32 command;
50d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __be32 status;
51d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __be32 params[0];
52ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris};
53ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct snd_firewire_event_efw_response {
55d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned int type;
56d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __be32 response[0];
57ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris};
5838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
5938062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisunion snd_firewire_event {
60d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  struct snd_firewire_event_common common;
61d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  struct snd_firewire_event_lock_status lock_status;
62d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  struct snd_firewire_event_dice_notification dice_notification;
6338062f954c637861348dd8078cefb73554e6f12cChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  struct snd_firewire_event_efw_response efw_response;
6538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris};
6638062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define SNDRV_FIREWIRE_IOCTL_GET_INFO _IOR('H', 0xf8, struct snd_firewire_get_info)
6738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define SNDRV_FIREWIRE_IOCTL_LOCK _IO('H', 0xf9)
6838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa)
7038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define SNDRV_FIREWIRE_TYPE_DICE 1
71ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define SNDRV_FIREWIRE_TYPE_FIREWORKS 2
72ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define SNDRV_FIREWIRE_TYPE_BEBOB 3
73ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
7438062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisstruct snd_firewire_get_info {
75d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned int type;
76d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned int card;
77d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned char guid[8];
78ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  char device_name[16];
8038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris};
8138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#endif
82