Go to the source code of this file.
Defines | |
#define | MODNAME "pc31: " |
#define | MODID PCDSP_MODID_PC31 |
#define | BASEPORT 0x280 |
#define | RANGE 0x10 |
#define | DPRAMBASE 0xd0000 |
#define | DPRAMSIZE (DSP_DPRAMLEN*4) |
#define | DPLen32 (DSP_DPRAMLEN) |
#define | PC31_CRTL_RESET 0x01 |
#define | PC31_CRTL_EI2 0x10 |
#define | PC31_CRTL_HOLD 0x20 |
#define | PC31_CRTL_BL 0x80 |
#define | DSP_BASE pcdsp_iobase |
#define | DSP_ADR_H DSP_BASE+0 |
#define | DSP_ADR_L DSP_BASE+2 |
#define | DSP_DAT_H DSP_BASE+4 |
#define | DSP_DAT_L DSP_BASE+6 |
#define | DSP_CRTL DSP_BASE+8 |
#define | DSP_DPCTL DSP_BASE+10 |
#define | DSP_SRQ DSP_BASE+12 |
#define | DSP_ACK DSP_BASE+14 |
#define | DSPNEW 1 |
#define | DSPOLD 0 |
#define | PC31J |
#define | PC31K |
#define | PCDSP_SEMANZ 4 |
#define | GET_SEM(N) outw(1, DSP_DPCTL) |
#define | FREE_SEM(N) outw(0, DSP_DPCTL) |
#define | SEM(N) (inw(DSP_DPCTL)&1) |
#define | CLR_IRQ0 |
#define | SET_IRQ0 |
#define | CLR_IRQ1 |
#define | SET_IRQ1 |
#define | PC31_SRQ(X) outw_p((X), DSP_SRQ) |
#define | PC31_SRQED (inw_p(DSP_SRQ) & 2) |
#define | PC31_ACKED (~inw_p(DSP_SRQ) & 1) |
#define | PC31_ACK outw_p(0, DSP_ACK) |
#define | PCDSP_PC31CRTL outw_p(pc31_crtlword, DSP_CRTL) |
#define | PCDSP_HALT_X outw_p(0x13, DSP_CRTL); PC31_SRQ(0); PC31_ACK |
#define | PCDSP_RUN_X outw_p(0x12, DSP_CRTL) |
#define | ENABLE_PC31_DPRAM outw_p(0x00, DSP_CRTL) |
#define | PC31_CONTROL(X) outw_p((X), DSP_CRTL) |
Variables | |
unsigned short | pc31_crtlword = 0 |
|
|
|
Definition at line 106 of file pc31.h. Referenced by pcdsp_halt(), and pcdsp_interrupt_0(). |
|
Definition at line 108 of file pc31.h. Referenced by pcdsp_halt(), and pcdsp_interrupt_1(). |
|
|
|
|
|
|
|
|
|
Definition at line 62 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
Definition at line 63 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
|
|
|
|
Definition at line 64 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
Definition at line 65 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
|
|
|
|
|
|
|
|
Definition at line 126 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
Definition at line 100 of file pc31.h. Referenced by free_dport_range(). |
|
Definition at line 98 of file pc31.h. Referenced by get_dport_range(). |
|
|
|
|
|
Definition at line 115 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
Definition at line 114 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
Definition at line 127 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
|
|
|
|
|
|
|
|
Definition at line 112 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
Definition at line 113 of file pc31.h. Referenced by pcdsp_ioctl(). |
|
|
|
|
|
Definition at line 122 of file pc31.h. Referenced by pcdsp_halt(), and pcdsp_reset(). |
|
|
|
Definition at line 124 of file pc31.h. Referenced by pcdsp_reset(), and pcdsp_run(). |
|
Definition at line 95 of file pc31.h. Referenced by FindSem(), SetSemCrtlAdr(), and SetSemCrtlLen(). |
|
|
|
Definition at line 102 of file pc31.h. Referenced by get_dport_range(). |
|
Definition at line 107 of file pc31.h. Referenced by pcdsp_interrupt_0(). |
|
Definition at line 109 of file pc31.h. Referenced by pcdsp_interrupt_1(). |
|
|