Home
last modified time | relevance | path

Searched refs:duration (Results 1 – 18 of 18) sorted by relevance

/device/lge/bullhead/power/
Dutils.c48 static int (*perf_lock_acq)(unsigned long handle, int duration,
175 int interaction(int duration, int num_args, int opt_list[]) in interaction() argument
180 if (duration < 0 || num_args < 1 || opt_list[0] == NULL) in interaction()
185 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction()
195 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]) in interaction_with_handle() argument
198 if (duration < 0 || num_args < 1 || opt_list[0] == NULL) in interaction_with_handle()
203 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction_with_handle()
Dpower.c231 int interaction(int duration, int num_args, int opt_list[]);
232 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]);
259 int duration = 1500; in power_hint() local
321 duration = duration_hint + 750; in power_hint()
324 duration = 5750; in power_hint()
328 …handle_little = interaction_with_handle(handle_little,duration, sizeof(resources)/sizeof(resources… in power_hint()
/device/huawei/angler/power/
Dutils.c48 static int (*perf_lock_acq)(unsigned long handle, int duration,
175 int interaction(int duration, int num_args, int opt_list[]) in interaction() argument
180 if (duration < 0 || num_args < 1 || opt_list[0] == NULL) in interaction()
185 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction()
195 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]) in interaction_with_handle() argument
198 if (duration < 0 || num_args < 1 || opt_list[0] == NULL) in interaction_with_handle()
203 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction_with_handle()
Dpower.c237 int interaction(int duration, int num_args, int opt_list[]);
238 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]);
277 int duration = 1500; in power_hint() local
337 duration = duration_hint + 750; in power_hint()
340 duration = 5750; in power_hint()
344 …handle_little = interaction_with_handle(handle_little,duration, sizeof(resources)/sizeof(resources… in power_hint()
369 int duration = 0; in power_hint() local
370 handle = interaction_with_handle(handle, duration, in power_hint()
374 handle_hotplug = interaction_with_handle(handle_hotplug, duration, in power_hint()
/device/google/marlin/power/
Dpower-8996.c134 static int process_boost(int boost_handle, int duration) in process_boost() argument
163 boost_handle, duration, launch_resources_size, launch_resources); in process_boost()
195 int duration = 2000; // boosts 2s for starting encoding in process_video_encode_hint() local
196 boost_handle = process_boost(boost_handle, duration); in process_video_encode_hint()
197 ALOGV("LAUNCH ENCODER-ON: %d MS", duration); in process_video_encode_hint()
261 int duration = 5000; in process_activity_launch_hint() local
268 launch_handle = process_boost(launch_handle, duration); in process_activity_launch_hint()
Dutils.c58 static int (*perf_lock_acq)(unsigned long handle, int duration,
206 void interaction(int duration, int num_args, int opt_list[]) in interaction() argument
211 if (duration < 0 || num_args < 1 || opt_list[0] == 0) in interaction()
216 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction()
224 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]) in interaction_with_handle() argument
227 if (duration < 0 || num_args < 1 || opt_list[0] == 0) in interaction_with_handle()
232 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction_with_handle()
Dpower.c241 void interaction(int duration, int num_args, int opt_list[]);
274 int duration = 0; in power_hint() local
293 sustained_mode_handle, duration, in power_hint()
309 sustained_mode_handle, duration, in power_hint()
328 vr_mode_handle, duration, in power_hint()
343 int duration = 0; in power_hint() local
364 vr_mode_handle, duration, in power_hint()
381 vr_mode_handle, duration, in power_hint()
400 sustained_mode_handle, duration, in power_hint()
423 int duration = 1500; // 1.5s by default in power_hint() local
[all …]
Dutils.h51 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ccbench/
Dccbench.py166 duration = 0.0
179 return niters, duration
181 duration = t2 - start_time
182 if duration >= min_duration:
184 return niters, duration
308 duration = LATENCY_DURATION
309 nb_pings = int(duration / interval)
332 loop(start_time, duration * 1.5, end_event, do_yield=False)
403 def bandwidth_client(addr, packet_size, duration): argument
415 end_time = start_time + duration * 2.0
[all …]
/device/google/contexthub/firmware/app/chre/common/
Dchre_app_syscalls.c61 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot) in chreTimerSet() argument
63 uint32_t dur_lo = duration; in chreTimerSet()
64 uint32_t dur_hi = duration >> 32; in chreTimerSet()
/device/google/contexthub/inc/chre/
Dre.h254 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot);
/device/google/accessory/arduino/USB_Host_Shield/
DUsb.h147 …byte setIdle( byte addr, byte ep, byte interface, byte reportID, byte duration, unsigned int nak_l…
201 inline byte USB::setIdle( byte addr, byte ep, byte interface, byte reportID, byte duration, unsigne… in setIdle() argument
202 …return( ctrlReq( addr, ep, bmREQ_HIDOUT, HID_REQUEST_SET_IDLE, reportID, duration, interface, 0x00… in setIdle()
/device/google/contexthub/util/nanotool/
Dlog.cpp127 std::chrono::duration<float> log_time = in LogEx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_file2k.py473 def _run_workers(self, func, nb_workers, duration=0.2): argument
485 time.sleep(duration/100)
491 time.sleep(duration)
/device/google/contexthub/firmware/os/core/
Dnanohub_chre.c93 static inline uint32_t osChreTimerSet(uint64_t duration, const void* cookie, bool oneShot) in osChreTimerSet() argument
95 uint32_t timId = timTimerSetNew(duration, cookie, oneShot); in osChreTimerSet()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/
Diobench.py244 def run_during(duration, func): argument
253 if _t() - start_timestamp > duration:
/device/google/marlin/
DWCNSS_qcom_cfg.ini266 # Increase sleep duration (seconds) during IMPS
/device/lge/bullhead/wifi/
DWCNSS_qcom_cfg.ini14 # Increase sleep duration (seconds) during IMPS