1 /* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 15 * any change to socperf_ipc_interface_code.h needs to be reviewed by @leonchan5 16 */ 17 18 #ifndef SOC_PERF_INTERFACES_INNER_API_SOCPERF_CLIENT_INCLUDE_SOCPERF_IPC_INTERFACE_CODE_H 19 #define SOC_PERF_INTERFACES_INNER_API_SOCPERF_CLIENT_INCLUDE_SOCPERF_IPC_INTERFACE_CODE_H 20 21 /* SAID:1906 */ 22 namespace OHOS { 23 namespace SOCPERF { 24 enum class SocPerfInterfaceCode { 25 TRANS_IPC_ID_PERF_REQUEST = 0x0001, 26 TRANS_IPC_ID_PERF_REQUEST_EX = 0x0002, 27 TRANS_IPC_ID_POWER_LIMIT_BOOST_FREQ = 0x0005, 28 TRANS_IPC_ID_THERMAL_LIMIT_BOOST_FREQ = 0x0008, 29 TRANS_IPC_ID_LIMIT_REQUEST = 0x0009, 30 }; 31 } // namespace SOCPERF 32 } // namespace OHOS 33 34 #endif // SOC_PERF_INTERFACES_INNER_API_SOCPERF_CLIENT_INCLUDE_SOCPERF_IPC_INTERFACE_CODE_H 35