/kernel/linux/linux-6.6/drivers/nvmem/ |
H A D | vf610-ocotp.c | 99 int timeout = VF610_OCOTP_TIMEOUT; in vf610_ocotp_wait_busy() local 101 while ((readl(base) & OCOTP_CTRL_BUSY) && --timeout) in vf610_ocotp_wait_busy() 104 if (!timeout) { in vf610_ocotp_wait_busy()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_crt.c | 160 unsigned long timeout; in cdv_intel_crt_detect_hotplug() local 163 timeout = jiffies + msecs_to_jiffies(1000); in cdv_intel_crt_detect_hotplug() 170 } while (time_after(timeout, jiffies)); in cdv_intel_crt_detect_hotplug()
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-sis96x.c | 83 int timeout = 0; in sis96x_transaction() local 105 /* Turn off timeout interrupts, set fast host clock */ in sis96x_transaction() 119 } while (!(temp & 0x0e) && (timeout++ < MAX_TIMEOUT)); in sis96x_transaction() 122 if (timeout > MAX_TIMEOUT) { in sis96x_transaction()
|
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | ep93xx_adc.c | 84 unsigned long timeout; in ep93xx_read_raw() local 114 timeout = jiffies + msecs_to_jiffies(1) + 1; in ep93xx_read_raw() 124 if (time_after(jiffies, timeout)) { in ep93xx_read_raw() 125 dev_err(&iiodev->dev, "Conversion timeout\n"); in ep93xx_read_raw()
|
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | apl.c | 82 unsigned long timeout; in apl_wait_log_entry() local 89 timeout = jiffies + msecs_to_jiffies(10); in apl_wait_log_entry() 96 } while (!time_after(jiffies, timeout)); in apl_wait_log_entry()
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | test_syscall_vdso.c | 175 struct timespec timeout; variable 191 timeout.tv_sec = 0; in prep_args() 192 timeout.tv_nsec = 123; in prep_args() 262 " mov $timeout, %%edi\n" /* edi arg5 */ in run_syscall() 283 " cmp $timeout, %%edi\n" /* edi arg5 */ in run_syscall()
|
/kernel/liteos_a/kernel/base/include/ |
H A D | los_task_pri.h | 249 UINT16 timeout; /**< Expiration duration */ member 295 STATIC INLINE VOID OsTaskWaitSetPendMask(UINT16 mask, UINTPTR lockID, UINT32 timeout) in OsTaskWaitSetPendMask() argument 300 (VOID)timeout; in OsTaskWaitSetPendMask()
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/drm/ |
H A D | etnaviv_drm.h | 83 struct drm_etnaviv_timespec timeout; member 143 struct drm_etnaviv_timespec timeout; member 158 struct drm_etnaviv_timespec timeout; member
|
/kernel/linux/linux-6.6/sound/hda/ext/ |
H A D | hdac_ext_controller.c | 169 int timeout; in check_hdac_link_power_active() local 174 timeout = 150; in check_hdac_link_power_active() 186 } while (--timeout); in check_hdac_link_power_active()
|
/kernel/liteos_m/testsuites/sample/kernel/power/ |
H A D | It_los_pm_002.c | 78 UINT64 timeout = LOS_SchedTickTimeoutNsGet();
in SysSuspend() local 79 printf("pm timeout : %u ns -> %u ticks\n", (UINT32)timeout, (UINT32)(timeout / OS_NS_PER_TICK));
in SysSuspend()
|
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A D | hda-ctrl.c | 32 unsigned long timeout; in hda_dsp_ctrl_link_reset() local 44 timeout = jiffies + msecs_to_jiffies(HDA_DSP_CTRL_RESET_TIMEOUT); in hda_dsp_ctrl_link_reset() 45 while (time_before(jiffies, timeout)) { in hda_dsp_ctrl_link_reset()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
H A D | etnaviv_drm.h | 83 struct drm_etnaviv_timespec timeout; member 143 struct drm_etnaviv_timespec timeout; member 158 struct drm_etnaviv_timespec timeout; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/ |
H A D | ib_user_cm.h | 134 __u8 timeout; member 146 __u32 timeout; member 212 __u8 timeout; member
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-stat.c | 616 static int dispatch_events(bool forks, int timeout, int interval, int *times) in dispatch_events() argument 624 else if (timeout) in dispatch_events() 625 sleep_time = timeout; in dispatch_events() 641 if (!(evlist__poll(evsel_list, time_to_sleep) > 0)) { /* poll timeout or EINTR */ in dispatch_events() 642 if (timeout || handle_interval(interval, times)) in dispatch_events() 714 int timeout = stat_config.timeout; in __run_perf_stat() local 882 if (interval || timeout || evlist__ctlfd_initialized(evsel_list)) in __run_perf_stat() 883 status = dispatch_events(forks, timeout, interval, ×); in __run_perf_stat() 885 if (timeout) in __run_perf_stat() 2060 unsigned int interval, timeout; cmd_stat() local [all...] |
/kernel/linux/linux-5.10/ipc/ |
H A D | sem.c | 1984 unsigned nsops, const struct timespec64 *timeout) in do_semtimedop() 2014 if (timeout) { in do_semtimedop() 2015 if (timeout->tv_sec < 0 || timeout->tv_nsec < 0 || in do_semtimedop() 2016 timeout->tv_nsec >= 1000000000L) { in do_semtimedop() 2020 jiffies_left = timespec64_to_jiffies(timeout); in do_semtimedop() 2177 if (timeout) in do_semtimedop() 2222 if (timeout && jiffies_left == 0) in do_semtimedop() 2238 unsigned int nsops, const struct __kernel_timespec __user *timeout) in ksys_semtimedop() 2240 if (timeout) { in ksys_semtimedop() 1983 do_semtimedop(int semid, struct sembuf __user *tsops, unsigned nsops, const struct timespec64 *timeout) do_semtimedop() argument 2237 ksys_semtimedop(int semid, struct sembuf __user *tsops, unsigned int nsops, const struct __kernel_timespec __user *timeout) ksys_semtimedop() argument 2256 compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, unsigned int nsops, const struct old_timespec32 __user *timeout) compat_ksys_semtimedop() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-stat.c | 588 static int dispatch_events(bool forks, int timeout, int interval, int *times) in dispatch_events() argument 596 else if (timeout) in dispatch_events() 597 sleep_time = timeout; in dispatch_events() 613 if (!(evlist__poll(evsel_list, time_to_sleep) > 0)) { /* poll timeout or EINTR */ in dispatch_events() 614 if (timeout || handle_interval(interval, times)) in dispatch_events() 693 int timeout = stat_config.timeout; in __run_perf_stat() local 887 if (interval || timeout || evlist__ctlfd_initialized(evsel_list)) in __run_perf_stat() 888 status = dispatch_events(forks, timeout, interval, ×); in __run_perf_stat() 890 if (timeout) in __run_perf_stat() 2484 unsigned int interval, timeout; cmd_stat() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | dpt_i2o.c | 1098 static int adpt_i2o_post_wait(adpt_hba* pHba, u32* msg, int len, int timeout) in adpt_i2o_post_wait() argument 1134 timeout *= HZ; in adpt_i2o_post_wait() 1139 if (!timeout) in adpt_i2o_post_wait() 1142 timeout = schedule_timeout(timeout); in adpt_i2o_post_wait() 1143 if (timeout == 0) { in adpt_i2o_post_wait() 1190 ulong timeout = jiffies + 30*HZ; in adpt_i2o_post_this() local 1197 if(time_after(jiffies,timeout)){ in adpt_i2o_post_this() 1226 * it for debug purposes, increase timeout, and recompile in adpt_i2o_post_wait_complete() 1259 ulong timeout in adpt_i2o_reset_hba() local 2468 ulong timeout = jiffies + 5*HZ; adpt_send_nop() local 2499 ulong timeout = jiffies + TMOUT_INITOUTBOUND*HZ; adpt_i2o_init_outbound_q() local 2602 ulong timeout; adpt_i2o_status_get() local [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | stv0900_sw.c | 59 s32 timeout, freq_inc, max_steps, srate, max_carrier; in stv0900_get_sw_loop_params() local 82 timeout = 20; in stv0900_get_sw_loop_params() 86 timeout = 25; in stv0900_get_sw_loop_params() 91 timeout = 25; in stv0900_get_sw_loop_params() 100 timeout *= 27500; in stv0900_get_sw_loop_params() 103 timeout /= srate / 1000; in stv0900_get_sw_loop_params() 105 if ((timeout > 100) || (timeout < 0)) in stv0900_get_sw_loop_params() 106 timeout = 100; in stv0900_get_sw_loop_params() 116 *sw_timeout = timeout; in stv0900_get_sw_loop_params() 517 timeout, stv0900_get_demod_cold_lock() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | sa_query.c | 118 unsigned long timeout; /* Local svc timeout */ member 882 query->timeout = delay + jiffies; in ib_nl_make_request() 884 /* Start the timeout if this is the only request */ in ib_nl_make_request() 902 /* Let the timeout to take care of the callback */ in ib_nl_cancel_request() 905 query->timeout = jiffies; in ib_nl_cancel_request() 985 if (time_after(query->timeout, jiffies)) { in ib_nl_request_timeout() 986 delay = query->timeout - jiffies; in ib_nl_request_timeout() 1015 int timeout, delta, abs_delta; in ib_nl_handle_set_timeout() local 1033 timeout in ib_nl_handle_set_timeout() [all...] |
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 111 | timeout (in sec.) | 145 __be32 timeout; /* cp timeout */ member 167 __be32 timeout; /* cp timeout */ member 465 unsigned long n = (now + cp->timeout) & ~3UL; in ip_vs_sync_conn_needed() 505 long min_diff = max(cp->timeout >> 1, 10UL * HZ); in ip_vs_sync_conn_needed() 508 * and below the half timeout. in ip_vs_sync_conn_needed() 515 if (time_before(now, orig - cp->timeout + in ip_vs_sync_conn_needed() 731 s->v4.timeout in ip_vs_sync_conn() 842 ip_vs_proc_conn(struct netns_ipvs *ipvs, struct ip_vs_conn_param *param, unsigned int flags, unsigned int state, unsigned int protocol, unsigned int type, const union nf_inet_addr *daddr, __be16 dport, unsigned long timeout, __u32 fwmark, struct ip_vs_sync_conn_options *opt) ip_vs_proc_conn() argument [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | mxser.c | 273 unsigned int timeout; member 489 u64 timeout; in mxser_set_baud() local 511 timeout = (u64)info->xmit_fifo_size * HZ * 10 * quot; in mxser_set_baud() 512 do_div(timeout, MXSER_BAUD_BASE); in mxser_set_baud() 513 info->timeout = timeout + HZ / 50; /* Add .02 seconds of slop */ in mxser_set_baud() 1397 static void mxser_wait_until_sent(struct tty_struct *tty, int timeout) in mxser_wait_until_sent() argument 1411 * interval should also be less than the timeout. in mxser_wait_until_sent() 1416 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size; in mxser_wait_until_sent() 1420 if (timeout in mxser_wait_until_sent() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | sa_query.c | 119 unsigned long timeout; /* Local svc timeout */ member 832 query->timeout = delay + jiffies; in ib_nl_make_request() 834 /* Start the timeout if this is the only request */ in ib_nl_make_request() 852 /* Let the timeout to take care of the callback */ in ib_nl_cancel_request() 855 query->timeout = jiffies; in ib_nl_cancel_request() 962 if (time_after(query->timeout, jiffies)) { in ib_nl_request_timeout() 963 delay = query->timeout - jiffies; in ib_nl_request_timeout() 992 int timeout, delta, abs_delta; in ib_nl_handle_set_timeout() local 1010 timeout in ib_nl_handle_set_timeout() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | stv0900_sw.c | 59 s32 timeout, freq_inc, max_steps, srate, max_carrier; in stv0900_get_sw_loop_params() local 82 timeout = 20; in stv0900_get_sw_loop_params() 86 timeout = 25; in stv0900_get_sw_loop_params() 91 timeout = 25; in stv0900_get_sw_loop_params() 100 timeout *= 27500; in stv0900_get_sw_loop_params() 103 timeout /= srate / 1000; in stv0900_get_sw_loop_params() 105 if ((timeout > 100) || (timeout < 0)) in stv0900_get_sw_loop_params() 106 timeout = 100; in stv0900_get_sw_loop_params() 116 *sw_timeout = timeout; in stv0900_get_sw_loop_params() 517 timeout, stv0900_get_demod_cold_lock() local [all...] |
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 111 | timeout (in sec.) | 145 __be32 timeout; /* cp timeout */ member 167 __be32 timeout; /* cp timeout */ member 465 unsigned long n = (now + cp->timeout) & ~3UL; in ip_vs_sync_conn_needed() 505 long min_diff = max(cp->timeout >> 1, 10UL * HZ); in ip_vs_sync_conn_needed() 508 * and below the half timeout. in ip_vs_sync_conn_needed() 515 if (time_before(now, orig - cp->timeout + in ip_vs_sync_conn_needed() 731 s->v4.timeout in ip_vs_sync_conn() 842 ip_vs_proc_conn(struct netns_ipvs *ipvs, struct ip_vs_conn_param *param, unsigned int flags, unsigned int state, unsigned int protocol, unsigned int type, const union nf_inet_addr *daddr, __be16 dport, unsigned long timeout, __u32 fwmark, struct ip_vs_sync_conn_options *opt) ip_vs_proc_conn() argument [all...] |
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | xen-tpmfront.c | 56 unsigned long timeout, wait_queue_head_t *queue, in wait_for_tpm_stat() 69 stop = jiffies + timeout; in wait_for_tpm_stat() 73 timeout = stop - jiffies; in wait_for_tpm_stat() 74 if ((long)timeout <= 0) in wait_for_tpm_stat() 79 timeout); in wait_for_tpm_stat() 168 /* got a signal or timeout, try to cancel */ in vtpm_send() 55 wait_for_tpm_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, wait_queue_head_t *queue, bool check_cancel) wait_for_tpm_stat() argument
|