typedefs.h 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /*
  2. * Typedef's for backward compatibility (for out-of-kernel drivers)
  3. *
  4. * This file will be removed soon in future
  5. */
  6. /* core stuff */
  7. typedef struct snd_card snd_card_t;
  8. typedef struct snd_device snd_device_t;
  9. typedef struct snd_device_ops snd_device_ops_t;
  10. typedef enum snd_card_type snd_card_type_t;
  11. typedef struct snd_minor snd_minor_t;
  12. /* info */
  13. typedef struct snd_info_entry snd_info_entry_t;
  14. typedef struct snd_info_buffer snd_info_buffer_t;
  15. /* control */
  16. typedef struct snd_ctl_file snd_ctl_file_t;
  17. typedef struct snd_kcontrol snd_kcontrol_t;
  18. typedef struct snd_kcontrol_new snd_kcontrol_new_t;
  19. typedef struct snd_kcontrol_volatile snd_kcontrol_volatile_t;
  20. typedef struct snd_kctl_event snd_kctl_event_t;
  21. typedef struct snd_aes_iec958 snd_aes_iec958_t;
  22. typedef struct snd_ctl_card_info snd_ctl_card_info_t;
  23. typedef struct snd_ctl_elem_id snd_ctl_elem_id_t;
  24. typedef struct snd_ctl_elem_list snd_ctl_elem_list_t;
  25. typedef struct snd_ctl_elem_info snd_ctl_elem_info_t;
  26. typedef struct snd_ctl_elem_value snd_ctl_elem_value_t;
  27. typedef struct snd_ctl_event snd_ctl_event_t;
  28. #if defined(CONFIG_SND_MIXER_OSS) || defined(CONFIG_SND_MIXER_OSS_MODULE)
  29. typedef struct snd_mixer_oss snd_mixer_oss_t;
  30. #endif
  31. /* timer */
  32. typedef struct snd_timer snd_timer_t;
  33. typedef struct snd_timer_instance snd_timer_instance_t;
  34. typedef struct snd_timer_id snd_timer_id_t;
  35. typedef struct snd_timer_ginfo snd_timer_ginfo_t;
  36. typedef struct snd_timer_gparams snd_timer_gparams_t;
  37. typedef struct snd_timer_gstatus snd_timer_gstatus_t;
  38. typedef struct snd_timer_select snd_timer_select_t;
  39. typedef struct snd_timer_info snd_timer_info_t;
  40. typedef struct snd_timer_params snd_timer_params_t;
  41. typedef struct snd_timer_status snd_timer_status_t;
  42. typedef struct snd_timer_read snd_timer_read_t;
  43. typedef struct snd_timer_tread snd_timer_tread_t;
  44. /* PCM */
  45. typedef struct snd_pcm snd_pcm_t;
  46. typedef struct snd_pcm_str snd_pcm_str_t;
  47. typedef struct snd_pcm_substream snd_pcm_substream_t;
  48. typedef struct snd_pcm_info snd_pcm_info_t;
  49. typedef struct snd_pcm_hw_params snd_pcm_hw_params_t;
  50. typedef struct snd_pcm_sw_params snd_pcm_sw_params_t;
  51. typedef struct snd_pcm_channel_info snd_pcm_channel_info_t;
  52. typedef struct snd_pcm_status snd_pcm_status_t;
  53. typedef struct snd_pcm_mmap_status snd_pcm_mmap_status_t;
  54. typedef struct snd_pcm_mmap_control snd_pcm_mmap_control_t;
  55. typedef struct snd_mask snd_mask_t;
  56. typedef struct snd_sg_buf snd_pcm_sgbuf_t;
  57. typedef struct snd_interval snd_interval_t;
  58. typedef struct snd_xferi snd_xferi_t;
  59. typedef struct snd_xfern snd_xfern_t;
  60. typedef struct snd_xferv snd_xferv_t;
  61. typedef struct snd_pcm_file snd_pcm_file_t;
  62. typedef struct snd_pcm_runtime snd_pcm_runtime_t;
  63. typedef struct snd_pcm_hardware snd_pcm_hardware_t;
  64. typedef struct snd_pcm_ops snd_pcm_ops_t;
  65. typedef struct snd_pcm_hw_rule snd_pcm_hw_rule_t;
  66. typedef struct snd_pcm_hw_constraints snd_pcm_hw_constraints_t;
  67. typedef struct snd_ratnum ratnum_t;
  68. typedef struct snd_ratden ratden_t;
  69. typedef struct snd_pcm_hw_constraint_ratnums snd_pcm_hw_constraint_ratnums_t;
  70. typedef struct snd_pcm_hw_constraint_ratdens snd_pcm_hw_constraint_ratdens_t;
  71. typedef struct snd_pcm_hw_constraint_list snd_pcm_hw_constraint_list_t;
  72. typedef struct snd_pcm_group snd_pcm_group_t;
  73. typedef struct snd_pcm_notify snd_pcm_notify_t;
  74. /* rawmidi */
  75. typedef struct snd_rawmidi snd_rawmidi_t;
  76. typedef struct snd_rawmidi_info snd_rawmidi_info_t;
  77. typedef struct snd_rawmidi_params snd_rawmidi_params_t;
  78. typedef struct snd_rawmidi_status snd_rawmidi_status_t;
  79. typedef struct snd_rawmidi_runtime snd_rawmidi_runtime_t;
  80. typedef struct snd_rawmidi_substream snd_rawmidi_substream_t;
  81. typedef struct snd_rawmidi_str snd_rawmidi_str_t;
  82. typedef struct snd_rawmidi_ops snd_rawmidi_ops_t;
  83. typedef struct snd_rawmidi_global_ops snd_rawmidi_global_ops_t;
  84. typedef struct snd_rawmidi_file snd_rawmidi_file_t;
  85. /* hwdep */
  86. typedef struct snd_hwdep snd_hwdep_t;
  87. typedef struct snd_hwdep_info snd_hwdep_info_t;
  88. typedef struct snd_hwdep_dsp_status snd_hwdep_dsp_status_t;
  89. typedef struct snd_hwdep_dsp_image snd_hwdep_dsp_image_t;
  90. typedef struct snd_hwdep_ops snd_hwdep_ops_t;
  91. /* sequencer */
  92. typedef struct snd_seq_port_info snd_seq_port_info_t;
  93. typedef struct snd_seq_port_subscribe snd_seq_port_subscribe_t;
  94. typedef struct snd_seq_event snd_seq_event_t;
  95. typedef struct snd_seq_addr snd_seq_addr_t;
  96. typedef struct snd_seq_ev_volume snd_seq_ev_volume_t;
  97. typedef struct snd_seq_ev_loop snd_seq_ev_loop_t;
  98. typedef struct snd_seq_remove_events snd_seq_remove_events_t;
  99. typedef struct snd_seq_query_subs snd_seq_query_subs_t;
  100. typedef struct snd_seq_system_info snd_seq_system_info_t;
  101. typedef struct snd_seq_client_info snd_seq_client_info_t;
  102. typedef struct snd_seq_queue_info snd_seq_queue_info_t;
  103. typedef struct snd_seq_queue_status snd_seq_queue_status_t;
  104. typedef struct snd_seq_queue_tempo snd_seq_queue_tempo_t;
  105. typedef struct snd_seq_queue_owner snd_seq_queue_owner_t;
  106. typedef struct snd_seq_queue_timer snd_seq_queue_timer_t;
  107. typedef struct snd_seq_queue_client snd_seq_queue_client_t;
  108. typedef struct snd_seq_client_pool snd_seq_client_pool_t;
  109. typedef struct snd_seq_instr snd_seq_instr_t;
  110. typedef struct snd_seq_instr_data snd_seq_instr_data_t;
  111. typedef struct snd_seq_instr_header snd_seq_instr_header_t;
  112. typedef struct snd_seq_user_client user_client_t;
  113. typedef struct snd_seq_kernel_client kernel_client_t;
  114. typedef struct snd_seq_client client_t;
  115. typedef struct snd_seq_queue queue_t;
  116. /* seq_device */
  117. typedef struct snd_seq_device snd_seq_device_t;
  118. typedef struct snd_seq_dev_ops snd_seq_dev_ops_t;
  119. /* seq_midi */
  120. typedef struct snd_midi_event snd_midi_event_t;
  121. /* seq_midi_emul */
  122. typedef struct snd_midi_channel snd_midi_channel_t;
  123. typedef struct snd_midi_channel_set snd_midi_channel_set_t;
  124. typedef struct snd_midi_op snd_midi_op_t;
  125. /* seq_oss */
  126. typedef struct snd_seq_oss_arg snd_seq_oss_arg_t;
  127. typedef struct snd_seq_oss_callback snd_seq_oss_callback_t;
  128. typedef struct snd_seq_oss_reg snd_seq_oss_reg_t;
  129. /* virmidi */
  130. typedef struct snd_virmidi_dev snd_virmidi_dev_t;
  131. typedef struct snd_virmidi snd_virmidi_t;
  132. /* seq_instr */
  133. typedef struct snd_seq_kcluster snd_seq_kcluster_t;
  134. typedef struct snd_seq_kinstr_ops snd_seq_kinstr_ops_t;
  135. typedef struct snd_seq_kinstr snd_seq_kinstr_t;
  136. typedef struct snd_seq_kinstr_list snd_seq_kinstr_list_t;
  137. /* ac97 */
  138. typedef struct snd_ac97_bus ac97_bus_t;
  139. typedef struct snd_ac97_bus_ops ac97_bus_ops_t;
  140. typedef struct snd_ac97_template ac97_template_t;
  141. typedef struct snd_ac97 ac97_t;
  142. /* opl3/4 */
  143. typedef struct snd_opl3 opl3_t;
  144. typedef struct snd_opl4 opl4_t;
  145. /* mpu401 */
  146. typedef struct snd_mpu401 mpu401_t;
  147. /* i2c */
  148. typedef struct snd_i2c_device snd_i2c_device_t;
  149. typedef struct snd_i2c_bus snd_i2c_bus_t;
  150. typedef struct snd_ak4531 ak4531_t;