1 /* $Id: dsp_tst.h,v 1.1.2.2 2001/02/08 12:25:43 armin Exp $ */
3 #ifndef __DIVA_PRI_HOST_TEST_DSPS_H__
4 #define __DIVA_PRI_HOST_TEST_DSPS_H__
7 DSP registers on maestra pri
9 #define DSP1_PORT (0x00)
10 #define DSP2_PORT (0x8)
11 #define DSP3_PORT (0x800)
12 #define DSP4_PORT (0x808)
13 #define DSP5_PORT (0x810)
14 #define DSP6_PORT (0x818)
15 #define DSP7_PORT (0x820)
16 #define DSP8_PORT (0x828)
17 #define DSP9_PORT (0x830)
18 #define DSP10_PORT (0x840)
19 #define DSP11_PORT (0x848)
20 #define DSP12_PORT (0x850)
21 #define DSP13_PORT (0x858)
22 #define DSP14_PORT (0x860)
23 #define DSP15_PORT (0x868)
24 #define DSP16_PORT (0x870)
25 #define DSP17_PORT (0x1000)
26 #define DSP18_PORT (0x1008)
27 #define DSP19_PORT (0x1010)
28 #define DSP20_PORT (0x1018)
29 #define DSP21_PORT (0x1020)
30 #define DSP22_PORT (0x1028)
31 #define DSP23_PORT (0x1030)
32 #define DSP24_PORT (0x1040)
33 #define DSP25_PORT (0x1048)
34 #define DSP26_PORT (0x1050)
35 #define DSP27_PORT (0x1058)
36 #define DSP28_PORT (0x1060)
37 #define DSP29_PORT (0x1068)
38 #define DSP30_PORT (0x1070)
39 #define DSP_ADR_OFFS 0x80
41 /*------------------------------------------------------------------
42 Dsp related definitions
43 ------------------------------------------------------------------ */
44 #define DSP_SIGNATURE_PROBE_WORD 0x5a5a
45 #define dsp_make_address_ex(pm, address) ((word)((pm) ? (address) : (address) + 0x4000))