dsp_tst.h 1.4 KB

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