Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (C) 2020 Synopsys, Inc. (www.synopsys.com)
0004  *
0005  * Author: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
0006  */
0007 #ifndef __ASM_ARC_DSP_H
0008 #define __ASM_ARC_DSP_H
0009 
0010 #ifndef __ASSEMBLY__
0011 
0012 /*
0013  * DSP-related saved registers - need to be saved only when you are
0014  * scheduled out.
0015  * structure fields name must correspond to aux register defenitions for
0016  * automatic offset calculation in DSP_AUX_SAVE_RESTORE macros
0017  */
0018 struct dsp_callee_regs {
0019     unsigned long ACC0_GLO, ACC0_GHI, DSP_BFLY0, DSP_FFT_CTRL;
0020 #ifdef CONFIG_ARC_DSP_AGU_USERSPACE
0021     unsigned long AGU_AP0, AGU_AP1, AGU_AP2, AGU_AP3;
0022     unsigned long AGU_OS0, AGU_OS1;
0023     unsigned long AGU_MOD0, AGU_MOD1, AGU_MOD2, AGU_MOD3;
0024 #endif
0025 };
0026 
0027 #endif /* !__ASSEMBLY__ */
0028 
0029 #endif /* __ASM_ARC_DSP_H */