/*1* linux/include/asm-m68k/dsp56k.h - defines and declarations for2* DSP56k device driver3*4* Copyright (C) 1996,1997 Fredrik Noring, lars brinkhoff & Tomas Berndtsson5*6* This file is subject to the terms and conditions of the GNU General Public7* License. See the file COPYING in the main directory of this archive8* for more details.9*/101112/* Used for uploading DSP binary code */13struct dsp56k_upload {14int len;15char __user *bin;16};1718/* For the DSP host flags */19struct dsp56k_host_flags {20int dir; /* Bit field. 1 = write output bit, 0 = do nothing.21* 0x0000 means reading only, 0x0011 means22* writing the bits stored in `out' on HF0 and HF1.23* Note that HF2 and HF3 can only be read.24*/25int out; /* Bit field like above. */26int status; /* Host register's current state is returned */27};2829/* ioctl command codes */30#define DSP56K_UPLOAD 1 /* Upload DSP binary program */31#define DSP56K_SET_TX_WSIZE 2 /* Host transmit word size (1-4) */32#define DSP56K_SET_RX_WSIZE 3 /* Host receive word size (1-4) */33#define DSP56K_HOST_FLAGS 4 /* Host flag registers */34#define DSP56K_HOST_CMD 5 /* Trig Host Command (0-31) */353637