WIP FPC-III support
[linux/fpc-iii.git] / arch / arc / include / asm / dsp.h
blob202c78e567045bdc442c62f4a23c5b382a6d5b80
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2020 Synopsys, Inc. (www.synopsys.com)
5 * Author: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
6 */
7 #ifndef __ASM_ARC_DSP_H
8 #define __ASM_ARC_DSP_H
10 #ifndef __ASSEMBLY__
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
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
27 #endif /* !__ASSEMBLY__ */
29 #endif /* __ASM_ARC_DSP_H */