developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * Copyright (c) 2023 MediaTek Inc. All Rights Reserved. |
| 4 | * |
| 5 | * Author: Ren-Ting Wang <ren-ting.wang@mediatek.com> |
| 6 | */ |
| 7 | |
| 8 | #ifndef _TOPS_H_ |
| 9 | #define _TOPS_H_ |
| 10 | |
| 11 | #define CORE_TOPS_MASK (GENMASK(CORE_TOPS_NUM - 1, 0)) |
| 12 | |
| 13 | enum core_id { |
| 14 | CORE_OFFLOAD_0, |
| 15 | CORE_OFFLOAD_1, |
| 16 | CORE_OFFLOAD_2, |
| 17 | CORE_OFFLOAD_3, |
| 18 | CORE_OFFLOAD_NUM, |
| 19 | CORE_MGMT = CORE_OFFLOAD_NUM, |
| 20 | CORE_TOPS_NUM, |
| 21 | CORE_AP = CORE_TOPS_NUM, |
| 22 | CORE_MAX, |
| 23 | }; |
| 24 | #endif /* _TOPS_H_ */ |