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_MBOX_ID_H_ |
| 9 | #define _TOPS_MBOX_ID_H_ |
| 10 | |
| 11 | enum mbox_cm2ap_cmd_id { |
| 12 | MBOX_CM2AP_CMD_CORE_CTRL = 0, |
| 13 | MBOX_CM2AP_CMD_HPDMA = 10, |
| 14 | MBOX_CM2AP_CMD_TNL_OFFLOAD = 11, |
| 15 | MBOX_CM2AP_CMD_TEST = 31, |
| 16 | __MBOX_CM2AP_CMD_MAX = 32, |
| 17 | }; |
| 18 | |
| 19 | enum mbox_ap2cm_cmd_id { |
| 20 | MBOX_AP2CM_CMD_CORE_CTRL = 0, |
| 21 | MBOX_AP2CM_CMD_NET = 1, |
| 22 | MBOX_AP2CM_CMD_WDT = 2, |
developer | fbdb511 | 2023-08-21 15:12:14 +0800 | [diff] [blame^] | 23 | MBOX_AP2CM_CMD_TRM = 3, |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 24 | MBOX_AP2CM_CMD_TNL_OFFLOAD = 11, |
| 25 | MBOX_AP2CM_CMD_TEST = 31, |
| 26 | __MBOX_AP2CM_CMD_MAX = 32, |
| 27 | }; |
| 28 | |
| 29 | enum mbox_cx2ap_cmd_id { |
| 30 | MBOX_CX2AP_CMD_CORE_CTRL = 0, |
| 31 | MBOX_CX2AP_CMD_HPDMA = 10, |
| 32 | __MBOX_CX2AP_CMD_MAX = 32, |
| 33 | }; |
| 34 | |
| 35 | enum mbox_ap2cx_cmd_id { |
| 36 | MBOX_AP2CX_CMD_CORE_CTRL = 0, |
| 37 | MBOX_AP2CX_CMD_NET = 1, |
| 38 | MBOX_AP2CX_CMD_WDT = 2, |
developer | fbdb511 | 2023-08-21 15:12:14 +0800 | [diff] [blame^] | 39 | MBOX_AP2CX_CMD_TRM = 3, |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 40 | __MBOX_AP2CX_CMD_MAX = 32, |
| 41 | }; |
| 42 | |
| 43 | enum mbox_cm2cx_cmd_id { |
| 44 | MBOX_CM2CX_CMD_CORE_CTRL = 0, |
| 45 | __MBOX_CM2CX_CMD_MAX = 32, |
| 46 | }; |
| 47 | |
| 48 | enum mbox_cx2cm_cmd_id { |
| 49 | MBOX_CX2CM_CMD_CORE_CTRL = 0, |
| 50 | __MBOX_CX2CM_CMD_MAX = 32, |
| 51 | }; |
| 52 | |
| 53 | #endif /* _TOPS_MBOX_ID_H_ */ |