dsp.h 796 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2020 Synopsys, Inc. (www.synopsys.com)
  4. *
  5. * Author: Eugeniy Paltsev <[email protected]>
  6. */
  7. #ifndef __ASM_ARC_DSP_H
  8. #define __ASM_ARC_DSP_H
  9. #ifndef __ASSEMBLY__
  10. /*
  11. * DSP-related saved registers - need to be saved only when you are
  12. * scheduled out.
  13. * structure fields name must correspond to aux register defenitions for
  14. * automatic offset calculation in DSP_AUX_SAVE_RESTORE macros
  15. */
  16. struct dsp_callee_regs {
  17. unsigned long ACC0_GLO, ACC0_GHI, DSP_BFLY0, DSP_FFT_CTRL;
  18. #ifdef CONFIG_ARC_DSP_AGU_USERSPACE
  19. unsigned long AGU_AP0, AGU_AP1, AGU_AP2, AGU_AP3;
  20. unsigned long AGU_OS0, AGU_OS1;
  21. unsigned long AGU_MOD0, AGU_MOD1, AGU_MOD2, AGU_MOD3;
  22. #endif
  23. };
  24. #endif /* !__ASSEMBLY__ */
  25. #endif /* __ASM_ARC_DSP_H */