~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/sound/hdsp.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
  2 #ifndef __SOUND_HDSP_H
  3 #define __SOUND_HDSP_H
  4 
  5 /*
  6  *   Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
  7  */
  8 
  9 #ifdef __linux__
 10 #include <linux/types.h>
 11 #endif
 12 
 13 #define HDSP_MATRIX_MIXER_SIZE 2048
 14 
 15 enum HDSP_IO_Type {
 16         Digiface,
 17         Multiface,
 18         H9652,
 19         H9632,
 20         RPM,
 21         Undefined,
 22 };
 23 
 24 struct hdsp_peak_rms {
 25         __u32 input_peaks[26];
 26         __u32 playback_peaks[26];
 27         __u32 output_peaks[28];
 28         __u64 input_rms[26];
 29         __u64 playback_rms[26];
 30         /* These are only used for H96xx cards */
 31         __u64 output_rms[26];
 32 };
 33 
 34 #define SNDRV_HDSP_IOCTL_GET_PEAK_RMS _IOR('H', 0x40, struct hdsp_peak_rms)
 35 
 36 struct hdsp_config_info {
 37         unsigned char pref_sync_ref;
 38         unsigned char wordclock_sync_check;
 39         unsigned char spdif_sync_check;
 40         unsigned char adatsync_sync_check;
 41         unsigned char adat_sync_check[3];
 42         unsigned char spdif_in;
 43         unsigned char spdif_out;
 44         unsigned char spdif_professional;
 45         unsigned char spdif_emphasis;
 46         unsigned char spdif_nonaudio;
 47         unsigned int spdif_sample_rate;
 48         unsigned int system_sample_rate;
 49         unsigned int autosync_sample_rate;
 50         unsigned char system_clock_mode;
 51         unsigned char clock_source;
 52         unsigned char autosync_ref;
 53         unsigned char line_out;
 54         unsigned char passthru; 
 55         unsigned char da_gain;
 56         unsigned char ad_gain;
 57         unsigned char phone_gain;
 58         unsigned char xlr_breakout_cable;
 59         unsigned char analog_extension_board;
 60 };
 61 
 62 #define SNDRV_HDSP_IOCTL_GET_CONFIG_INFO _IOR('H', 0x41, struct hdsp_config_info)
 63 
 64 struct hdsp_firmware {
 65         void *firmware_data;    /* 24413 x 4 bytes */
 66 };
 67 
 68 #define SNDRV_HDSP_IOCTL_UPLOAD_FIRMWARE _IOW('H', 0x42, struct hdsp_firmware)
 69 
 70 struct hdsp_version {
 71         enum HDSP_IO_Type io_type;
 72         unsigned short firmware_rev;
 73 };
 74 
 75 #define SNDRV_HDSP_IOCTL_GET_VERSION _IOR('H', 0x43, struct hdsp_version)
 76 
 77 struct hdsp_mixer {
 78         unsigned short matrix[HDSP_MATRIX_MIXER_SIZE];
 79 };
 80 
 81 #define SNDRV_HDSP_IOCTL_GET_MIXER _IOR('H', 0x44, struct hdsp_mixer)
 82 
 83 struct hdsp_9632_aeb {
 84         int aebi;
 85         int aebo;
 86 };
 87 
 88 #define SNDRV_HDSP_IOCTL_GET_9632_AEB _IOR('H', 0x45, struct hdsp_9632_aeb)
 89 
 90 #endif /* __SOUND_HDSP_H */
 91 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php