diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-m68k/dsp56k.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-m68k/dsp56k.h')
-rw-r--r-- | include/asm-m68k/dsp56k.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/asm-m68k/dsp56k.h b/include/asm-m68k/dsp56k.h new file mode 100644 index 000000000000..ab3dd33e23a1 --- /dev/null +++ b/include/asm-m68k/dsp56k.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * linux/include/asm-m68k/dsp56k.h - defines and declarations for | ||
3 | * DSP56k device driver | ||
4 | * | ||
5 | * Copyright (C) 1996,1997 Fredrik Noring, lars brinkhoff & Tomas Berndtsson | ||
6 | * | ||
7 | * This file is subject to the terms and conditions of the GNU General Public | ||
8 | * License. See the file COPYING in the main directory of this archive | ||
9 | * for more details. | ||
10 | */ | ||
11 | |||
12 | |||
13 | /* Used for uploading DSP binary code */ | ||
14 | struct dsp56k_upload { | ||
15 | int len; | ||
16 | char *bin; | ||
17 | }; | ||
18 | |||
19 | /* For the DSP host flags */ | ||
20 | struct dsp56k_host_flags { | ||
21 | int dir; /* Bit field. 1 = write output bit, 0 = do nothing. | ||
22 | * 0x0000 means reading only, 0x0011 means | ||
23 | * writing the bits stored in `out' on HF0 and HF1. | ||
24 | * Note that HF2 and HF3 can only be read. | ||
25 | */ | ||
26 | int out; /* Bit field like above. */ | ||
27 | int status; /* Host register's current state is returned */ | ||
28 | }; | ||
29 | |||
30 | /* ioctl command codes */ | ||
31 | #define DSP56K_UPLOAD 1 /* Upload DSP binary program */ | ||
32 | #define DSP56K_SET_TX_WSIZE 2 /* Host transmit word size (1-4) */ | ||
33 | #define DSP56K_SET_RX_WSIZE 3 /* Host receive word size (1-4) */ | ||
34 | #define DSP56K_HOST_FLAGS 4 /* Host flag registers */ | ||
35 | #define DSP56K_HOST_CMD 5 /* Trig Host Command (0-31) */ | ||