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