Merge tag 'riscv-for-linus-4.15-rc2_cleanups' of git://git.kernel.org/pub/scm/linux...
[linux/fpc-iii.git] / drivers / isdn / hardware / eicon / dsp_tst.h
blob85edd3ea50f7d15a7bc55856dd005b4133ff8ce7
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* $Id: dsp_tst.h,v 1.1.2.2 2001/02/08 12:25:43 armin Exp $ */
4 #ifndef __DIVA_PRI_HOST_TEST_DSPS_H__
5 #define __DIVA_PRI_HOST_TEST_DSPS_H__
7 /*
8 DSP registers on maestra pri
9 */
10 #define DSP1_PORT (0x00)
11 #define DSP2_PORT (0x8)
12 #define DSP3_PORT (0x800)
13 #define DSP4_PORT (0x808)
14 #define DSP5_PORT (0x810)
15 #define DSP6_PORT (0x818)
16 #define DSP7_PORT (0x820)
17 #define DSP8_PORT (0x828)
18 #define DSP9_PORT (0x830)
19 #define DSP10_PORT (0x840)
20 #define DSP11_PORT (0x848)
21 #define DSP12_PORT (0x850)
22 #define DSP13_PORT (0x858)
23 #define DSP14_PORT (0x860)
24 #define DSP15_PORT (0x868)
25 #define DSP16_PORT (0x870)
26 #define DSP17_PORT (0x1000)
27 #define DSP18_PORT (0x1008)
28 #define DSP19_PORT (0x1010)
29 #define DSP20_PORT (0x1018)
30 #define DSP21_PORT (0x1020)
31 #define DSP22_PORT (0x1028)
32 #define DSP23_PORT (0x1030)
33 #define DSP24_PORT (0x1040)
34 #define DSP25_PORT (0x1048)
35 #define DSP26_PORT (0x1050)
36 #define DSP27_PORT (0x1058)
37 #define DSP28_PORT (0x1060)
38 #define DSP29_PORT (0x1068)
39 #define DSP30_PORT (0x1070)
40 #define DSP_ADR_OFFS 0x80
42 /*------------------------------------------------------------------
43 Dsp related definitions
44 ------------------------------------------------------------------ */
45 #define DSP_SIGNATURE_PROBE_WORD 0x5a5a
46 #define dsp_make_address_ex(pm, address) ((word)((pm) ? (address) : (address) + 0x4000))
48 #endif