dsp_tst.h 1.5 KB

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