Home
last modified time | relevance | path

Searched refs:timeout (Results 576 - 600 of 7624) sorted by relevance

1...<<21222324252627282930>>...305

/kernel/linux/linux-6.6/drivers/watchdog/
H A Dftwdt010_wdt.c51 unsigned int timeout, in ftwdt010_enable()
56 writel(timeout * WDT_CLOCK, gwdt->base + FTWDT010_WDLOAD); in ftwdt010_enable()
71 ftwdt010_enable(gwdt, wdd->timeout, gwdt->has_irq); in ftwdt010_wdt_start()
94 unsigned int timeout) in ftwdt010_wdt_set_timeout()
96 wdd->timeout = timeout; in ftwdt010_wdt_set_timeout()
160 * If 'timeout-sec' unspecified in devicetree, assume a 13 second in ftwdt010_wdt_probe()
163 gwdt->wdd.timeout = 13U; in ftwdt010_wdt_probe()
50 ftwdt010_enable(struct ftwdt010_wdt *gwdt, unsigned int timeout, bool need_irq) ftwdt010_enable() argument
93 ftwdt010_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) ftwdt010_wdt_set_timeout() argument
H A Dimx_sc_wdt.c84 unsigned int timeout) in imx_sc_wdt_set_timeout()
88 wdog->timeout = timeout; in imx_sc_wdt_set_timeout()
90 timeout * 1000, 0, 0, 0, 0, 0, &res); in imx_sc_wdt_set_timeout()
102 * stamp instead of watchdog timeout stamp, need to convert in imx_sc_wdt_set_pretimeout()
103 * the pretimeout to SCU firmware's timeout value. in imx_sc_wdt_set_pretimeout()
106 (wdog->timeout - pretimeout) * 1000, 0, 0, 0, in imx_sc_wdt_set_pretimeout()
175 wdog->timeout = DEFAULT_TIMEOUT; in imx_sc_wdt_probe()
179 ret = imx_sc_wdt_set_timeout(wdog, wdog->timeout); in imx_sc_wdt_probe()
83 imx_sc_wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) imx_sc_wdt_set_timeout() argument
H A Dmax77620_wdt.c97 unsigned int timeout) in max77620_wdt_set_timeout()
104 switch (timeout) { in max77620_wdt_set_timeout()
141 wdt_dev->timeout = wdt_timeout; in max77620_wdt_set_timeout()
216 wdt_dev->timeout = 2; in max77620_wdt_probe()
219 wdt_dev->timeout = 16; in max77620_wdt_probe()
222 wdt_dev->timeout = 64; in max77620_wdt_probe()
225 wdt_dev->timeout = 128; in max77620_wdt_probe()
96 max77620_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) max77620_wdt_set_timeout() argument
H A Dsunplus_wdt.c35 static unsigned int timeout; variable
36 module_param(timeout, int, 0);
37 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds");
72 if (wdev->timeout > SP_WDT_MAX_TIMEOUT) { in sp_wdt_ping()
82 count = (wdev->timeout * STC_CLK) >> 4; in sp_wdt_ping()
188 priv->wdev.timeout = SP_WDT_DEFAULT_TIMEOUT; in sp_wdt_probe()
194 watchdog_init_timeout(&priv->wdev, timeout, dev); in sp_wdt_probe()
H A Dep93xx_wdt.c26 /* default timeout (secs) */
33 static unsigned int timeout; variable
34 module_param(timeout, uint, 0);
35 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds.");
115 wdd->timeout = WDT_TIMEOUT; in ep93xx_wdt_probe()
116 watchdog_init_timeout(wdd, timeout, dev); in ep93xx_wdt_probe()
H A Dstpmic1_wdt.c60 unsigned int timeout) in pmic_wdt_set_timeout()
64 wdd->timeout = timeout; in pmic_wdt_set_timeout()
65 /* timeout is equal to register value + 1 */ in pmic_wdt_set_timeout()
66 return regmap_write(wdt->pmic->regmap, WCHDG_TIMER_CR, timeout - 1); in pmic_wdt_set_timeout()
108 wdt->wdtdev.timeout = PMIC_WDT_DEFAULT_TIMEOUT; in pmic_wdt_probe()
59 pmic_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) pmic_wdt_set_timeout() argument
H A Dtwl4030_wdt.c32 return twl4030_wdt_write(wdt->timeout + 1); in twl4030_wdt_start()
41 unsigned int timeout) in twl4030_wdt_set_timeout()
43 wdt->timeout = timeout; in twl4030_wdt_set_timeout()
71 wdt->timeout = 30; in twl4030_wdt_probe()
40 twl4030_wdt_set_timeout(struct watchdog_device *wdt, unsigned int timeout) twl4030_wdt_set_timeout() argument
H A Dwm8350_wdt.c37 unsigned int timeout) in wm8350_wdt_set_timeout()
44 if (wm8350_wdt_cfgs[i].time == timeout) in wm8350_wdt_set_timeout()
60 wdt_dev->timeout = timeout; in wm8350_wdt_set_timeout()
135 .timeout = 4,
153 /* Default to 4s timeout */ in wm8350_wdt_probe()
36 wm8350_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) wm8350_wdt_set_timeout() argument
/kernel/linux/linux-6.6/kernel/sched/
H A Dwait_bit.c70 unsigned mode, unsigned long timeout) in out_of_line_wait_on_bit_timeout()
75 wq_entry.key.timeout = jiffies + timeout; in out_of_line_wait_on_bit_timeout()
221 if (time_after_eq(now, word->timeout)) in bit_wait_timeout()
223 schedule_timeout(word->timeout - now); in bit_wait_timeout()
235 if (time_after_eq(now, word->timeout)) in bit_wait_io_timeout()
237 io_schedule_timeout(word->timeout - now); in bit_wait_io_timeout()
68 out_of_line_wait_on_bit_timeout( void *word, int bit, wait_bit_action_f *action, unsigned mode, unsigned long timeout) out_of_line_wait_on_bit_timeout() argument
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/include/
H A Dusb_impl_mock.h70 BulkTransferRead, int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data));
72 int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data));
78 int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data));
80 int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data));
82 IsoTransferRead, int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data));
84 int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data));
89 int32_t(const UsbDev &dev, std::vector<uint8_t> &clientData, std::vector<uint8_t> &buffer, int32_t timeout));
/third_party/pulseaudio/src/pulsecore/
H A Dpoll-posix.c59 int pa_poll (struct pollfd *fds, unsigned long int nfds, int timeout) { in pa_poll() argument
74 if (timeout >= 0) { in pa_poll()
75 pa_msleep(timeout); in pa_poll()
104 tv.tv_sec = timeout / 1000; in pa_poll()
105 tv.tv_usec = (timeout % 1000) * 1000; in pa_poll()
107 ready = select(maxfd + 1, &rset, &wset, &xset, (timeout == -1 ? NULL : &tv)); in pa_poll()
182 ready = select(maxfd + 1, &rset, &wset, &xset, (timeout == -1 ? NULL : &tv)); in pa_poll()
/third_party/node/deps/uv/src/unix/
H A Daix.c133 void uv__io_poll(uv_loop_t* loop, int timeout) { in uv__io_poll() argument
216 assert(timeout >= -1); in uv__io_poll()
222 user_timeout = timeout; in uv__io_poll()
223 timeout = 0; in uv__io_poll()
229 /* Only need to set the provider_entry_time if timeout != 0. The function in uv__io_poll()
232 if (timeout != 0) in uv__io_poll()
238 timeout); in uv__io_poll()
241 * timeout == 0 (i.e. non-blocking poll) but there is no guarantee that the in uv__io_poll()
248 timeout = user_timeout; in uv__io_poll()
250 if (timeout in uv__io_poll()
[all...]
/base/print/print_fwk/services/print_service/src/
H A Dthread_sync_wait.cpp20 void ThreadSyncWait::Wait(int timeout) in Wait() argument
22 if (timeout > 0) { in Wait()
24 waitCondition.wait_for(lock, std::chrono::milliseconds(timeout)); in Wait()
/third_party/node/test/parallel/
H A Dtest-next-tick-ordering.js30 function get_printer(timeout) {
32 console.log(`Running from setTimeout ${timeout}`);
33 done.push(timeout);
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dsmp.c150 unsigned long timeout; in native_stop_other_cpus() local
185 timeout = USEC_PER_SEC; in native_stop_other_cpus()
186 while (num_online_cpus() > 1 && timeout--) in native_stop_other_cpus()
210 timeout = USEC_PER_MSEC * 10; in native_stop_other_cpus()
211 while (num_online_cpus() > 1 && (wait || timeout--)) in native_stop_other_cpus()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
H A Diwl-io.h80 u32 bits, u32 mask, int timeout);
82 int timeout);
95 u32 bits, u32 mask, int timeout);
143 u32 bits, u32 mask, int timeout) in iwl_poll_umac_prph_bit()
147 bits, mask, timeout); in iwl_poll_umac_prph_bit()
142 iwl_poll_umac_prph_bit(struct iwl_trans *trans, u32 addr, u32 bits, u32 mask, int timeout) iwl_poll_umac_prph_bit() argument
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
H A Dddk750_hwi2c.c58 unsigned int timeout; in hw_i2c_wait_tx_done() local
61 timeout = HWI2C_WAIT_TIMEOUT; in hw_i2c_wait_tx_done()
62 while (!(peek32(I2C_STATUS) & I2C_STATUS_TX) && (timeout != 0)) in hw_i2c_wait_tx_done()
63 timeout--; in hw_i2c_wait_tx_done()
65 if (timeout == 0) in hw_i2c_wait_tx_done()
/kernel/linux/linux-5.10/include/net/nfc/
H A Ddigital.h99 * within the specified timeout (ms), the error code is passed back through
108 * within the specified timeout (ms), the error code is passed back through
136 * Notes: Asynchronous functions have a timeout parameter. It is the driver
142 * for the driver to handle the timeout correctly. Otherwise the stack
150 u16 timeout, nfc_digital_cmd_complete_t cb,
156 u16 timeout, nfc_digital_cmd_complete_t cb,
158 int (*tg_listen)(struct nfc_digital_dev *ddev, u16 timeout,
162 u16 timeout, nfc_digital_cmd_complete_t cb,
164 int (*tg_listen_md)(struct nfc_digital_dev *ddev, u16 timeout,
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dstpmic1_wdt.c60 unsigned int timeout) in pmic_wdt_set_timeout()
64 wdd->timeout = timeout; in pmic_wdt_set_timeout()
65 /* timeout is equal to register value + 1 */ in pmic_wdt_set_timeout()
66 return regmap_write(wdt->pmic->regmap, WCHDG_TIMER_CR, timeout - 1); in pmic_wdt_set_timeout()
108 wdt->wdtdev.timeout = PMIC_WDT_DEFAULT_TIMEOUT; in pmic_wdt_probe()
59 pmic_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) pmic_wdt_set_timeout() argument
H A Dwm8350_wdt.c37 unsigned int timeout) in wm8350_wdt_set_timeout()
44 if (wm8350_wdt_cfgs[i].time == timeout) in wm8350_wdt_set_timeout()
60 wdt_dev->timeout = timeout; in wm8350_wdt_set_timeout()
135 .timeout = 4,
153 /* Default to 4s timeout */ in wm8350_wdt_probe()
36 wm8350_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) wm8350_wdt_set_timeout() argument
H A Dep93xx_wdt.c29 /* default timeout (secs) */
36 static unsigned int timeout; variable
37 module_param(timeout, uint, 0);
38 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds.");
118 wdd->timeout = WDT_TIMEOUT; in ep93xx_wdt_probe()
119 watchdog_init_timeout(wdd, timeout, dev); in ep93xx_wdt_probe()
H A Dtwl4030_wdt.c31 return twl4030_wdt_write(wdt->timeout + 1); in twl4030_wdt_start()
40 unsigned int timeout) in twl4030_wdt_set_timeout()
42 wdt->timeout = timeout; in twl4030_wdt_set_timeout()
70 wdt->timeout = 30; in twl4030_wdt_probe()
39 twl4030_wdt_set_timeout(struct watchdog_device *wdt, unsigned int timeout) twl4030_wdt_set_timeout() argument
H A Dloongson1_wdt.c37 unsigned int timeout) in ls1x_wdt_set_timeout()
43 wdt_dev->timeout = timeout; in ls1x_wdt_set_timeout()
45 counts = drvdata->clk_rate * min(timeout, max_hw_heartbeat); in ls1x_wdt_set_timeout()
125 ls1x_wdt->timeout = DEFAULT_HEARTBEAT; in ls1x_wdt_probe()
36 ls1x_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) ls1x_wdt_set_timeout() argument
/kernel/linux/linux-6.6/include/net/nfc/
H A Ddigital.h99 * within the specified timeout (ms), the error code is passed back through
108 * within the specified timeout (ms), the error code is passed back through
136 * Notes: Asynchronous functions have a timeout parameter. It is the driver
142 * for the driver to handle the timeout correctly. Otherwise the stack
150 u16 timeout, nfc_digital_cmd_complete_t cb,
156 u16 timeout, nfc_digital_cmd_complete_t cb,
158 int (*tg_listen)(struct nfc_digital_dev *ddev, u16 timeout,
162 u16 timeout, nfc_digital_cmd_complete_t cb,
164 int (*tg_listen_md)(struct nfc_digital_dev *ddev, u16 timeout,
/kernel/linux/linux-6.6/drivers/staging/sm750fb/
H A Dddk750_hwi2c.c58 unsigned int timeout; in hw_i2c_wait_tx_done() local
61 timeout = HWI2C_WAIT_TIMEOUT; in hw_i2c_wait_tx_done()
62 while (!(peek32(I2C_STATUS) & I2C_STATUS_TX) && (timeout != 0)) in hw_i2c_wait_tx_done()
63 timeout--; in hw_i2c_wait_tx_done()
65 if (timeout == 0) in hw_i2c_wait_tx_done()

Completed in 11 milliseconds

1...<<21222324252627282930>>...305