kernel-fxtec-pro1x/drivers/isdn/hardware/eicon/dsp_tst.h
Linus Torvalds 1da177e4c3 Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
2005-04-16 15:20:36 -07:00

47 lines
1.5 KiB
C

/* $Id: dsp_tst.h,v 1.1.2.2 2001/02/08 12:25:43 armin Exp $ */
#ifndef __DIVA_PRI_HOST_TEST_DSPS_H__
#define __DIVA_PRI_HOST_TEST_DSPS_H__
/*
DSP registers on maestra pri
*/
#define DSP1_PORT (0x00)
#define DSP2_PORT (0x8)
#define DSP3_PORT (0x800)
#define DSP4_PORT (0x808)
#define DSP5_PORT (0x810)
#define DSP6_PORT (0x818)
#define DSP7_PORT (0x820)
#define DSP8_PORT (0x828)
#define DSP9_PORT (0x830)
#define DSP10_PORT (0x840)
#define DSP11_PORT (0x848)
#define DSP12_PORT (0x850)
#define DSP13_PORT (0x858)
#define DSP14_PORT (0x860)
#define DSP15_PORT (0x868)
#define DSP16_PORT (0x870)
#define DSP17_PORT (0x1000)
#define DSP18_PORT (0x1008)
#define DSP19_PORT (0x1010)
#define DSP20_PORT (0x1018)
#define DSP21_PORT (0x1020)
#define DSP22_PORT (0x1028)
#define DSP23_PORT (0x1030)
#define DSP24_PORT (0x1040)
#define DSP25_PORT (0x1048)
#define DSP26_PORT (0x1050)
#define DSP27_PORT (0x1058)
#define DSP28_PORT (0x1060)
#define DSP29_PORT (0x1068)
#define DSP30_PORT (0x1070)
#define DSP_ADR_OFFS 0x80
/*------------------------------------------------------------------
Dsp related definitions
------------------------------------------------------------------ */
#define DSP_SIGNATURE_PROBE_WORD 0x5a5a
#define dsp_make_address_ex(pm,address) ((word)((pm) ? (address) : (address) + 0x4000))
#endif