| 1 |
|
| 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 |
|
| 10 | #ifndef __ASSEMBLER__
|
| 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 definitions 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
|
| 28 |
|
| 29 | #endif
|