blob: 14397d7a8799eb5c3ff28dad9e2cff0402a5738b [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/*
2 * Copyright (C) 2018 MediaTek Inc.
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#ifndef __MT_SWITCH__
15#define __MT_SWITCH__
16/*
17 * =========================
18 * !!!!!!!!!!!NOTICE!!!!!!!!
19 * =========================
20 * MT_SWITCH OPTION must delcare as Mask value
21 * And sort them from smallest to largest
22 * MT_SWITCH_MX_ITEM was used to determine argument range
23*/
24enum {
25 /* =================== */
26 /* user define mt switch event */
27 /* =================== */
28 MT_SWITCH_SCHEDSWITCH = 0x0001,
29 MT_SWITCH_64_32BIT = 0x0002,
30 MT_SWITCH_TAGPOLLING = 0x0004,
31 MT_SWITCH_EVENT_TIMER = 0x0008,
32 /* =================== */
33 MT_SWITCH_MX_ITEM
34};
35
36extern struct metdevice met_switch;
37#endif