122851890Sopenharmony_ci/**************************************************************************** 222851890Sopenharmony_ci **************************************************************************** 322851890Sopenharmony_ci *** 422851890Sopenharmony_ci *** This header was automatically generated from a Linux kernel header 522851890Sopenharmony_ci *** of the same name, to make information necessary for userspace to 622851890Sopenharmony_ci *** call into the kernel available to libc. It contains only constants, 722851890Sopenharmony_ci *** structures, and macros generated from the original header, and thus, 822851890Sopenharmony_ci *** contains no copyrightable information. 922851890Sopenharmony_ci *** 1022851890Sopenharmony_ci *** To edit the content of this header, modify the corresponding 1122851890Sopenharmony_ci *** source file (e.g. under external/kernel-headers/original/) then 1222851890Sopenharmony_ci *** run bionic/libc/kernel/tools/update_all.py 1322851890Sopenharmony_ci *** 1422851890Sopenharmony_ci *** Any manual change here will be lost the next time this script will 1522851890Sopenharmony_ci *** be run. You've been warned! 1622851890Sopenharmony_ci *** 1722851890Sopenharmony_ci **************************************************************************** 1822851890Sopenharmony_ci ****************************************************************************/ 1922851890Sopenharmony_ci#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED 2022851890Sopenharmony_ci#define _UAPI_SOUND_FIREWIRE_H_INCLUDED 2122851890Sopenharmony_ci#include <linux/ioctl.h> 2222851890Sopenharmony_ci#include <linux/types.h> 2322851890Sopenharmony_ci#define SNDRV_FIREWIRE_EVENT_LOCK_STATUS 0x000010cc 2422851890Sopenharmony_ci#define SNDRV_FIREWIRE_EVENT_DICE_NOTIFICATION 0xd1ce004e 2522851890Sopenharmony_ci#define SNDRV_FIREWIRE_EVENT_EFW_RESPONSE 0x4e617475 2622851890Sopenharmony_ci#define SNDRV_FIREWIRE_EVENT_DIGI00X_MESSAGE 0x746e736c 2722851890Sopenharmony_ci#define SNDRV_FIREWIRE_EVENT_MOTU_NOTIFICATION 0x64776479 2822851890Sopenharmony_ci#define SNDRV_FIREWIRE_EVENT_TASCAM_CONTROL 0x7473636d 2922851890Sopenharmony_cistruct snd_firewire_event_common { 3022851890Sopenharmony_ci unsigned int type; 3122851890Sopenharmony_ci}; 3222851890Sopenharmony_cistruct snd_firewire_event_lock_status { 3322851890Sopenharmony_ci unsigned int type; 3422851890Sopenharmony_ci unsigned int status; 3522851890Sopenharmony_ci}; 3622851890Sopenharmony_cistruct snd_firewire_event_dice_notification { 3722851890Sopenharmony_ci unsigned int type; 3822851890Sopenharmony_ci unsigned int notification; 3922851890Sopenharmony_ci}; 4022851890Sopenharmony_ci#define SND_EFW_TRANSACTION_USER_SEQNUM_MAX ((__u32) ((__u16) ~0) - 1) 4122851890Sopenharmony_cistruct snd_efw_transaction { 4222851890Sopenharmony_ci __be32 length; 4322851890Sopenharmony_ci __be32 version; 4422851890Sopenharmony_ci __be32 seqnum; 4522851890Sopenharmony_ci __be32 category; 4622851890Sopenharmony_ci __be32 command; 4722851890Sopenharmony_ci __be32 status; 4822851890Sopenharmony_ci __be32 params[0]; 4922851890Sopenharmony_ci}; 5022851890Sopenharmony_cistruct snd_firewire_event_efw_response { 5122851890Sopenharmony_ci unsigned int type; 5222851890Sopenharmony_ci __be32 response[0]; 5322851890Sopenharmony_ci}; 5422851890Sopenharmony_cistruct snd_firewire_event_digi00x_message { 5522851890Sopenharmony_ci unsigned int type; 5622851890Sopenharmony_ci __u32 message; 5722851890Sopenharmony_ci}; 5822851890Sopenharmony_cistruct snd_firewire_event_motu_notification { 5922851890Sopenharmony_ci unsigned int type; 6022851890Sopenharmony_ci __u32 message; 6122851890Sopenharmony_ci}; 6222851890Sopenharmony_cistruct snd_firewire_tascam_change { 6322851890Sopenharmony_ci unsigned int index; 6422851890Sopenharmony_ci __be32 before; 6522851890Sopenharmony_ci __be32 after; 6622851890Sopenharmony_ci}; 6722851890Sopenharmony_cistruct snd_firewire_event_tascam_control { 6822851890Sopenharmony_ci unsigned int type; 6922851890Sopenharmony_ci struct snd_firewire_tascam_change changes[0]; 7022851890Sopenharmony_ci}; 7122851890Sopenharmony_ciunion snd_firewire_event { 7222851890Sopenharmony_ci struct snd_firewire_event_common common; 7322851890Sopenharmony_ci struct snd_firewire_event_lock_status lock_status; 7422851890Sopenharmony_ci struct snd_firewire_event_dice_notification dice_notification; 7522851890Sopenharmony_ci struct snd_firewire_event_efw_response efw_response; 7622851890Sopenharmony_ci struct snd_firewire_event_digi00x_message digi00x_message; 7722851890Sopenharmony_ci struct snd_firewire_event_tascam_control tascam_control; 7822851890Sopenharmony_ci struct snd_firewire_event_motu_notification motu_notification; 7922851890Sopenharmony_ci}; 8022851890Sopenharmony_ci#define SNDRV_FIREWIRE_IOCTL_GET_INFO _IOR('H', 0xf8, struct snd_firewire_get_info) 8122851890Sopenharmony_ci#define SNDRV_FIREWIRE_IOCTL_LOCK _IO('H', 0xf9) 8222851890Sopenharmony_ci#define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) 8322851890Sopenharmony_ci#define SNDRV_FIREWIRE_IOCTL_TASCAM_STATE _IOR('H', 0xfb, struct snd_firewire_tascam_state) 8422851890Sopenharmony_ci#define SNDRV_FIREWIRE_TYPE_DICE 1 8522851890Sopenharmony_ci#define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 8622851890Sopenharmony_ci#define SNDRV_FIREWIRE_TYPE_BEBOB 3 8722851890Sopenharmony_ci#define SNDRV_FIREWIRE_TYPE_OXFW 4 8822851890Sopenharmony_ci#define SNDRV_FIREWIRE_TYPE_DIGI00X 5 8922851890Sopenharmony_ci#define SNDRV_FIREWIRE_TYPE_TASCAM 6 9022851890Sopenharmony_ci#define SNDRV_FIREWIRE_TYPE_MOTU 7 9122851890Sopenharmony_ci#define SNDRV_FIREWIRE_TYPE_FIREFACE 8 9222851890Sopenharmony_cistruct snd_firewire_get_info { 9322851890Sopenharmony_ci unsigned int type; 9422851890Sopenharmony_ci unsigned int card; 9522851890Sopenharmony_ci unsigned char guid[8]; 9622851890Sopenharmony_ci char device_name[16]; 9722851890Sopenharmony_ci}; 9822851890Sopenharmony_ci#define SNDRV_FIREWIRE_TASCAM_STATE_COUNT 64 9922851890Sopenharmony_cistruct snd_firewire_tascam_state { 10022851890Sopenharmony_ci __be32 data[SNDRV_FIREWIRE_TASCAM_STATE_COUNT]; 10122851890Sopenharmony_ci}; 10222851890Sopenharmony_ci#endif 103