Searched defs:timeout (Results 1 - 25 of 86) sorted by relevance

1234

/hardware/ril/libril/
H A Dril_event.h30 struct timeval timeout; member in struct:ril_event
/hardware/bsp/intel/peripheral/libupm/src/hm11/
H A Dhm11.cxx79 struct timeval timeout; local
82 timeout.tv_sec = 0;
83 timeout.tv_usec = millis * 1000;
92 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0)
/hardware/bsp/intel/peripheral/libupm/src/ublox6/
H A Dublox6.cxx78 struct timeval timeout; local
81 timeout.tv_sec = 0;
82 timeout.tv_usec = 0;
91 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0)
/hardware/intel/bootstub/
H A Dspi-uart.c101 unsigned int timeout; local
104 timeout = MRST_SPI_TIMEOUT;
106 while (timeout--) {
114 if (timeout == 0xffffffff)
/hardware/bsp/intel/peripheral/libupm/src/mhz16/
H A Dmhz16.cxx81 struct timeval timeout; local
84 timeout.tv_sec = 0;
85 timeout.tv_usec = millis * 1000;
94 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0)
/hardware/bsp/intel/peripheral/sensors/mraa/
H A DSensor.cpp112 int64_t period_ns, int64_t timeout) {
111 batch(int handle, int flags, int64_t period_ns, int64_t timeout) argument
H A DSensorsHAL.cpp229 int64_t period_ns, int64_t timeout) {
239 return sensors[handle]->batch(handle, flags, period_ns, timeout);
290 int flags, int64_t period_ns, int64_t timeout) {
294 timeout);
228 batch(int handle, int flags, int64_t period_ns, int64_t timeout) argument
289 BatchWrapper(sensors_poll_device_1_t *dev, int handle, int flags, int64_t period_ns, int64_t timeout) argument
/hardware/qcom/display/msm8909/libqdutils/
H A Didle_invalidator.cpp61 // Open a sysfs node to receive the timeout notification from driver.
85 bool IdleInvalidator::setIdleTimeout(const uint32_t& timeout) { argument
86 ALOGD_IF(II_DEBUG, "IdleInvalidator::%s timeout %d",
87 __FUNCTION__, timeout);
89 // Open a sysfs node to send the timeout value to driver.
99 snprintf(strSleepTime, sizeof(strSleepTime), "%d", timeout);
101 // Notify driver about the timeout value
120 // Poll for an timeout event from driver
/hardware/qcom/display/msm8960/libgenlock/
H A Dgenlock.cpp68 int lockType, int timeout,
88 lock.timeout = timeout;
268 * timeout value can be specified. By default, there is no timeout.
272 * @param: timeout value in ms. GENLOCK_MAX_TIMEOUT is the maximum timeout value.
277 int timeout)
288 if (0 == timeout) {
289 ALOGW("%s: trying to lock a buffer with timeout
67 perform_lock_unlock_operation(native_handle_t *buffer_handle, int lockType, int timeout, int flags) argument
275 genlock_lock_buffer(native_handle_t *buffer_handle, genlock_lock_type_t lockType, int timeout) argument
322 genlock_wait(native_handle_t *buffer_handle, int timeout) argument
359 genlock_write_to_read(native_handle_t *buffer_handle, int timeout) argument
[all...]
/hardware/qcom/display/msm8994/libqdutils/
H A Didle_invalidator.cpp61 // Open a sysfs node to receive the timeout notification from driver.
85 bool IdleInvalidator::setIdleTimeout(const uint32_t& timeout) { argument
86 ALOGD_IF(II_DEBUG, "IdleInvalidator::%s timeout %d",
87 __FUNCTION__, timeout);
89 // Open a sysfs node to send the timeout value to driver.
99 snprintf(strSleepTime, sizeof(strSleepTime), "%d", timeout);
101 // Notify driver about the timeout value
120 // Poll for an timeout event from driver
/hardware/ti/omap4-aah/domx/mm_osal/src/
H A Dtimm_osal_events.c271 struct timespec timeout; local
361 timeout.tv_sec = now.tv_sec + timeout_us / 1000000;
362 timeout.tv_nsec = (timeout_us % 1000000) * 1000;
371 &timeout);
H A Dtimm_osal_pipes.c182 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout)
225 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout)
306 TIMM_OSAL_U32 size, TIMM_OSAL_U32 * actualSize, TIMM_OSAL_S32 timeout)
318 if ((pHandle->messageCount == 0) && (timeout == TIMM_OSAL_NO_SUSPEND))
320 /*If timeout is 0 and pipe is empty, return error */
325 if ((timeout !=TIMM_OSAL_NO_SUSPEND) &&
326 (timeout != (TIMM_OSAL_S32)TIMM_OSAL_SUSPEND))
329 supported. Going to read with infinite timeout now");
181 TIMM_OSAL_WriteToPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) argument
224 TIMM_OSAL_WriteToFrontOfPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) argument
304 TIMM_OSAL_ReadFromPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_U32 * actualSize, TIMM_OSAL_S32 timeout) argument
/hardware/ti/omap4xxx/domx/mm_osal/src/
H A Dtimm_osal_events.c271 struct timespec timeout; local
361 timeout.tv_sec = now.tv_sec + timeout_us / 1000000;
362 timeout.tv_nsec = (timeout_us % 1000000) * 1000;
371 &timeout);
H A Dtimm_osal_pipes.c182 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout)
225 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout)
306 TIMM_OSAL_U32 size, TIMM_OSAL_U32 * actualSize, TIMM_OSAL_S32 timeout)
318 if ((pHandle->messageCount == 0) && (timeout == TIMM_OSAL_NO_SUSPEND))
320 /*If timeout is 0 and pipe is empty, return error */
325 if ((timeout != TIMM_OSAL_NO_SUSPEND) &&
326 (timeout != TIMM_OSAL_SUSPEND))
329 supported. Going to read with infinite timeout now");
181 TIMM_OSAL_WriteToPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) argument
224 TIMM_OSAL_WriteToFrontOfPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) argument
304 TIMM_OSAL_ReadFromPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_U32 * actualSize, TIMM_OSAL_S32 timeout) argument
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
H A Ddriver_cmd_wext.c41 * wpa_driver_wext_set_scan_timeout - Set scan timeout to report scan completion
44 * This function can be used to set registered timeout when starting a scan to
50 int timeout = 10; /* In case scan A and B bands it can be long */ local
53 * read results after a timeout. */
57 * when scan is complete, so use longer timeout to avoid race
60 timeout = 30;
62 wpa_printf(MSG_DEBUG, "Scan requested - scan timeout %d seconds",
63 timeout);
65 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, drv,
/hardware/bsp/intel/peripheral/libmraa/src/uart/
H A Duart.c440 termio.c_cc[VTIME] = read; /* Set timeout in tenth seconds */
509 struct timeval timeout; local
513 timeout.tv_sec = 0;
514 timeout.tv_usec = 0;
516 timeout.tv_sec = millis / 1000;
517 timeout.tv_usec = (millis % 1000) * 1000;
525 if (select(dev->fd + 1, &readfds, NULL, NULL, &timeout) > 0) {
/hardware/bsp/intel/peripheral/libupm/src/grovescam/
H A Dgrovescam.cxx87 struct timeval timeout; local
92 timeout.tv_sec = 0;
93 timeout.tv_usec = 0;
97 timeout.tv_sec = millis / 1000;
98 timeout.tv_usec = (millis % 1000) * 1000;
108 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0)
451 ": timeout, maximum retries exceeded");
/hardware/ti/omap3/dspbridge/inc/
H A Drms_sh.h97 RMS_WORD timeout; /* Timeout (msec) for blocking calls */ member in struct:RMS_StrmDef
/hardware/ti/omap3/dspbridge/libbridge/inc/
H A Drms_sh.h97 RMS_WORD timeout; /* Timeout (msec) for blocking calls */ member in struct:RMS_StrmDef
/hardware/ti/omap4-aah/libtiutils/
H A DMessageQueue.cpp313 @briefWait for message in maximum three different queues with a timeout
318 @param timeout The timeout value (in micro secs) to wait for a message in any of the queues
323 android::status_t MessageQueue::waitForMsg(MessageQueue *queue1, MessageQueue *queue2, MessageQueue *queue3, int timeout) argument
379 int ret = poll(pfd, n, timeout);
/hardware/ti/omap4xxx/libtiutils/
H A DMessageQueue.cpp310 @briefWait for message in maximum three different queues with a timeout
315 @param timeout The timeout value (in micro secs) to wait for a message in any of the queues
320 android::status_t MessageQueue::waitForMsg(MessageQueue *queue1, MessageQueue *queue2, MessageQueue *queue3, int timeout) argument
376 int ret = poll(pfd, n, timeout);
/hardware/bsp/intel/peripheral/libupm/src/hmtrp/
H A Dhmtrp.cxx83 struct timeval timeout; local
85 timeout.tv_sec = 0;
86 timeout.tv_usec = millis * 1000;
95 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0)
/hardware/bsp/intel/peripheral/libupm/src/sm130/
H A Dsm130.cxx115 cerr << __FUNCTION__ << ": timeout waiting for response" << endl;
839 bool SM130::waitForTag(uint32_t timeout) argument
860 } while (getMillis() <= timeout);
/hardware/bsp/intel/peripheral/libupm/src/wt5001/
H A Dwt5001.cxx82 struct timeval timeout; local
85 timeout.tv_sec = 0;
86 timeout.tv_usec = millis * 1000;
95 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0)
182 // check for wrong response byte, or timeout
/hardware/bsp/intel/peripheral/libupm/src/zfm20/
H A Dzfm20.cxx87 struct timeval timeout; local
90 timeout.tv_sec = 0;
91 timeout.tv_usec = millis * 1000;
100 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0)

Completed in 519 milliseconds

1234