dsp.h File Reference

Go to the source code of this file.

Defines

#define PCDSP_MAJOR   240
#define PCDSP_DEVFS_DIR   "pcdsps"
#define PCDSP_DEVICE_NAME   "tms320"
#define PCDSP_MODID_SIM   0x1001
#define PCDSP_MODID_PC31   0x1031
#define PCDSP_MODID_PCI32   0x1032
#define PCDSP_DPRAM_WIDTH   0x0032
#define PCDSP_DPRAM_CELLSIZE   4
#define PCDSP_DPRAM_ADRSHR   2
#define PCDSP_DPRAM_WLEN   0x0800
#define PCDSP_DPRAM_SIZE   0x2000
#define BYTSIZE(X)   ((X)<<PCDSP_DPRAM_ADRSHR)
#define PCDSP_MBOX_FULL   0x0001
#define PCDSP_MBOX_READ_WAIT   0x0002
#define PCDSP_MBOX_READ_NOWAIT   0x0003
#define PCDSP_MBOX_EMPTY   0x0004
#define PCDSP_MBOX_WRITE_WAIT   0x0005
#define PCDSP_MBOX_WRITE_NOWAIT   0x0006
#define PCDSP_SET_MBOX_LOCATION   0x0007
#define PCDSP_PUT_SPEED   0x0009
#define PCDSP_PUTMEM32   0x0010
#define PCDSP_PUTMEM32INC   0x0011
#define PCDSP_GETTMEM32   0x0012
#define PCDSP_GETMEM32INC   0x0013
#define PCDSP_ADDRESS   0x0014
#define PCDSP_RESET   0x0020
#define PCDSP_RUN   0x0021
#define PCDSP_HALT   0x0022
#define PCDSP_SEM0START   0x0100
#define PCDSP_SEM0LEN   0x0101
#define PCDSP_SEM1START   0x0102
#define PCDSP_SEM1LEN   0x0103
#define PCDSP_SEM2START   0x0104
#define PCDSP_SEM2LEN   0x0105
#define PCDSP_SEM3START   0x0106
#define PCDSP_SEM3LEN   0x0107
#define PCDSP_PC31SRQ   0x0500
#define PCDSP_PC31SRQED   0x0501
#define PCDSP_PC31ACKED   0x0502
#define PCDSP_PC31ACK   0x0503
#define PCDSP_PC31ADDR   0x0504
#define PCDSP_PC31STORE   0x0505
#define PCDSP_PC31FETCH   0x0506
#define PCDSP_PC31DPENABLE   0x0507
#define PCDSP_PC31CONTROL   0x0508
#define PCDSP_GETMODID   0x0900
#define PCDSP_TALK_REVISION   0
#define PCDSP_TALK_STOREMEM   1
#define PCDSP_TALK_FETCHMEM   2
#define PCDSP_TALK_LAUNCH   3
#define PCDSP_TALK_SECTION   6
#define PCDSP_TALK_XMOVE   7
#define PCDSP_TALK_DSPSPEED   8
#define PCDSP_MBOX   0x07f0
#define PCDSP_MBOX_SIZE   0x0004
#define PCDSP_DATA1   0x0000
#define PCDSP_DATA1_SIZE   0x0030
#define PCDSP_DATA2   0x0030
#define PCDSP_DATA2_SIZE   0x0500
#define PCDSP_DATA3   0x0700
#define PCDSP_DATA3_SIZE   0x00c0


Define Documentation

#define BYTSIZE  )     ((X)<<PCDSP_DPRAM_ADRSHR)
 

Definition at line 48 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::ExecCmd(), innovative_dsp_hwi_dev::GetParameter(), innovative_dsp_hwi_dev::innovative_dsp_hwi_dev(), and innovative_dsp_hwi_dev::SetParameter().

#define PCDSP_ADDRESS   0x0014
 

Definition at line 68 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_DATA1   0x0000
 

Definition at line 117 of file dsp.h.

#define PCDSP_DATA1_SIZE   0x0030
 

Definition at line 118 of file dsp.h.

#define PCDSP_DATA2   0x0030
 

Definition at line 120 of file dsp.h.

#define PCDSP_DATA2_SIZE   0x0500
 

Definition at line 121 of file dsp.h.

#define PCDSP_DATA3   0x0700
 

Definition at line 123 of file dsp.h.

#define PCDSP_DATA3_SIZE   0x00c0
 

Definition at line 124 of file dsp.h.

#define PCDSP_DEVFS_DIR   "pcdsps"
 

Definition at line 33 of file dsp.h.

#define PCDSP_DEVICE_NAME   "tms320"
 

Definition at line 34 of file dsp.h.

#define PCDSP_DPRAM_ADRSHR   2
 

Definition at line 44 of file dsp.h.

#define PCDSP_DPRAM_CELLSIZE   4
 

Definition at line 43 of file dsp.h.

#define PCDSP_DPRAM_SIZE   0x2000
 

Definition at line 46 of file dsp.h.

Referenced by pcdsp_initialize(), pcdsp_read(), pcdsp_seek(), pcdsp_write(), and SetSemCrtlLen().

#define PCDSP_DPRAM_WIDTH   0x0032
 

Definition at line 42 of file dsp.h.

#define PCDSP_DPRAM_WLEN   0x0800
 

Definition at line 45 of file dsp.h.

#define PCDSP_GETMEM32INC   0x0013
 

Definition at line 67 of file dsp.h.

#define PCDSP_GETMODID   0x0900
 

Definition at line 95 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev(), and pcdsp_ioctl().

#define PCDSP_GETTMEM32   0x0012
 

Definition at line 66 of file dsp.h.

#define PCDSP_HALT   0x0022
 

Definition at line 72 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_MAJOR   240
 

Definition at line 32 of file dsp.h.

Referenced by InitEmu().

#define PCDSP_MBOX   0x07f0
 

Definition at line 113 of file dsp.h.

#define PCDSP_MBOX_EMPTY   0x0004
 

Definition at line 57 of file dsp.h.

Referenced by pcdsp_ioctl(), and innovative_dsp_hwi_dev::SetParameter().

#define PCDSP_MBOX_FULL   0x0001
 

Definition at line 54 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_MBOX_READ_NOWAIT   0x0003
 

Definition at line 56 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_MBOX_READ_WAIT   0x0002
 

Definition at line 55 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_MBOX_SIZE   0x0004
 

Definition at line 114 of file dsp.h.

#define PCDSP_MBOX_WRITE_NOWAIT   0x0006
 

Definition at line 59 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::ExecCmd(), pcdsp_ioctl(), and innovative_dsp_hwi_dev::SetParameter().

#define PCDSP_MBOX_WRITE_WAIT   0x0005
 

Definition at line 58 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_MODID_PC31   0x1031
 

Definition at line 38 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev().

#define PCDSP_MODID_PCI32   0x1032
 

Definition at line 39 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev().

#define PCDSP_MODID_SIM   0x1001
 

Definition at line 37 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev().

#define PCDSP_PC31ACK   0x0503
 

Definition at line 87 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PC31ACKED   0x0502
 

Definition at line 86 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PC31ADDR   0x0504
 

Definition at line 88 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PC31CONTROL   0x0508
 

Definition at line 92 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PC31DPENABLE   0x0507
 

Definition at line 91 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PC31FETCH   0x0506
 

Definition at line 90 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PC31SRQ   0x0500
 

Definition at line 84 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PC31SRQED   0x0501
 

Definition at line 85 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PC31STORE   0x0505
 

Definition at line 89 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PUT_SPEED   0x0009
 

Definition at line 62 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PUTMEM32   0x0010
 

Definition at line 64 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_PUTMEM32INC   0x0011
 

Definition at line 65 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_RESET   0x0020
 

Definition at line 70 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_RUN   0x0021
 

Definition at line 71 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_SEM0LEN   0x0101
 

Definition at line 75 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_SEM0START   0x0100
 

Definition at line 74 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_SEM1LEN   0x0103
 

Definition at line 77 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev(), and pcdsp_ioctl().

#define PCDSP_SEM1START   0x0102
 

Definition at line 76 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev(), and pcdsp_ioctl().

#define PCDSP_SEM2LEN   0x0105
 

Definition at line 79 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev(), and pcdsp_ioctl().

#define PCDSP_SEM2START   0x0104
 

Definition at line 78 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev(), and pcdsp_ioctl().

#define PCDSP_SEM3LEN   0x0107
 

Definition at line 81 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev(), and pcdsp_ioctl().

#define PCDSP_SEM3START   0x0106
 

Definition at line 80 of file dsp.h.

Referenced by innovative_dsp_hwi_dev::innovative_dsp_hwi_dev(), and pcdsp_ioctl().

#define PCDSP_SET_MBOX_LOCATION   0x0007
 

Definition at line 60 of file dsp.h.

Referenced by pcdsp_ioctl().

#define PCDSP_TALK_DSPSPEED   8
 

Definition at line 107 of file dsp.h.

#define PCDSP_TALK_FETCHMEM   2
 

Definition at line 103 of file dsp.h.

#define PCDSP_TALK_LAUNCH   3
 

Definition at line 104 of file dsp.h.

#define PCDSP_TALK_REVISION   0
 

Definition at line 101 of file dsp.h.

#define PCDSP_TALK_SECTION   6
 

Definition at line 105 of file dsp.h.

#define PCDSP_TALK_STOREMEM   1
 

Definition at line 102 of file dsp.h.

#define PCDSP_TALK_XMOVE   7
 

Definition at line 106 of file dsp.h.


Generated on Sat Apr 1 09:04:45 2006 for GXSM by  doxygen 1.4.6