/openbmc/u-boot/tools/gdb/ |
H A D | remote.c | 598 readchar (int timeout) in readchar() argument 602 ch = SERIAL_READCHAR (remote_desc, timeout); in readchar() 847 int timeout; local 854 timeout = watchdog > 0 ? watchdog : -1; 858 timeout = remote_timeout; 874 c = readchar (timeout);
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mbx.c | 137 int countdown = mbx->timeout; in igb_poll_for_msg() 151 mbx->timeout = 0; in igb_poll_for_msg() 166 int countdown = mbx->timeout; in igb_poll_for_ack() 180 mbx->timeout = 0; in igb_poll_for_ack() 229 if (!mbx->ops.write || !mbx->timeout) in igb_write_posted_mbx() 453 mbx->timeout = 0; in igb_init_mbx_params_pf()
|
/openbmc/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | dev.c | 133 int timeout = 0; in pdsc_devcmd_wait() local 141 while (!done && !timeout) { in pdsc_devcmd_wait() 146 timeout = time_after(jiffies, max_wait); in pdsc_devcmd_wait() 147 if (timeout) in pdsc_devcmd_wait() 158 if (!done || timeout) { in pdsc_devcmd_wait() 160 opcode, pdsc_devcmd_str(opcode), done, timeout, in pdsc_devcmd_wait()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | btcoex.c | 79 u16 timeout; member 302 if (btci->timeout < BRCMF_BTCOEX_OPPR_WIN_TIME) { in brcmf_btcoex_handler() 305 btci->timeout -= BRCMF_BTCOEX_OPPR_WIN_TIME; in brcmf_btcoex_handler() 324 mod_timer(&btci->timer, jiffies + btci->timeout); in brcmf_btcoex_handler() 372 btci->timeout = BRCMF_BTCOEX_OPPR_WIN_TIME; in brcmf_btcoex_attach() 465 btci->timeout = msecs_to_jiffies(duration); in brcmf_btcoex_set_mode()
|
/openbmc/linux/drivers/media/rc/ |
H A D | st_rc.c | 66 struct ir_raw_event ev = { .timeout = true, .duration = rdev->timeout }; in st_rc_send_lirc_timeout() 94 unsigned long timeout; in st_rc_rx_interrupt() local 105 timeout = jiffies + msecs_to_jiffies(10); in st_rc_rx_interrupt() 151 } while (time_is_after_jiffies(timeout)); in st_rc_rx_interrupt() 301 rdev->timeout = MAX_SYMB_TIME; in st_rc_probe()
|
/openbmc/linux/fs/nfs/ |
H A D | namespace.c | 152 int timeout = READ_ONCE(nfs_mountpoint_expiry_timeout); in nfs_d_automount() local 199 if (timeout <= 0) in nfs_d_automount() 203 schedule_delayed_work(&nfs_automount_task, timeout); in nfs_d_automount() 245 int timeout = READ_ONCE(nfs_mountpoint_expiry_timeout); in nfs_expire_automounts() local 248 if (!list_empty(list) && timeout > 0) in nfs_expire_automounts() 249 schedule_delayed_work(&nfs_automount_task, timeout); in nfs_expire_automounts()
|
/openbmc/linux/drivers/accel/habanalabs/common/pci/ |
H A D | pci.c | 93 ktime_t timeout; in hl_pci_elbi_read() local 108 timeout = ktime_add_ms(ktime_get(), msec); in hl_pci_elbi_read() 113 if (ktime_compare(ktime_get(), timeout) > 0) { in hl_pci_elbi_read() 156 ktime_t timeout; in hl_pci_elbi_write() local 173 timeout = ktime_add_ms(ktime_get(), msec); in hl_pci_elbi_write() 178 if (ktime_compare(ktime_get(), timeout) > 0) { in hl_pci_elbi_write()
|
/openbmc/linux/drivers/gpu/drm/i915/pxp/ |
H A D | intel_pxp.c | 302 int timeout; in __pxp_global_teardown_final() local 313 timeout = intel_pxp_get_backend_timeout_ms(pxp); in __pxp_global_teardown_final() 315 if (!wait_for_completion_timeout(&pxp->termination, msecs_to_jiffies(timeout))) in __pxp_global_teardown_final() 323 int timeout; in __pxp_global_teardown_restart() local 333 timeout = intel_pxp_get_backend_timeout_ms(pxp); in __pxp_global_teardown_restart() 335 if (!wait_for_completion_timeout(&pxp->termination, msecs_to_jiffies(timeout))) in __pxp_global_teardown_restart()
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | active-semi,act8945a.yaml | 105 active-semi,precondition-timeout: 106 description: Precondition timeout 109 active-semi,total-timeout: 110 description: Total timeout 254 active-semi,precondition-timeout = <40>; 255 active-semi,total-timeout = <3>;
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | message.hpp | 427 auto call(std::optional<SdBusDuration> timeout = std::nullopt) in call() argument 431 auto timeout_us = timeout ? timeout->count() : 0; in call() 450 call_async(Cb&& cb, std::optional<SdBusDuration> timeout = std::nullopt) in call_async() argument 453 auto timeout_us = timeout ? timeout->count() : 0; in call_async()
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | designware_wdt.c | 24 static int designware_wdt_settimeout(unsigned int timeout) in designware_wdt_settimeout() argument 29 i = (log_2_n_round_up(timeout * CONFIG_DW_WDT_CLOCK_KHZ)) - 16; in designware_wdt_settimeout()
|
H A D | ftwdt010_wdt.c | 25 int ftwdt010_wdt_settimeout(unsigned int timeout) in ftwdt010_wdt_settimeout() argument 44 reg = FTWDT010_WDLOAD(timeout * FTWDT010_TIMEOUT_FACTOR); in ftwdt010_wdt_settimeout()
|
/openbmc/phosphor-pid-control/sensors/ |
H A D | pluggable.hpp | 18 PluggableSensor(const std::string& name, int64_t timeout, in PluggableSensor() argument 21 Sensor(name, timeout), _reader(std::move(reader)), in PluggableSensor()
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emumpu401.c | 47 int timeout = 100000; in mpu401_clear_rx() local 48 for (; timeout > 0 && mpu401_input_avail(emu, mpu); timeout--) in mpu401_clear_rx() 51 if (timeout <= 0) in mpu401_clear_rx() 107 int timeout, ok; in snd_emu10k1_midi_cmd() local 116 timeout = 10000; in snd_emu10k1_midi_cmd() 117 while (!ok && timeout-- > 0) { in snd_emu10k1_midi_cmd()
|
/openbmc/linux/kernel/futex/ |
H A D | waitwake.c | 329 struct hrtimer_sleeper *timeout) in futex_wait_queue() argument 341 if (timeout) in futex_wait_queue() 342 hrtimer_sleeper_start_expires(timeout, HRTIMER_MODE_ABS); in futex_wait_queue() 354 if (!timeout || timeout->task) in futex_wait_queue() 634 struct hrtimer_sleeper timeout, *to; in futex_wait() local 644 to = futex_setup_timer(abs_time, &timeout, flags, in futex_wait()
|
/openbmc/linux/drivers/media/tuners/ |
H A D | it913x.c | 34 unsigned long timeout; in it913x_init() local 79 timeout = jiffies + msecs_to_jiffies(TIMEOUT); in it913x_init() 80 while (!time_after(jiffies, timeout)) { in it913x_init() 92 (jiffies_to_msecs(timeout) - TIMEOUT), utmp); in it913x_init() 107 timeout = jiffies + msecs_to_jiffies(TIMEOUT); in it913x_init() 108 while (!time_after(jiffies, timeout)) { in it913x_init() 119 (jiffies_to_msecs(timeout) - TIMEOUT), utmp); in it913x_init()
|
/openbmc/linux/drivers/pps/ |
H A D | pps.c | 59 if (fdata->timeout.flags & PPS_TIME_INVALID) in pps_cdev_pps_fetch() 66 (long long) fdata->timeout.sec, in pps_cdev_pps_fetch() 67 fdata->timeout.nsec); in pps_cdev_pps_fetch() 68 ticks = fdata->timeout.sec * HZ; in pps_cdev_pps_fetch() 69 ticks += fdata->timeout.nsec / (NSEC_PER_SEC / HZ); in pps_cdev_pps_fetch() 268 memcpy(&fdata.timeout, &compat.timeout, in pps_cdev_compat_ioctl()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_bpf.c | 104 u32 timeout) in __bpf_nf_ct_alloc_entry() argument 139 __nf_ct_set_timeout(ct, timeout * HZ); in __bpf_nf_ct_alloc_entry() 385 nfct->timeout += nfct_time_stamp; in bpf_ct_insert_entry() 420 __bpf_kfunc void bpf_ct_set_timeout(struct nf_conn___init *nfct, u32 timeout) in bpf_ct_set_timeout() argument 422 __nf_ct_set_timeout((struct nf_conn *)nfct, msecs_to_jiffies(timeout)); in bpf_ct_set_timeout() 435 __bpf_kfunc int bpf_ct_change_timeout(struct nf_conn *nfct, u32 timeout) in bpf_ct_change_timeout() argument 437 return __nf_ct_change_timeout(nfct, msecs_to_jiffies(timeout)); in bpf_ct_change_timeout()
|
/openbmc/linux/drivers/fpga/ |
H A D | socfpga.c | 212 int timeout = 2; in socfpga_fpga_dclk_set_and_wait_clear() local 230 } while (timeout--); in socfpga_fpga_dclk_set_and_wait_clear() 238 int timeout = 2; in socfpga_fpga_wait_for_state() local 248 } while (timeout--); in socfpga_fpga_wait_for_state() 304 int timeout, ret = 0; in socfpga_fpga_wait_for_config_done() local 310 timeout = wait_for_completion_interruptible_timeout( in socfpga_fpga_wait_for_config_done() 313 if (timeout == 0) in socfpga_fpga_wait_for_config_done()
|
/openbmc/linux/sound/isa/wss/ |
H A D | wss_lib.c | 163 int timeout; in snd_wss_wait() local 165 for (timeout = 250; in snd_wss_wait() 167 timeout--) in snd_wss_wait() 174 int timeout; in snd_wss_dout() local 176 for (timeout = 250; in snd_wss_dout() 178 timeout--) in snd_wss_dout() 348 int timeout; in snd_wss_busy_wait() local 351 for (timeout = 5; timeout > 0; timeout--) in snd_wss_busy_wait() 356 timeout--) in snd_wss_busy_wait() 363 int timeout; in snd_wss_mce_up() local [all …]
|
/openbmc/slpd-lite/ |
H A D | sock_channel.hpp | 45 timeout = inTimeout; in Channel() 113 timeval timeout; member in udpsocket::Channel
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/decorator/ |
H A D | oetimeout.py | 16 timeout = self.oetimeout 19 "seconds of execution" % timeout)
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-io.c | 51 u32 bits, u32 mask, int timeout) in iwl_poll_bit() argument 60 } while (t < timeout); in iwl_poll_bit() 99 int timeout) in iwl_poll_direct_bit() argument 108 } while (t < timeout); in iwl_poll_direct_bit() 163 u32 bits, u32 mask, int timeout) in iwl_poll_prph_bit() argument 172 } while (t < timeout); in iwl_poll_prph_bit() 499 unsigned long timeout = jiffies + IWL_TRANS_NMI_TIMEOUT; in iwl_trans_sync_nmi_with_addr() local 509 while (time_after(timeout, jiffies)) { in iwl_trans_sync_nmi_with_addr()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-ds1374.c | 392 static int ds1374_wdt_settimeout(struct watchdog_device *wdt, unsigned int timeout) in ds1374_wdt_settimeout() argument 398 wdt->timeout = timeout; in ds1374_wdt_settimeout() 412 timeout = timeout * 4096; in ds1374_wdt_settimeout() 413 ret = ds1374_write_rtc(client, timeout, DS1374_REG_WDALM0, 3); in ds1374_wdt_settimeout() 514 ds1374->wdt.timeout = TIMER_MARGIN_DEFAULT; in ds1374_probe() 523 ds1374_wdt_settimeout(&ds1374->wdt, ds1374->wdt.timeout); in ds1374_probe()
|
/openbmc/linux/drivers/net/phy/ |
H A D | marvell-88x2222.c | 327 static int timeout; in mv2222_read_status_10g() local 343 timeout++; in mv2222_read_status_10g() 345 if (timeout > AUTONEG_TIMEOUT) { in mv2222_read_status_10g() 346 timeout = 0; in mv2222_read_status_10g() 363 static int timeout; in mv2222_read_status_1g() local 372 timeout++; in mv2222_read_status_1g() 374 if (timeout > AUTONEG_TIMEOUT) { in mv2222_read_status_1g() 375 timeout = 0; in mv2222_read_status_1g()
|