Home
last modified time | relevance | path

Searched refs:timeout (Results 701 - 725 of 7591) sorted by relevance

1...<<21222324252627282930>>...304

/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-ktd2692.c29 /* Macro for getting offset of flash timeout */
30 #define GET_TIMEOUT_OFFSET(timeout, step) ((timeout) / (step))
68 /* maximum flash timeout */
183 struct led_flash_setting *timeout = &fled_cdev->timeout; in ktd2692_led_flash_strobe_set() local
189 flash_tm_reg = GET_TIMEOUT_OFFSET(timeout->val, timeout->step); in ktd2692_led_flash_strobe_set()
211 u32 timeout) in ktd2692_led_flash_timeout_set()
239 setting = &fled_cdev->timeout; in ktd2692_init_flash_timeout()
210 ktd2692_led_flash_timeout_set(struct led_classdev_flash *fled_cdev, u32 timeout) ktd2692_led_flash_timeout_set() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/amd/raven/
H A Dpci-acp3x.c29 int timeout; in acp3x_power_on() local
40 timeout = 0; in acp3x_power_on()
41 while (++timeout < 500) { in acp3x_power_on()
58 int timeout; in acp3x_reset() local
61 timeout = 0; in acp3x_reset()
62 while (++timeout < 500) { in acp3x_reset()
69 timeout = 0; in acp3x_reset()
70 while (++timeout < 500) { in acp3x_reset()
/kernel/linux/linux-5.10/sound/pci/oxygen/
H A Doxygen_io.c101 * Check even after a timeout because this function should not require in oxygen_ac97_wait()
138 dev_err(chip->card->dev, "AC'97 write timeout\n"); in oxygen_write_ac97()
170 dev_err(chip->card->dev, "AC'97 read timeout on codec %u\n", codec); in oxygen_read_ac97()
190 * Higher timeout to be sure: 200 us; in oxygen_wait_spi()
199 dev_err(chip->card->dev, "oxygen: SPI wait timeout\n"); in oxygen_wait_spi()
253 unsigned int timeout; in oxygen_read_eeprom() local
257 for (timeout = 0; timeout < 100; ++timeout) { in oxygen_read_eeprom()
268 unsigned int timeout; in oxygen_write_eeprom() local
[all...]
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dsama5d4_wdt.c22 /* minimum and maximum watchdog timeout, in seconds */
44 "Watchdog timeout in seconds. (default = "
121 unsigned int timeout) in sama5d4_wdt_set_timeout()
124 u32 value = WDT_SEC2TICKS(timeout); in sama5d4_wdt_set_timeout()
130 wdd->timeout = timeout; in sama5d4_wdt_set_timeout()
141 * If the watchdog is enabled, then the timeout can be updated. Else, in sama5d4_wdt_set_timeout()
147 wdd->timeout = timeout; in sama5d4_wdt_set_timeout()
265 wdd->timeout in sama5d4_wdt_probe()
120 sama5d4_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) sama5d4_wdt_set_timeout() argument
[all...]
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dsama5d4_wdt.c21 /* minimum and maximum watchdog timeout, in seconds */
43 "Watchdog timeout in seconds. (default = "
120 unsigned int timeout) in sama5d4_wdt_set_timeout()
123 u32 value = WDT_SEC2TICKS(timeout); in sama5d4_wdt_set_timeout()
129 wdd->timeout = timeout; in sama5d4_wdt_set_timeout()
140 * If the watchdog is enabled, then the timeout can be updated. Else, in sama5d4_wdt_set_timeout()
146 wdd->timeout = timeout; in sama5d4_wdt_set_timeout()
265 wdd->timeout in sama5d4_wdt_probe()
119 sama5d4_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) sama5d4_wdt_set_timeout() argument
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dinet_connection_sock.h64 * @icsk_rto: Retransmit timeout
118 unsigned long timeout; /* Currently scheduled timeout */ member
193 void inet_csk_reset_keepalive_timer(struct sock *sk, unsigned long timeout);
237 icsk->icsk_ack.timeout = jiffies + when; in inet_csk_reset_xmit_timer()
238 sk_reset_timer(sk, &icsk->icsk_delack_timer, icsk->icsk_ack.timeout); in inet_csk_reset_xmit_timer()
267 unsigned long timeout);
293 u64 timeout = (u64)req->timeout << req->num_timeout; in reqsk_timeout() local
295 return (unsigned long)min_t(u64, timeout, max_timeou in reqsk_timeout()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dselftest_context.c18 long timeout; in request_sync() local
29 timeout = i915_request_wait(rq, 0, HZ / 10); in request_sync()
30 if (timeout < 0) in request_sync()
31 err = timeout; in request_sync()
52 long timeout; in context_sync() local
60 timeout = i915_request_wait(rq, 0, HZ / 10); in context_sync()
61 if (timeout < 0) in context_sync()
62 err = timeout; in context_sync()
/kernel/linux/linux-6.6/drivers/leds/flash/
H A Dleds-ktd2692.c29 /* Macro for getting offset of flash timeout */
30 #define GET_TIMEOUT_OFFSET(timeout, step) ((timeout) / (step))
68 /* maximum flash timeout */
183 struct led_flash_setting *timeout = &fled_cdev->timeout; in ktd2692_led_flash_strobe_set() local
189 flash_tm_reg = GET_TIMEOUT_OFFSET(timeout->val, timeout->step); in ktd2692_led_flash_strobe_set()
211 u32 timeout) in ktd2692_led_flash_timeout_set()
239 setting = &fled_cdev->timeout; in ktd2692_init_flash_timeout()
210 ktd2692_led_flash_timeout_set(struct led_classdev_flash *fled_cdev, u32 timeout) ktd2692_led_flash_timeout_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dwm9713.c258 int timeout = 5 * delay; in wm9713_poll_sample() local
283 timeout) { in wm9713_poll_sample()
285 timeout--; in wm9713_poll_sample()
288 if (timeout <= 0) { in wm9713_poll_sample()
289 /* If PDEN is set, we can get a timeout when pen goes up */ in wm9713_poll_sample()
293 dev_dbg(wm->dev, "adc sample timeout"); in wm9713_poll_sample()
323 int timeout = 5 * delay; in wm9713_poll_coord() local
348 && timeout) { in wm9713_poll_coord()
350 timeout--; in wm9713_poll_coord()
353 if (timeout < in wm9713_poll_coord()
[all...]
H A Dwm9712.c252 int timeout = 5 * delay; in wm9712_poll_sample() local
273 && timeout) { in wm9712_poll_sample()
275 timeout--; in wm9712_poll_sample()
278 if (timeout <= 0) { in wm9712_poll_sample()
279 /* If PDEN is set, we can get a timeout when pen goes up */ in wm9712_poll_sample()
283 dev_dbg(wm->dev, "adc sample timeout\n"); in wm9712_poll_sample()
316 int timeout = 5 * delay; in wm9712_poll_coord() local
337 && timeout) { in wm9712_poll_coord()
339 timeout--; in wm9712_poll_coord()
342 if (timeout < in wm9712_poll_coord()
[all...]
/kernel/linux/linux-6.6/sound/soc/amd/vangogh/
H A Dpci-acp5x.c27 int timeout; in acp5x_power_on() local
38 timeout = 0; in acp5x_power_on()
39 while (++timeout < 500) { in acp5x_power_on()
51 int timeout; in acp5x_reset() local
54 timeout = 0; in acp5x_reset()
55 while (++timeout < 500) { in acp5x_reset()
62 timeout = 0; in acp5x_reset()
63 while (++timeout < 500) { in acp5x_reset()
/kernel/liteos_m/components/trace/
H A Dlos_trace.h345 #define EVENT_READ_PARAMS(eventCB, eventId, mask, mode, timeout) \
346 eventCB, eventId, mask, mode, timeout
353 #define QUEUE_RW_PARAMS(queueId, queueSize, bufSize, operateType, readable, writable, timeout) \
354 queueId, queueSize, bufSize, operateType, readable, writable, timeout
358 #define SEM_PEND_PARAMS(semId, count, timeout) semId, count, timeout
363 #define MUX_PEND_PARAMS(muxId, count, owner, timeout) muxId, count, owner, timeout
/kernel/liteos_m/components/trace/cnv/
H A Dtrace_cnv.c72 STATIC VOID LOS_TraceEventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout) in LOS_TraceEventRead() argument
74 LOS_TRACE(EVENT_READ, (UINTPTR)eventCB, eventCB->uwEventID, eventMask, mode, timeout); in LOS_TraceEventRead() local
99 UINT32 bufferSize, UINT32 timeout) in LOS_TraceQueueRW()
102 queueCB->readWriteableCnt[OS_QUEUE_READ], queueCB->readWriteableCnt[OS_QUEUE_WRITE], timeout); in LOS_TraceQueueRW()
121 STATIC VOID LOS_TraceSemPend(const LosSemCB *semCB, const LosTaskCB *runningTask, UINT32 timeout) in LOS_TraceSemPend() argument
124 LOS_TRACE(SEM_PEND, semCB->semID, semCB->semCount, timeout); in LOS_TraceSemPend()
143 STATIC VOID LOS_TraceMuxPend(const LosMuxCB *muxCB, UINT32 timeout) in LOS_TraceMuxPend() argument
146 (muxCB->owner == NULL) ? 0xffffffff : muxCB->owner->taskID, timeout); in LOS_TraceMuxPend()
98 LOS_TraceQueueRW(const LosQueueCB *queueCB, UINT32 operateType, UINT32 bufferSize, UINT32 timeout) LOS_TraceQueueRW() argument
/kernel/linux/linux-6.6/sound/pci/oxygen/
H A Doxygen_io.c101 * Check even after a timeout because this function should not require in oxygen_ac97_wait()
138 dev_err(chip->card->dev, "AC'97 write timeout\n"); in oxygen_write_ac97()
170 dev_err(chip->card->dev, "AC'97 read timeout on codec %u\n", codec); in oxygen_read_ac97()
190 * Higher timeout to be sure: 200 us; in oxygen_wait_spi()
199 dev_err(chip->card->dev, "oxygen: SPI wait timeout\n"); in oxygen_wait_spi()
253 unsigned int timeout; in oxygen_read_eeprom() local
257 for (timeout = 0; timeout < 100; ++timeout) { in oxygen_read_eeprom()
268 unsigned int timeout; in oxygen_write_eeprom() local
[all...]
/kernel/linux/linux-6.6/sound/soc/amd/raven/
H A Dpci-acp3x.c29 int timeout; in acp3x_power_on() local
40 timeout = 0; in acp3x_power_on()
41 while (++timeout < 500) { in acp3x_power_on()
58 int timeout; in acp3x_reset() local
61 timeout = 0; in acp3x_reset()
62 while (++timeout < 500) { in acp3x_reset()
69 timeout = 0; in acp3x_reset()
70 while (++timeout < 500) { in acp3x_reset()
/kernel/linux/linux-6.6/sound/soc/amd/yc/
H A Dpci-acp6x.c29 int timeout; in acp6x_power_on() local
38 timeout = 0; in acp6x_power_on()
39 while (++timeout < 500) { in acp6x_power_on()
51 int timeout; in acp6x_reset() local
54 timeout = 0; in acp6x_reset()
55 while (++timeout < 500) { in acp6x_reset()
62 timeout = 0; in acp6x_reset()
63 while (++timeout < 500) { in acp6x_reset()
/third_party/NuttX/fs/vfs/
H A Dfs_poll.c377 * timeout - Specifies an upper limit on the time for which poll() will
378 * block in milliseconds. A negative value of timeout means an infinite
379 * timeout.
396 int poll(struct pollfd *fds, nfds_t nfds, int timeout) in poll() argument
418 set_add_poll_wait_flag(wait_table.wait, ((timeout == 0) ? false : true)); in poll()
435 if (timeout > 0) in poll()
440 millisecs_left = timeout; in poll()
443 if (timeout < 0) in poll()
447 else if (timeout == 0 || millisecs_left <= 0) in poll()
460 if (millisecs_last >= timeout) in poll()
[all...]
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dtransport.cc56 // only be released after a timeout, and later processes can fail in Bind()
172 struct timeval timeout; in IsDataAvailable() local
173 timeout.tv_sec = 0; in IsDataAvailable()
174 timeout.tv_usec = 0; in IsDataAvailable()
177 int cnt = select(static_cast<int>(handle_accept_) + 1, &fds, 0, 0, &timeout); in IsDataAvailable()
413 // timeout.
417 struct timeval timeout;
418 timeout.tv_sec = 0;
419 timeout.tv_usec = 0;
420 ret = select(max_fd + 1, &fds, NULL, NULL, &timeout);
[all...]
/third_party/python/Lib/test/
H A Dtest_sched.py72 self.assertEqual(q.get(timeout=TIMEOUT), 1)
77 self.assertEqual(q.get(timeout=TIMEOUT), 2)
78 self.assertEqual(q.get(timeout=TIMEOUT), 3)
81 self.assertEqual(q.get(timeout=TIMEOUT), 4)
84 self.assertEqual(q.get(timeout=TIMEOUT), 5)
143 self.assertEqual(q.get(timeout=TIMEOUT), 1)
150 self.assertEqual(q.get(timeout=TIMEOUT), 3)
153 self.assertEqual(q.get(timeout=TIMEOUT), 4)
H A Dtest_asynchat.py130 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
161 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
181 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
193 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
203 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
214 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
227 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
254 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
/third_party/python/Modules/
H A D_queuemodule.c112 timeout: object = None
116 The optional 'block' and 'timeout' arguments are ignored, as this method
123 int block, PyObject *timeout) in _queue_SimpleQueue_put_impl()
189 timeout as timeout_obj: object = None
193 If optional args 'block' is true and 'timeout' is None (the default),
194 block if necessary until an item is available. If 'timeout' is
195 a non-negative number, it blocks at most 'timeout' seconds and raises
198 available, else raise the Empty exception ('timeout' is ignored
209 _PyTime_t timeout; in _queue_SimpleQueue_get_impl() local
219 /* With timeout */ in _queue_SimpleQueue_get_impl()
122 _queue_SimpleQueue_put_impl(simplequeueobject *self, PyObject *item, int block, PyObject *timeout) _queue_SimpleQueue_put_impl() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/hal/ctrl/hisiv100/
H A Dhdmi_hal_ddc.c58 static hi_s32 ddc_access_enable_wait(hi_u32 timeout) in ddc_access_enable_wait() argument
68 if (tmp_time > timeout) { in ddc_access_enable_wait()
76 static hi_s32 ddc_access_disable_wait(hi_u32 timeout) in ddc_access_disable_wait() argument
86 if (tmp_time > timeout) { in ddc_access_disable_wait()
94 static hi_s32 ddc_scl_wait(hi_u32 timeout) in ddc_scl_wait() argument
102 if (tmp_time > timeout) { in ddc_scl_wait()
110 static hi_s32 ddc_sda_wait(hi_u32 timeout) in ddc_sda_wait() argument
117 while ((!hdmi_reg_ddc_sda_st_get()) && tmp_timeout++ < timeout) { in ddc_sda_wait()
127 if (tmp_timeout < timeout && (hdmi_reg_ddc_sda_st_get())) { in ddc_sda_wait()
149 static hi_s32 ddc_in_prog_wait(hi_u32 timeout) in ddc_in_prog_wait() argument
[all...]
/kernel/linux/linux-5.10/sound/drivers/mpu401/
H A Dmpu401_uart.c71 int timeout = 100000; in snd_mpu401_uart_clear_rx() local
72 for (; timeout > 0 && snd_mpu401_input_avail(mpu); timeout--) in snd_mpu401_uart_clear_rx()
75 if (timeout <= 0) in snd_mpu401_uart_clear_rx()
76 snd_printk(KERN_ERR "cmd: clear rx timeout (status = 0x%x)\n", in snd_mpu401_uart_clear_rx()
213 int timeout, ok; in snd_mpu401_uart_cmd() local
222 for (timeout = 1000; timeout > 0 && in snd_mpu401_uart_cmd()
223 !snd_mpu401_output_ready(mpu); timeout--) in snd_mpu401_uart_cmd()
226 if (!timeout) in snd_mpu401_uart_cmd()
[all...]
/kernel/linux/linux-5.10/net/netfilter/ipset/
H A Dip_set_bitmap_ipmac.c116 bitmap_ipmac_add_timeout(unsigned long *timeout, in bitmap_ipmac_add_timeout() argument
121 u32 t = ext->timeout; in bitmap_ipmac_add_timeout()
124 if (t == set->timeout) in bitmap_ipmac_add_timeout()
126 t = *timeout; in bitmap_ipmac_add_timeout()
127 ip_set_timeout_set(timeout, t); in bitmap_ipmac_add_timeout()
129 /* If MAC is unset yet, we store plain timeout value in bitmap_ipmac_add_timeout()
135 ip_set_timeout_set(timeout, t); in bitmap_ipmac_add_timeout()
137 *timeout = t; in bitmap_ipmac_add_timeout()
288 a->timeout == b->timeout in bitmap_ipmac_same_set()
[all...]
/kernel/linux/linux-6.6/sound/drivers/mpu401/
H A Dmpu401_uart.c71 int timeout = 100000; in snd_mpu401_uart_clear_rx() local
72 for (; timeout > 0 && snd_mpu401_input_avail(mpu); timeout--) in snd_mpu401_uart_clear_rx()
75 if (timeout <= 0) in snd_mpu401_uart_clear_rx()
76 snd_printk(KERN_ERR "cmd: clear rx timeout (status = 0x%x)\n", in snd_mpu401_uart_clear_rx()
213 int timeout, ok; in snd_mpu401_uart_cmd() local
222 for (timeout = 1000; timeout > 0 && in snd_mpu401_uart_cmd()
223 !snd_mpu401_output_ready(mpu); timeout--) in snd_mpu401_uart_cmd()
226 if (!timeout) in snd_mpu401_uart_cmd()
[all...]

Completed in 15 milliseconds

1...<<21222324252627282930>>...304