/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkFence.hpp | 58 VkResult wait(const std::chrono::time_point<CLOCK, DURATION> &timeout) in wait() argument 60 return counted_event->wait(timeout) ? VK_SUCCESS : VK_TIMEOUT; in wait()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
H A D | notification.cc | 57 absl::Duration timeout) const { in WaitForNotificationWithTimeout() 61 Condition(&HasBeenNotifiedInternal, &this->notified_yet_), timeout); in WaitForNotificationWithTimeout()
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | socket.c | 53 #define CONN_TIMEOUT_DEFAULT 8000 /* default connect timeout = 8s */ 390 static int tipc_sk_sock_err(struct socket *sock, long *timeout) in tipc_sk_sock_err() argument 404 if (!*timeout) in tipc_sk_sock_err() 407 return sock_intr_errno(*timeout); in tipc_sk_sock_err() 542 long timeout = msecs_to_jiffies(CONN_TIMEOUT_DEFAULT); in __tipc_shutdown() local 547 tipc_wait_for_cond(sock, &timeout, (!tsk->cong_link_cnt && in __tipc_shutdown() 815 * @timeout: timeout to wait for wakeup 821 struct msghdr *msg, size_t dlen, long timeout) in tipc_sendmcast() 837 rc = tipc_wait_for_cond(sock, &timeout, !ts in tipc_sendmcast() 820 tipc_sendmcast(struct socket *sock, struct tipc_name_seq *seq, struct msghdr *msg, size_t dlen, long timeout) tipc_sendmcast() argument 935 tipc_send_group_unicast(struct socket *sock, struct msghdr *m, int dlen, long timeout) tipc_send_group_unicast() argument 979 tipc_send_group_anycast(struct socket *sock, struct msghdr *m, int dlen, long timeout) tipc_send_group_anycast() argument 1064 tipc_send_group_bcast(struct socket *sock, struct msghdr *m, int dlen, long timeout) tipc_send_group_bcast() argument 1138 tipc_send_group_mcast(struct socket *sock, struct msghdr *m, int dlen, long timeout) tipc_send_group_mcast() argument 1403 long timeout = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT); __tipc_sendmsg() local 1551 long timeout = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT); __tipc_sendstream() local 1896 long timeout; tipc_recvmsg() local 2023 long timeout; tipc_recvstream() local 2573 long timeout = (flags & O_NONBLOCK) ? 0 : tsk->conn_timeout; tipc_connect() local [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | socket.c | 55 #define CONN_TIMEOUT_DEFAULT 8000 /* default connect timeout = 8s */ 404 static int tipc_sk_sock_err(struct socket *sock, long *timeout) in tipc_sk_sock_err() argument 418 if (!*timeout) in tipc_sk_sock_err() 421 return sock_intr_errno(*timeout); in tipc_sk_sock_err() 556 long timeout = msecs_to_jiffies(CONN_TIMEOUT_DEFAULT); in __tipc_shutdown() local 561 tipc_wait_for_cond(sock, &timeout, (!tsk->cong_link_cnt && in __tipc_shutdown() 839 * @timeout: timeout to wait for wakeup 845 struct msghdr *msg, size_t dlen, long timeout) in tipc_sendmcast() 860 rc = tipc_wait_for_cond(sock, &timeout, !ts in tipc_sendmcast() 844 tipc_sendmcast(struct socket *sock, struct tipc_uaddr *ua, struct msghdr *msg, size_t dlen, long timeout) tipc_sendmcast() argument 958 tipc_send_group_unicast(struct socket *sock, struct msghdr *m, int dlen, long timeout) tipc_send_group_unicast() argument 1002 tipc_send_group_anycast(struct socket *sock, struct msghdr *m, int dlen, long timeout) tipc_send_group_anycast() argument 1084 tipc_send_group_bcast(struct socket *sock, struct msghdr *m, int dlen, long timeout) tipc_send_group_bcast() argument 1158 tipc_send_group_mcast(struct socket *sock, struct msghdr *m, int dlen, long timeout) tipc_send_group_mcast() argument 1416 long timeout = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT); __tipc_sendmsg() local 1561 long timeout = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT); __tipc_sendstream() local 1898 long timeout; tipc_recvmsg() local 2026 long timeout; tipc_recvstream() local 2580 long timeout = (flags & O_NONBLOCK) ? 0 : tsk->conn_timeout; tipc_connect() local [all...] |
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | dma-fence.h | 230 signed long (*wait)(struct dma_fence *fence, bool intr, signed long timeout); 382 signed long dma_fence_default_wait(struct dma_fence *fence, bool intr, signed long timeout); 555 signed long dma_fence_wait_timeout(struct dma_fence *, bool intr, signed long timeout); 556 signed long dma_fence_wait_any_timeout(struct dma_fence **fences, uint32_t count, bool intr, signed long timeout, 578 /* Since dma_fence_wait_timeout cannot timeout with in dma_fence_wait()
|
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | mpp_list.h | 69 MPP_RET wait_lt(RK_S64 timeout, RK_S32 val); 70 MPP_RET wait_le(RK_S64 timeout, RK_S32 val); 71 MPP_RET wait_gt(RK_S64 timeout, RK_S32 val); 72 MPP_RET wait_ge(RK_S64 timeout, RK_S32 val);
|
/drivers/hdf_core/adapter/uhdf2/host/src/ |
H A D | devmgr_service_proxy.c | 45 int timeout = waitTimes; in DevmgrServiceProxyAttachDeviceHost() local 47 HDF_LOGI("wait devmgr attach device host : %{public}d, will retry %{public}d times", hostId, timeout); in DevmgrServiceProxyAttachDeviceHost() 57 timeout--; in DevmgrServiceProxyAttachDeviceHost() 59 } while ((status != HDF_SUCCESS) && (timeout > 0)); in DevmgrServiceProxyAttachDeviceHost()
|
/drivers/peripheral/usb/test/moduletest/common/liteos/ |
H A D | usb_host_raw_api_func_test.cpp | 190 static void TestAsyncRead(char *readBuf, int32_t timeout) in TestAsyncRead() argument 196 timeout = timeout * 1000; in TestAsyncRead() 198 while (timeout-- > 0) { in TestAsyncRead()
|
/kernel/linux/linux-5.10/drivers/fpga/ |
H A D | xilinx-spi.c | 67 unsigned long timeout = jiffies + msecs_to_jiffies(1000); in wait_for_init_b() local 70 while (time_before(jiffies, timeout)) { in wait_for_init_b() 173 unsigned long timeout = jiffies + usecs_to_jiffies(info->config_complete_timeout_us); in xilinx_spi_write_complete() local 180 * scheduled out for more than 'timeout', we still check for DONE in xilinx_spi_write_complete() 184 expired = time_after(jiffies, timeout); in xilinx_spi_write_complete()
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm_tis_spi_cr50.c | 89 unsigned long remaining, timeout = allowed_access - time_now; in cr50_ensure_access_delay() local 92 timeout); in cr50_ensure_access_delay() 122 * around for jiffies. In this case, we'll probably timeout or read in cr50_needs_waking() 163 unsigned long timeout = jiffies + CR50_FLOW_CONTROL; in cr50_spi_flow_control() local 176 if (time_after(jiffies, timeout)) { in cr50_spi_flow_control()
|
/kernel/linux/linux-5.10/arch/arm/mach-orion5x/ |
H A D | terastation_pro2-setup.c | 164 int timeout; in tsp2_miconread() local 167 timeout = 10; in tsp2_miconread() 170 if (--timeout == 0) in tsp2_miconread() 175 if (timeout == 0) in tsp2_miconread()
|
H A D | kurobox_pro-setup.c | 189 int timeout; in kurobox_pro_miconread() local 192 timeout = 10; in kurobox_pro_miconread() 195 if (--timeout == 0) in kurobox_pro_miconread() 200 if (timeout == 0) in kurobox_pro_miconread()
|
/kernel/linux/linux-5.10/arch/arm/mach-bcm/ |
H A D | platsmp.c | 165 bool timeout = false; in kona_boot_secondary() local 200 while (!timeout && readl_relaxed(boot_reg) == boot_val) in kona_boot_secondary() 201 timeout = local_clock() - start_clock > SECONDARY_TIMEOUT_NS; in kona_boot_secondary() 205 if (!timeout) in kona_boot_secondary() 208 pr_err("timeout waiting for cpu %u to start\n", cpu_id); in kona_boot_secondary()
|
/kernel/linux/linux-5.10/drivers/net/arcnet/ |
H A D | com20020_cs.c | 89 static int timeout = 3; variable 95 module_param(timeout, int, 0); 130 lp->timeout = timeout; in com20020_probe()
|
/kernel/linux/linux-5.10/drivers/net/dsa/ |
H A D | mv88e6060.c | 56 unsigned long timeout; in mv88e6060_switch_reset() local 80 timeout = jiffies + 1 * HZ; in mv88e6060_switch_reset() 81 while (time_before(jiffies, timeout)) { in mv88e6060_switch_reset() 91 if (time_after(jiffies, timeout)) in mv88e6060_switch_reset()
|
/kernel/linux/linux-6.6/arch/arm/mach-bcm/ |
H A D | platsmp.c | 165 bool timeout = false; in kona_boot_secondary() local 200 while (!timeout && readl_relaxed(boot_reg) == boot_val) in kona_boot_secondary() 201 timeout = local_clock() - start_clock > SECONDARY_TIMEOUT_NS; in kona_boot_secondary() 205 if (!timeout) in kona_boot_secondary() 208 pr_err("timeout waiting for cpu %u to start\n", cpu_id); in kona_boot_secondary()
|
/kernel/linux/linux-6.6/arch/arm/mach-orion5x/ |
H A D | kurobox_pro-setup.c | 186 int timeout; in kurobox_pro_miconread() local 189 timeout = 10; in kurobox_pro_miconread() 192 if (--timeout == 0) in kurobox_pro_miconread() 197 if (timeout == 0) in kurobox_pro_miconread()
|
H A D | terastation_pro2-setup.c | 164 int timeout; in tsp2_miconread() local 167 timeout = 10; in tsp2_miconread() 170 if (--timeout == 0) in tsp2_miconread() 175 if (timeout == 0) in tsp2_miconread()
|
/kernel/linux/linux-5.10/drivers/input/serio/ |
H A D | arc_ps2.c | 49 unsigned int timeout = 1000; in arc_ps2_check_rx() local 71 } while (--timeout); in arc_ps2_check_rx() 91 int timeout = STAT_TIMEOUT; in arc_ps2_write() local 102 } while (--timeout); in arc_ps2_write() 104 dev_err(&io->dev, "write timeout\n"); in arc_ps2_write()
|
H A D | ioc3kbd.c | 29 unsigned long timeout = 0; in ioc3kbd_wait() local 31 while ((readl(®s->km_csr) & mask) && (timeout < 250)) { in ioc3kbd_wait() 33 timeout++; in ioc3kbd_wait() 35 return (timeout >= 250) ? -ETIMEDOUT : 0; in ioc3kbd_wait()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | wm9705.c | 212 int timeout = 5 * delay; in wm9705_poll_sample() local 233 && timeout) { in wm9705_poll_sample() 235 timeout--; in wm9705_poll_sample() 238 if (timeout == 0) { in wm9705_poll_sample() 239 /* If PDEN is set, we can get a timeout when pen goes up */ in wm9705_poll_sample() 243 dev_dbg(wm->dev, "adc sample timeout"); in wm9705_poll_sample()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
H A D | pci.c | 80 u32 status, timeout; in ath5k_pci_eeprom_read() local 94 for (timeout = AR5K_TUNE_REGISTER_TIMEOUT; timeout > 0; timeout--) { in ath5k_pci_eeprom_read()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_cbdr.c | 38 int timeout = ENETC_CBDR_TIMEOUT; in enetc_send_cmd() local 63 timeout -= 10; in enetc_send_cmd() 64 } while (timeout); in enetc_send_cmd() 66 if (!timeout) in enetc_send_cmd()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.h | 78 uint32_t timeout; member 84 uint32_t timeout; member 250 uint32_t timeout; /* comn_set_feature timeout */ member 280 uint32_t timeout; member
|
/kernel/linux/linux-5.10/net/netrom/ |
H A D | nr_subr.c | 124 int len, timeout; in nr_write_internal() local 157 timeout = nr->t1 / HZ; in nr_write_internal() 174 *dptr++ = timeout % 256; in nr_write_internal() 175 *dptr++ = timeout / 256; in nr_write_internal()
|