Home
last modified time | relevance | path

Searched refs:timeout_us (Results 1 – 19 of 19) sorted by relevance

/external/u-boot/include/linux/
Diopoll.h27 #define readx_poll_timeout(op, addr, val, cond, timeout_us) \ argument
29 unsigned long timeout = timer_get_us() + timeout_us; \
34 if (timeout_us && time_after(timer_get_us(), timeout)) { \
43 #define readb_poll_timeout(addr, val, cond, timeout_us) \ argument
44 readx_poll_timeout(readb, addr, val, cond, timeout_us)
46 #define readw_poll_timeout(addr, val, cond, timeout_us) \ argument
47 readx_poll_timeout(readw, addr, val, cond, timeout_us)
49 #define readl_poll_timeout(addr, val, cond, timeout_us) \ argument
50 readx_poll_timeout(readl, addr, val, cond, timeout_us)
52 #define readq_poll_timeout(addr, val, cond, timeout_us) \ argument
[all …]
/external/u-boot/drivers/mailbox/
Dmailbox-uclass.c109 int mbox_recv(struct mbox_chan *chan, void *data, ulong timeout_us) in mbox_recv() argument
116 timeout_us); in mbox_recv()
123 if (timeout_us) in mbox_recv()
124 timeout_us++; in mbox_recv()
130 if ((timer_get_us() - start_time) >= timeout_us) in mbox_recv()
/external/u-boot/drivers/i2c/
Dtegra_i2c.c178 int timeout_us = I2C_TIMEOUT_USEC; in wait_for_tx_fifo_empty() local
180 while (timeout_us >= 0) { in wait_for_tx_fifo_empty()
186 timeout_us -= 10; in wait_for_tx_fifo_empty()
195 int timeout_us = I2C_TIMEOUT_USEC; in wait_for_rx_fifo_notempty() local
197 while (timeout_us >= 0) { in wait_for_rx_fifo_notempty()
203 timeout_us -= 10; in wait_for_rx_fifo_notempty()
212 int timeout_us = I2C_TIMEOUT_USEC; in wait_for_transfer_complete() local
214 while (timeout_us >= 0) { in wait_for_transfer_complete()
224 timeout_us -= 10; in wait_for_transfer_complete()
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/power/pm_qos_update_request_timeout/
Dformat11 field:unsigned long timeout_us; offset:16; size:8; signed:0;
13timeout_us=%ld", __print_symbolic(REC->pm_qos_class, { PM_QOS_CPU_DMA_LATENCY, "CPU_DMA_LATENCY" }…
/external/u-boot/drivers/mtd/nand/
Dsunxi_nand_spl.c120 int timeout_us, int negation) in check_value_inner() argument
127 } while (--timeout_us); in check_value_inner()
133 int timeout_us) in check_value() argument
135 return check_value_inner(offset, expected_bits, timeout_us, 0); in check_value()
139 int timeout_us) in check_value_negated() argument
141 return check_value_inner(offset, unexpected_bits, timeout_us, 1); in check_value_negated()
/external/python/cpython3/Modules/
Dfaulthandler.c65 PY_TIMEOUT_T timeout_us; /* timeout in microseconds */ member
569 thread.timeout_us, 0); in faulthandler_thread()
646 _PyTime_t timeout, timeout_us; in faulthandler_dump_traceback_later() local
664 timeout_us = _PyTime_AsMicroseconds(timeout, _PyTime_ROUND_TIMEOUT); in faulthandler_dump_traceback_later()
665 if (timeout_us <= 0) { in faulthandler_dump_traceback_later()
670 if (timeout_us >= PY_TIMEOUT_MAX || timeout_us / SEC_TO_US >= LONG_MAX) { in faulthandler_dump_traceback_later()
685 header = format_timeout(timeout_us); in faulthandler_dump_traceback_later()
697 thread.timeout_us = (PY_TIMEOUT_T)timeout_us; in faulthandler_dump_traceback_later()
/external/u-boot/drivers/adc/
Dadc-uclass.c132 unsigned int timeout_us = uc_pdata->data_timeout_us; in adc_channel_data() local
149 } while (timeout_us--); in adc_channel_data()
158 unsigned int timeout_us = uc_pdata->multidata_timeout_us; in adc_channels_data() local
176 } while (timeout_us--); in adc_channels_data()
/external/u-boot/drivers/video/tegra124/
Ddisplay.c97 u32 mask, u32 exp_val, u32 poll_interval_us, u32 timeout_us) in tegra_dc_poll_register() argument
99 u32 temp = timeout_us; in tegra_dc_poll_register()
105 if (timeout_us > poll_interval_us) in tegra_dc_poll_register()
106 timeout_us -= poll_interval_us; in tegra_dc_poll_register()
Ddp.c55 u32 timeout_us) in tegra_dc_dpaux_poll_register() argument
58 u32 temp = timeout_us; in tegra_dc_dpaux_poll_register()
63 if (timeout_us > poll_interval_us) in tegra_dc_dpaux_poll_register()
64 timeout_us -= poll_interval_us; in tegra_dc_dpaux_poll_register()
/external/u-boot/include/
Dmailbox.h146 int mbox_recv(struct mbox_chan *chan, void *data, ulong timeout_us);
/external/tensorflow/tensorflow/core/framework/
Drendezvous.cc131 int64 timeout_us = timeout_ms * 1000; in Recv() local
132 bool notified = WaitForNotificationWithTimeout(&n, timeout_us); in Recv()
/external/u-boot/drivers/mmc/
Dbcm2835_sdhost.c393 int timeout_us = SDHST_TIMEOUT_MAX_USEC; in bcm2835_read_wait_sdcmd() local
396 !(value & SDCMD_NEW_FLAG), timeout_us); in bcm2835_read_wait_sdcmd()
398 printf("%s: timeout (%d us)\n", __func__, timeout_us); in bcm2835_read_wait_sdcmd()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine.cc335 int64 timeout_us = 1000000ll * timeout_s_; in ShutdownSession() local
336 const bool notified = WaitForNotificationWithTimeout(n.get(), timeout_us); in ShutdownSession()
/external/u-boot/arch/x86/cpu/
Dmp_init.c377 const int timeout_us = 100000; in bsp_do_flight_plan() local
388 timeout_us, step_us)) { in bsp_do_flight_plan()
/external/u-boot/drivers/nvme/
Dnvme.c166 ulong timeout_us = timeout * 100000; in nvme_submit_sync_cmd() local
177 if (timeout_us > 0 && (timer_get_us() - start_time) in nvme_submit_sync_cmd()
178 >= timeout_us) in nvme_submit_sync_cmd()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmwgfx_drm.h636 uint64_t timeout_us; member
Dvmw_screen_ioctl.c748 arg.timeout_us = VMW_FENCE_TIMEOUT_SECONDS*1000000; in vmw_ioctl_fence_finish()
/external/libdrm/include/drm/
Dvmwgfx_drm.h638 __u64 timeout_us; member
/external/kernel-headers/original/uapi/drm/
Dvmwgfx_drm.h629 __u64 timeout_us; member