/device/google/marlin/power/ |
utils.c | 207 static int lock_handle = 0; local 214 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); 215 if (lock_handle == -1) 222 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]) 230 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); 231 if (lock_handle == -1) 235 return lock_handle; 240 void release_request(int lock_handle) { 259 int lock_handle = perf_lock_acq(0, 0, resource_values, local [all...] |
/device/huawei/angler/power/ |
utils.c | 178 int lock_handle = 0; local 185 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); 186 if (lock_handle == -1) 190 return lock_handle; 195 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]) 203 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); 204 if (lock_handle == -1) 208 return lock_handle; 223 int lock_handle = perf_lock_acq(0, 0, resource_values, local [all...] |
/device/lge/bullhead/power/ |
utils.c | 178 int lock_handle = 0; local 185 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); 186 if (lock_handle == -1) 190 return lock_handle; 195 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]) 203 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); 204 if (lock_handle == -1) 208 return lock_handle; 218 int lock_handle = perf_lock_acq(0, 0, resource_values, local [all...] |