Home
last modified time | relevance | path

Searched full:wakeup (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRescheduler.java40 private ScheduledFuture<?> wakeUp; field in Rescheduler
59 if (newRunAtNanos - runAtNanos < 0 || wakeUp == null) { in reschedule()
60 if (wakeUp != null) { in reschedule()
61 wakeUp.cancel(false); in reschedule()
63 wakeUp = scheduler.schedule(new FutureRunnable(), delayNanos, TimeUnit.NANOSECONDS); in reschedule()
71 if (permanent && wakeUp != null) { in cancel()
72 wakeUp.cancel(false); in cancel()
73 wakeUp = null; in cancel()
93 wakeUp = null; in run()
98 wakeUp = scheduler.schedule( in run()
[all …]
/external/autotest/client/site_tests/power_WakeupRTC/
Dpower_WakeupRTC.py15 Read the wakeup setting for for the RTC device.
17 sysfs_path = '/sys/class/rtc/%s/device/power/wakeup' % rtc_device
24 Read the current wakeup active count for the RTC device.
45 Tests that RTC devices generate wakeup events.
47 on the rtc0 wakeup alarm. For all the other RTCs, only test those
48 that have wakeup alarm capabilities.
55 raise error.TestFail('RTC wakeup is not enabled: %s' % default_rtc_device)
58 logging.info('RTC wakeup is not enabled: %s' % rtc_device)
60 logging.info('RTC wakeup is enabled for: %s' % rtc_device)
64 """Tests that a RTC device generate wakeup events.
/external/ethtool/
Drealtek.c456 "0x84: PM wakeup frame 0 0x%08x 0x%08x\n" in realtek_dump_regs()
457 "0x8C: PM wakeup frame 1 0x%08x 0x%08x\n", in realtek_dump_regs()
464 "0x94: PM wakeup frame 2 (low) 0x%08x 0x%08x\n" in realtek_dump_regs()
465 "0x9C: PM wakeup frame 2 (high) 0x%08x 0x%08x\n", in realtek_dump_regs()
472 "0xA4: PM wakeup frame 3 (low) 0x%08x 0x%08x\n" in realtek_dump_regs()
473 "0xAC: PM wakeup frame 3 (high) 0x%08x 0x%08x\n", in realtek_dump_regs()
480 "0xB4: PM wakeup frame 4 (low) 0x%08x 0x%08x\n" in realtek_dump_regs()
481 "0xBC: PM wakeup frame 4 (high) 0x%08x 0x%08x\n", in realtek_dump_regs()
488 "0xC4: Wakeup frame 0 CRC 0x%04x\n" in realtek_dump_regs()
489 "0xC6: Wakeup frame 1 CRC 0x%04x\n" in realtek_dump_regs()
[all …]
/external/u-boot/drivers/ddr/marvell/a38x/
Dmv_ddr_sys_env_lib.c32 * read gpio input for suspend-wakeup indication
33 * return indicating suspend wakeup status:
35 * 1 - supported: read magic word detect wakeup,
36 * 2 - detected wakeup from gpio
46 printf("\n_failed loading Suspend-Wakeup information (invalid board ID)\n"); in mv_ddr_sys_env_suspend_wakeup_check()
51 * - Detect if Suspend-Wakeup is supported on current board in mv_ddr_sys_env_suspend_wakeup_check()
52 * - Fetch the GPIO number for wakeup status input indication in mv_ddr_sys_env_suspend_wakeup_check()
80 * 1 - suspend wakeup in mv_ddr_sys_env_suspend_wakeup_check()
84 /* if GPIO is ON: wakeup from S2RAM indication detected */ in mv_ddr_sys_env_suspend_wakeup_check()
/external/ltp/testcases/realtime/func/prio-wake/
Dprio-wake.c23 * Test priority ordered wakeup with pthread_cond_*
31 * - Once all the threads finish execution, the start and wakeup times
33 * - The output must indicate that the thread wakeup happened in a
102 struct array wakeup = { NULL, 0 }; variable
158 wakeup.arr[wakeup.counter++] = mypri; in worker_thread()
182 wakeup.arr = malloc(rt_threads * sizeof(int)); in main()
183 wakeup.counter = 0; in main()
185 printf("Priority Ordered Wakeup\n"); in main()
222 for (i = 0; i < (wakeup.counter - 1); i++) { in main()
223 if (wakeup.arr[i] < wakeup.arr[i + 1]) { in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/tracer/
Dwakeup.tc3 # description: Test wakeup tracer
10 if ! grep -wq "wakeup" available_tracers ; then
11 echo "wakeup tracer is not supported"
15 echo wakeup > current_tracer
19 : "Wakeup higher priority task"
/external/u-boot/arch/arm/mach-mvebu/serdes/a38x/
Dsys_env_lib.c83 * DESCRIPTION: Reads GPIO input for suspend-wakeup indication.
86 * RETURNS: u32 indicating suspend wakeup status:
88 * 1 - supported: read magic word detect wakeup,
89 * 2 - detected wakeup from GPIO.
99 printf("\n_failed loading Suspend-Wakeup information (invalid board ID)\n"); in sys_env_suspend_wakeup_check()
104 * - Detect if Suspend-Wakeup is supported on current board in sys_env_suspend_wakeup_check()
105 * - Fetch the GPIO number for wakeup status input indication in sys_env_suspend_wakeup_check()
133 * 1 - suspend wakeup in sys_env_suspend_wakeup_check()
137 /* if GPIO is ON: wakeup from S2RAM indication detected */ in sys_env_suspend_wakeup_check()
/external/autotest/client/cros/power/
Dsys_power.py31 """Suspend took too long, got wakeup event (RTC tick) before it was done."""
74 """Received spurious wakeup while suspending or woke before schedule."""
125 """Verify that the device did not wakeup early.
170 """Suspend using the power manager with a wakeup timeout.
173 powerd_dbus_suspend program. powerd_dbus_suspend first sets a wakeup alarm
201 powerd_dbus_suspend program. power manager sets a wakeup alarm on the dut
259 logging.debug('Saving wakeup count: %d', wakeup_count)
269 # another wakeup fires before we've reached suspend.
270 raise SpuriousWakeupError('Received spurious wakeup in kernel.')
277 logging.debug('New wakeup count: %d', read_wakeup_count())
[all …]
/external/autotest/client/site_tests/touch_WakeupSource/
Dtouch_WakeupSource.py34 """Return path to wakeup file or None.
36 If the file does not exist, check the parent bus for wakeup rules
49 filename = os.path.join(device_dir, 'power', 'wakeup')
53 # Look for wakeup file on parent bus instead.
71 filename = os.path.join(parent, 'power', 'wakeup')
100 raise error.TestError('Wakeup file for %s said "%s".' %
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/pad/
Dsci_pad_api.h182 * This type is used to declare a wakeup mode of a pad.
280 * This function configures the wakeup mode of the pad.
284 * @param[in] wakeup wakeup to set
294 sc_err_t sc_pad_set_wakeup(sc_ipc_t ipc, sc_pad_t pad, sc_pad_wakeup_t wakeup);
297 * This function gets the wakeup mode of a pad.
301 * @param[out] wakeup pointer to return wakeup
311 sc_err_t sc_pad_get_wakeup(sc_ipc_t ipc, sc_pad_t pad, sc_pad_wakeup_t *wakeup);
322 * @param[in] wakeup wakeup to set
340 sc_pad_wakeup_t wakeup);
351 * @param[out] wakeup pointer to return wakeup to set
[all …]
/external/python/cpython3/Modules/
Dsignalmodule.c116 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1, .use_send = 0}; variable
122 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1}; variable
221 "signal wakeup fd:\n"); in report_wakeup_write_error()
239 "signal wakeup fd:\n"); in report_wakeup_send_error()
264 /* And then write to the wakeup fd *after* setting all the globals and in trip_signal()
265 doing the _PyEval_SignalReceived. We used to write to the wakeup fd in trip_signal()
269 - main thread blocks on select([wakeup.fd], ...) in trip_signal()
271 - trip_signal writes to the wakeup fd in trip_signal()
274 - the main thread empties the wakeup fd in trip_signal()
284 fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int); in trip_signal()
[all …]
/external/arm-trusted-firmware/plat/imx/common/sci/svc/pad/
Dpad_rpc_clnt.c122 sc_err_t sc_pad_set_wakeup(sc_ipc_t ipc, sc_pad_t pad, sc_pad_wakeup_t wakeup) in sc_pad_set_wakeup() argument
131 RPC_U8(&msg, 2U) = (uint8_t)wakeup; in sc_pad_set_wakeup()
140 sc_err_t sc_pad_get_wakeup(sc_ipc_t ipc, sc_pad_t pad, sc_pad_wakeup_t *wakeup) in sc_pad_get_wakeup() argument
154 if (wakeup != NULL) { in sc_pad_get_wakeup()
155 *wakeup = RPC_U8(&msg, 0U); in sc_pad_get_wakeup()
163 sc_pad_wakeup_t wakeup) in sc_pad_set_all() argument
176 RPC_U8(&msg, 9U) = (uint8_t)wakeup; in sc_pad_set_all()
187 uint32_t *ctrl, sc_pad_wakeup_t *wakeup) in sc_pad_get_all() argument
217 if (wakeup != NULL) { in sc_pad_get_all()
218 *wakeup = RPC_U8(&msg, 7U); in sc_pad_get_all()
/external/u-boot/arch/arm/dts/
Dr8a7792-blanche.dts118 wakeup-source;
125 wakeup-source;
132 wakeup-source;
139 wakeup-source;
146 wakeup-source;
153 wakeup-source;
Dat91sam9261ek.dts143 wakeup-source;
187 wakeup-source;
194 wakeup-source;
201 wakeup-source;
208 wakeup-source;
Dr8a7793-gose.dts71 wakeup-source;
78 wakeup-source;
85 wakeup-source;
92 wakeup-source;
99 wakeup-source;
106 wakeup-source;
113 wakeup-source;
120 wakeup-source;
127 wakeup-source;
134 wakeup-source;
[all …]
Dr8a7791-koelsch.dts85 wakeup-source;
92 wakeup-source;
99 wakeup-source;
106 wakeup-source;
113 wakeup-source;
120 wakeup-source;
127 wakeup-source;
134 wakeup-source;
141 wakeup-source;
148 wakeup-source;
[all …]
Dat91sam9g20ek_common.dtsi108 atmel,wakeup-counter = <10>;
109 atmel,wakeup-rtt-timer;
202 wakeup-source;
209 wakeup-source;
/external/webrtc/webrtc/base/
Dthread.cc354 ss_->WakeUp(); in Send()
369 // Our Wait loop above may have consumed some WakeUp events for this in Send()
375 // message, thread B Posts a message to A. We consume the wakeup for that in Send()
377 // this loop, we need to issue another WakeUp, or else the Posted message in Send()
381 current_thread->socketserver()->WakeUp(); in Send()
393 // - thread receiving exits: Wakeup/set ready in Thread::Clear() in ReceiveSendsFromThread()
394 // - object target cleared: Wakeup/set ready in Thread::Clear() in ReceiveSendsFromThread()
405 smsg.thread->socketserver()->WakeUp(); in ReceiveSendsFromThread()
436 // Object target cleared: remove from send list, wakeup/set ready in Clear()
450 smsg.thread->socketserver()->WakeUp(); in Clear()
Dmaccocoasocketserver.mm37 socketServer_->WakeUp();
98 // Install a timer that fires wakeup after cms has elapsed.
108 // Run until WakeUp is called, which will call stop and exit this loop.
124 void MacCocoaSocketServer::WakeUp() {
/external/jemalloc_new/include/jemalloc/internal/
Dbackground_thread_structs.h28 /* When true, it means no wakeup scheduled. */
30 /* Next scheduled wakeup time (absolute time in ns). */
34 * that need to be purged by the next wakeup. This is adjusted on
/external/grpc-grpc/src/core/lib/iomgr/
Dwakeup_fd_cv.h20 * wakeup_fd_cv uses condition variables to implement wakeup fds.
26 * A global table of cv wakeup fds is mantained. A cv wakeup fd is a negative
/external/python/cpython3/Python/
Dcondvar.h23 * the wakeup of a subsequent thread to try a PyCOND_WAIT(),
29 * specific other thread will get the wakeup signal
141 * is only needed to catch those "lost wakeup" events and in PyCOND_INIT()
166 /* "lost wakeup bug" would occur if the caller were interrupted here, in _PyCOND_WAIT_MS()
178 * just means an extra spurious wakeup for a waiting thread. in _PyCOND_WAIT_MS()
213 * a delay between notify and actual wakeup of the target thread in PyCOND_SIGNAL()
/external/perfetto/src/base/
Dunix_task_runner.cc42 void UnixTaskRunner::WakeUp() { in WakeUp() function in perfetto::base::UnixTaskRunner
73 WakeUp(); in Quit()
191 WakeUp(); in PostTask()
201 WakeUp(); in PostDelayedTask()
213 WakeUp(); in AddFileDescriptorWatch()
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DWaitingThread.java42 * waiting thread experiences a spurious wakeup and continues to wait.
126 * if a timeout occurrs, or if there is a spurious wakeup.
134 * Typically, a call to {@link #wakeup} is used to indicate
140 * @see #wakeup
182 public void wakeup() { in wakeup() method in WaitingThread
/external/grpc-grpc/src/core/lib/debug/
Dstats_data.yaml48 doc: How many times was a polling wakeup requested without an active poller
55 doc: How many times was an eventfd used as the wakeup vector for a polling
56 wakeup
59 doc: How many times was a condition variable used as the wakeup vector for a
60 polling wakeup
63 doc: How many times could a polling wakeup be satisfied by keeping the waking

12345678910>>...23