summaryrefslogtreecommitdiffstats
path: root/include/linux/soundmodem.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/linux/soundmodem.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/linux/soundmodem.h')
-rw-r--r--include/linux/soundmodem.h32
1 files changed, 9 insertions, 23 deletions
diff --git a/include/linux/soundmodem.h b/include/linux/soundmodem.h
index 0bea35fce..43ad5e3a2 100644
--- a/include/linux/soundmodem.h
+++ b/include/linux/soundmodem.h
@@ -15,9 +15,10 @@
*/
struct sm_debug_data {
- unsigned long debug1;
- unsigned long debug2;
- long debug3;
+ unsigned int int_rate;
+ unsigned int mod_cycles;
+ unsigned int demod_cycles;
+ unsigned int dma_residue;
};
struct sm_diag_data {
@@ -54,26 +55,12 @@ struct sm_ioctl {
/* -------------------------------------------------------------------- */
/*
- * config: hardware
- */
-#define SM_HARDWARE_INVALID -1
-#define SM_HARDWARE_SBC 0
-#define SM_HARDWARE_WSS 1
-#define SM_HARDWARE_WSSFDX 2 /* currently does not work! */
-
-/*
- * config: mode
- */
-#define SM_MODE_INVALID -1
-#define SM_MODE_AFSK1200 0
-#define SM_MODE_FSK9600 1
-
-/*
* diagnose modes
*/
-#define SM_DIAGMODE_OFF 0
-#define SM_DIAGMODE_INPUT 1
-#define SM_DIAGMODE_DEMOD 2
+#define SM_DIAGMODE_OFF 0
+#define SM_DIAGMODE_INPUT 1
+#define SM_DIAGMODE_DEMOD 2
+#define SM_DIAGMODE_CONSTELLATION 3
/*
* diagnose flags
@@ -86,6 +73,7 @@ struct sm_ioctl {
*/
#define SM_MIXER_INVALID 0
#define SM_MIXER_AD1848 0x10
+#define SM_MIXER_CRYSTAL 0x11
#define SM_MIXER_CT1335 0x20
#define SM_MIXER_CT1345 0x21
#define SM_MIXER_CT1745 0x22
@@ -93,8 +81,6 @@ struct sm_ioctl {
/*
* ioctl values
*/
-#define SMCTL_GETMODEMTYPE 0x80
-#define SMCTL_SETMODEMTYPE 0x81
#define SMCTL_DIAGNOSE 0x82
#define SMCTL_GETMIXER 0x83
#define SMCTL_SETMIXER 0x84