Home | History | Annotate | Download | only in linux
      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 __LINUX_MSM_AUDIO_H
     20 #define __LINUX_MSM_AUDIO_H
     21 #include <linux/types.h>
     22 #include <linux/ioctl.h>
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define AUDIO_IOCTL_MAGIC 'a'
     25 #define AUDIO_START _IOW(AUDIO_IOCTL_MAGIC, 0, unsigned)
     26 #define AUDIO_STOP _IOW(AUDIO_IOCTL_MAGIC, 1, unsigned)
     27 #define AUDIO_FLUSH _IOW(AUDIO_IOCTL_MAGIC, 2, unsigned)
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, unsigned)
     30 #define AUDIO_SET_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 4, unsigned)
     31 #define AUDIO_GET_STATS _IOR(AUDIO_IOCTL_MAGIC, 5, unsigned)
     32 #define AUDIO_ENABLE_AUDPP _IOW(AUDIO_IOCTL_MAGIC, 6, unsigned)
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define AUDIO_SET_ADRC _IOW(AUDIO_IOCTL_MAGIC, 7, unsigned)
     35 #define AUDIO_SET_EQ _IOW(AUDIO_IOCTL_MAGIC, 8, unsigned)
     36 #define AUDIO_SET_RX_IIR _IOW(AUDIO_IOCTL_MAGIC, 9, unsigned)
     37 #define AUDIO_SET_VOLUME _IOW(AUDIO_IOCTL_MAGIC, 10, unsigned)
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define AUDIO_PAUSE _IOW(AUDIO_IOCTL_MAGIC, 11, unsigned)
     40 #define AUDIO_PLAY_DTMF _IOW(AUDIO_IOCTL_MAGIC, 12, unsigned)
     41 #define AUDIO_GET_EVENT _IOR(AUDIO_IOCTL_MAGIC, 13, unsigned)
     42 #define AUDIO_ABORT_GET_EVENT _IOW(AUDIO_IOCTL_MAGIC, 14, unsigned)
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define AUDIO_REGISTER_PMEM _IOW(AUDIO_IOCTL_MAGIC, 15, unsigned)
     45 #define AUDIO_DEREGISTER_PMEM _IOW(AUDIO_IOCTL_MAGIC, 16, unsigned)
     46 #define AUDIO_ASYNC_WRITE _IOW(AUDIO_IOCTL_MAGIC, 17, unsigned)
     47 #define AUDIO_ASYNC_READ _IOW(AUDIO_IOCTL_MAGIC, 18, unsigned)
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define AUDIO_SET_INCALL _IOW(AUDIO_IOCTL_MAGIC, 19, struct msm_voicerec_mode)
     50 #define AUDIO_GET_NUM_SND_DEVICE _IOR(AUDIO_IOCTL_MAGIC, 20, unsigned)
     51 #define AUDIO_GET_SND_DEVICES _IOWR(AUDIO_IOCTL_MAGIC, 21,   struct msm_snd_device_list)
     52 #define AUDIO_ENABLE_SND_DEVICE _IOW(AUDIO_IOCTL_MAGIC, 22, unsigned)
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define AUDIO_DISABLE_SND_DEVICE _IOW(AUDIO_IOCTL_MAGIC, 23, unsigned)
     55 #define AUDIO_ROUTE_STREAM _IOW(AUDIO_IOCTL_MAGIC, 24,   struct msm_audio_route_config)
     56 #define AUDIO_GET_PCM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 30, unsigned)
     57 #define AUDIO_SET_PCM_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 31, unsigned)
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #define AUDIO_SWITCH_DEVICE _IOW(AUDIO_IOCTL_MAGIC, 32, unsigned)
     60 #define AUDIO_SET_MUTE _IOW(AUDIO_IOCTL_MAGIC, 33, unsigned)
     61 #define AUDIO_UPDATE_ACDB _IOW(AUDIO_IOCTL_MAGIC, 34, unsigned)
     62 #define AUDIO_START_VOICE _IOW(AUDIO_IOCTL_MAGIC, 35, unsigned)
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #define AUDIO_STOP_VOICE _IOW(AUDIO_IOCTL_MAGIC, 36, unsigned)
     65 #define AUDIO_REINIT_ACDB _IOW(AUDIO_IOCTL_MAGIC, 39, unsigned)
     66 #define AUDIO_OUTPORT_FLUSH _IOW(AUDIO_IOCTL_MAGIC, 40, unsigned short)
     67 #define AUDIO_SET_ERR_THRESHOLD_VALUE _IOW(AUDIO_IOCTL_MAGIC, 41,   unsigned short)
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 #define AUDIO_GET_BITSTREAM_ERROR_INFO _IOR(AUDIO_IOCTL_MAGIC, 42,   struct msm_audio_bitstream_error_info)
     70 #define AUDIO_SET_SRS_TRUMEDIA_PARAM _IOW(AUDIO_IOCTL_MAGIC, 43, unsigned)
     71 #define AUDIO_SET_STREAM_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 80,   struct msm_audio_stream_config)
     72 #define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81,   struct msm_audio_stream_config)
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74 #define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
     75 #define AUDIO_GET_STREAM_INFO _IOR(AUDIO_IOCTL_MAGIC, 83,   struct msm_audio_bitstream_info)
     76 #define AUDIO_SET_PAN _IOW(AUDIO_IOCTL_MAGIC, 84, unsigned)
     77 #define AUDIO_SET_QCONCERT_PLUS _IOW(AUDIO_IOCTL_MAGIC, 85, unsigned)
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 #define AUDIO_SET_MBADRC _IOW(AUDIO_IOCTL_MAGIC, 86, unsigned)
     80 #define AUDIO_SET_VOLUME_PATH _IOW(AUDIO_IOCTL_MAGIC, 87,   struct msm_vol_info)
     81 #define AUDIO_SET_MAX_VOL_ALL _IOW(AUDIO_IOCTL_MAGIC, 88, unsigned)
     82 #define AUDIO_ENABLE_AUDPRE _IOW(AUDIO_IOCTL_MAGIC, 89, unsigned)
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84 #define AUDIO_SET_AGC _IOW(AUDIO_IOCTL_MAGIC, 90, unsigned)
     85 #define AUDIO_SET_NS _IOW(AUDIO_IOCTL_MAGIC, 91, unsigned)
     86 #define AUDIO_SET_TX_IIR _IOW(AUDIO_IOCTL_MAGIC, 92, unsigned)
     87 #define AUDIO_GET_BUF_CFG _IOW(AUDIO_IOCTL_MAGIC, 93,   struct msm_audio_buf_cfg)
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 #define AUDIO_SET_BUF_CFG _IOW(AUDIO_IOCTL_MAGIC, 94,   struct msm_audio_buf_cfg)
     90 #define AUDIO_SET_ACDB_BLK _IOW(AUDIO_IOCTL_MAGIC, 95,   struct msm_acdb_cmd_device)
     91 #define AUDIO_GET_ACDB_BLK _IOW(AUDIO_IOCTL_MAGIC, 96,   struct msm_acdb_cmd_device)
     92 #define AUDIO_REGISTER_ION _IOW(AUDIO_IOCTL_MAGIC, 97, unsigned)
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94 #define AUDIO_DEREGISTER_ION _IOW(AUDIO_IOCTL_MAGIC, 98, unsigned)
     95 #define AUDIO_MAX_COMMON_IOCTL_NUM 100
     96 #define HANDSET_MIC 0x01
     97 #define HANDSET_SPKR 0x02
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99 #define HEADSET_MIC 0x03
    100 #define HEADSET_SPKR_MONO 0x04
    101 #define HEADSET_SPKR_STEREO 0x05
    102 #define SPKR_PHONE_MIC 0x06
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104 #define SPKR_PHONE_MONO 0x07
    105 #define SPKR_PHONE_STEREO 0x08
    106 #define BT_SCO_MIC 0x09
    107 #define BT_SCO_SPKR 0x0A
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109 #define BT_A2DP_SPKR 0x0B
    110 #define TTY_HEADSET_MIC 0x0C
    111 #define TTY_HEADSET_SPKR 0x0D
    112 #define DEFAULT_TX 0x0E
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114 #define DEFAULT_RX 0x0F
    115 #define BT_A2DP_TX 0x10
    116 #define HEADSET_MONO_PLUS_SPKR_MONO_RX 0x11
    117 #define HEADSET_MONO_PLUS_SPKR_STEREO_RX 0x12
    118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    119 #define HEADSET_STEREO_PLUS_SPKR_MONO_RX 0x13
    120 #define HEADSET_STEREO_PLUS_SPKR_STEREO_RX 0x14
    121 #define I2S_RX 0x20
    122 #define I2S_TX 0x21
    123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    124 #define ADRC_ENABLE 0x0001
    125 #define EQ_ENABLE 0x0002
    126 #define IIR_ENABLE 0x0004
    127 #define QCONCERT_PLUS_ENABLE 0x0008
    128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    129 #define MBADRC_ENABLE 0x0010
    130 #define SRS_ENABLE 0x0020
    131 #define SRS_DISABLE 0x0040
    132 #define AGC_ENABLE 0x0001
    133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    134 #define NS_ENABLE 0x0002
    135 #define TX_IIR_ENABLE 0x0004
    136 #define FLUENCE_ENABLE 0x0008
    137 #define VOC_REC_UPLINK 0x00
    138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    139 #define VOC_REC_DOWNLINK 0x01
    140 #define VOC_REC_BOTH 0x02
    141 struct msm_audio_config {
    142  uint32_t buffer_size;
    143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    144  uint32_t buffer_count;
    145  uint32_t channel_count;
    146  uint32_t sample_rate;
    147  uint32_t type;
    148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    149  uint32_t meta_field;
    150  uint32_t bits;
    151  uint32_t unused[3];
    152 };
    153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    154 struct msm_audio_stream_config {
    155  uint32_t buffer_size;
    156  uint32_t buffer_count;
    157 };
    158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    159 struct msm_audio_buf_cfg{
    160  uint32_t meta_info_enable;
    161  uint32_t frames_per_buf;
    162 };
    163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    164 struct msm_audio_stats {
    165  uint32_t byte_count;
    166  uint32_t sample_count;
    167  uint32_t unused[2];
    168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    169 };
    170 struct msm_audio_ion_info {
    171  int fd;
    172  void *vaddr;
    173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    174 };
    175 struct msm_audio_pmem_info {
    176  int fd;
    177  void *vaddr;
    178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    179 };
    180 struct msm_audio_aio_buf {
    181  void *buf_addr;
    182  uint32_t buf_len;
    183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    184  uint32_t data_len;
    185  void *private_data;
    186  unsigned short mfield_sz;
    187 };
    188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    189 #define SND_IOCTL_MAGIC 's'
    190 #define SND_MUTE_UNMUTED 0
    191 #define SND_MUTE_MUTED 1
    192 struct msm_mute_info {
    193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    194  uint32_t mute;
    195  uint32_t path;
    196 };
    197 struct msm_vol_info {
    198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    199  uint32_t vol;
    200  uint32_t path;
    201 };
    202 struct msm_voicerec_mode {
    203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    204  uint32_t rec_mode;
    205 };
    206 struct msm_snd_device_config {
    207  uint32_t device;
    208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    209  uint32_t ear_mute;
    210  uint32_t mic_mute;
    211 };
    212 #define SND_SET_DEVICE _IOW(SND_IOCTL_MAGIC, 2, struct msm_device_config *)
    213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    214 #define SND_METHOD_VOICE 0
    215 struct msm_snd_volume_config {
    216  uint32_t device;
    217  uint32_t method;
    218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    219  uint32_t volume;
    220 };
    221 #define SND_SET_VOLUME _IOW(SND_IOCTL_MAGIC, 3, struct msm_snd_volume_config *)
    222 #define SND_GET_NUM_ENDPOINTS _IOR(SND_IOCTL_MAGIC, 4, unsigned *)
    223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    224 struct msm_snd_endpoint {
    225  int id;
    226  char name[64];
    227 };
    228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    229 #define SND_GET_ENDPOINT _IOWR(SND_IOCTL_MAGIC, 5, struct msm_snd_endpoint *)
    230 #define SND_AVC_CTL _IOW(SND_IOCTL_MAGIC, 6, unsigned *)
    231 #define SND_AGC_CTL _IOW(SND_IOCTL_MAGIC, 7, unsigned *)
    232 struct msm_audio_pcm_config {
    233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    234  uint32_t pcm_feedback;
    235  uint32_t buffer_count;
    236  uint32_t buffer_size;
    237 };
    238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    239 #define AUDIO_EVENT_SUSPEND 0
    240 #define AUDIO_EVENT_RESUME 1
    241 #define AUDIO_EVENT_WRITE_DONE 2
    242 #define AUDIO_EVENT_READ_DONE 3
    243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    244 #define AUDIO_EVENT_STREAM_INFO 4
    245 #define AUDIO_EVENT_BITSTREAM_ERROR_INFO 5
    246 #define AUDIO_CODEC_TYPE_MP3 0
    247 #define AUDIO_CODEC_TYPE_AAC 1
    248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    249 struct msm_audio_bitstream_info {
    250  uint32_t codec_type;
    251  uint32_t chan_info;
    252  uint32_t sample_rate;
    253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    254  uint32_t bit_stream_info;
    255  uint32_t bit_rate;
    256  uint32_t unused[3];
    257 };
    258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    259 struct msm_audio_bitstream_error_info {
    260  uint32_t dec_id;
    261  uint32_t err_msg_indicator;
    262  uint32_t err_type;
    263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    264 };
    265 union msm_audio_event_payload {
    266  struct msm_audio_aio_buf aio_buf;
    267  struct msm_audio_bitstream_info stream_info;
    268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    269  struct msm_audio_bitstream_error_info error_info;
    270  int reserved;
    271 };
    272 struct msm_audio_event {
    273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    274  int event_type;
    275  int timeout_ms;
    276  union msm_audio_event_payload event_payload;
    277 };
    278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    279 #define MSM_SNDDEV_CAP_RX 0x1
    280 #define MSM_SNDDEV_CAP_TX 0x2
    281 #define MSM_SNDDEV_CAP_VOICE 0x4
    282 struct msm_snd_device_info {
    283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    284  uint32_t dev_id;
    285  uint32_t dev_cap;
    286  char dev_name[64];
    287 };
    288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    289 struct msm_snd_device_list {
    290  uint32_t num_dev;
    291  struct msm_snd_device_info *list;
    292 };
    293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    294 struct msm_dtmf_config {
    295  uint16_t path;
    296  uint16_t dtmf_hi;
    297  uint16_t dtmf_low;
    298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    299  uint16_t duration;
    300  uint16_t tx_gain;
    301  uint16_t rx_gain;
    302  uint16_t mixing;
    303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    304 };
    305 #define AUDIO_ROUTE_STREAM_VOICE_RX 0
    306 #define AUDIO_ROUTE_STREAM_VOICE_TX 1
    307 #define AUDIO_ROUTE_STREAM_PLAYBACK 2
    308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    309 #define AUDIO_ROUTE_STREAM_REC 3
    310 struct msm_audio_route_config {
    311  uint32_t stream_type;
    312  uint32_t stream_id;
    313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    314  uint32_t dev_id;
    315 };
    316 #define AUDIO_MAX_EQ_BANDS 12
    317 struct msm_audio_eq_band {
    318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    319  uint16_t band_idx;
    320  uint32_t filter_type;
    321  uint32_t center_freq_hz;
    322  uint32_t filter_gain;
    323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    324  uint32_t q_factor;
    325 } __attribute__ ((packed));
    326 struct msm_audio_eq_stream_config {
    327  uint32_t enable;
    328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    329  uint32_t num_bands;
    330  struct msm_audio_eq_band eq_bands[AUDIO_MAX_EQ_BANDS];
    331 } __attribute__ ((packed));
    332 struct msm_acdb_cmd_device {
    333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    334  uint32_t command_id;
    335  uint32_t device_id;
    336  uint32_t network_id;
    337  uint32_t sample_rate_id;
    338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    339  uint32_t interface_id;
    340  uint32_t algorithm_block_id;
    341  uint32_t total_bytes;
    342  uint32_t *phys_buf;
    343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    344 };
    345 #endif
    346 
    347