sanders: 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 Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com> Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
committed by
ronaxdevil
parent
98650a8407
commit
f0a0eb2323
@@ -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
|
||||
@@ -87,6 +87,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
|
||||
|
||||
Reference in New Issue
Block a user