]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/asm-m68k/dsp56k.h
2 * linux/include/asm-m68k/dsp56k.h - defines and declarations for
5 * Copyright (C) 1996,1997 Fredrik Noring, lars brinkhoff & Tomas Berndtsson
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
13 /* Used for uploading DSP binary code */
14 struct dsp56k_upload
{
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.
26 int out
; /* Bit field like above. */
27 int status
; /* Host register's current state is returned */
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) */