summaryrefslogtreecommitdiffstats
path: root/thermal_client.h
diff options
context:
space:
mode:
authorManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>2019-01-25 22:51:16 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-09-19 08:42:00 -0700
commitca0159c55dcdf1ee01f2c159ca040b07d5519278 (patch)
treebc6934de9362199b23c1574072ed7211dcceae44 /thermal_client.h
parent7362d6f42f0f97e9cc1e48a6fab26534e5f4d905 (diff)
downloadandroid_vendor_qcom_opensource_thermal-engine-ca0159c55dcdf1ee01f2c159ca040b07d5519278.tar.gz
android_vendor_qcom_opensource_thermal-engine-ca0159c55dcdf1ee01f2c159ca040b07d5519278.tar.bz2
android_vendor_qcom_opensource_thermal-engine-ca0159c55dcdf1ee01f2c159ca040b07d5519278.zip
thermal-engine: Add bandwidth level request APIs to thermal client header
Add new bandwidth perf level request APIs to thermal client library header so that client can inlude this header library and use these new APIs. Change-Id: I05a0c1f04f5d5c84a27c619a6b78c92a02aef5e8
Diffstat (limited to 'thermal_client.h')
-rw-r--r--thermal_client.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/thermal_client.h b/thermal_client.h
index 02e6911..a8fbce3 100644
--- a/thermal_client.h
+++ b/thermal_client.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016, 2019, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -91,6 +91,10 @@ int thermal_client_register_callback(char *client_name, int (*callback)(int , vo
int thermal_client_request(char *client_name, int req_data);
void thermal_client_unregister_callback(int client_cb_handle);
+/* APIs for bandwidth clients to send/clear bandwidth perf levels to thermal-engine */
+int thermal_bandwidth_client_request(char *client_name, int req_data);
+void thermal_bandwidth_client_cancel_request(char *client_name);
+
#ifdef __cplusplus
}
#endif