Home
last modified time | relevance | path

Searched refs:sleep (Results 226 - 250 of 1284) sorted by relevance

12345678910>>...52

/kernel/liteos_a/testsuites/unittest/extended/trace/smoke/
H A Dtrace_test_001.cpp40 sleep(1); in TestCase()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
H A Dpthread_test_009.cpp54 sleep(1); in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
H A Dpidfd_test.c385 ksft_print_msg("Child Thread: doing exec of sleep\n"); in test_pidfd_poll_exec_thread()
387 execl("/bin/sleep", "sleep", str(CHILD_THREAD_MIN_WAIT), (char *)NULL); in test_pidfd_poll_exec_thread()
437 sleep(1); in child_poll_exec_test()
482 sleep(CHILD_THREAD_MIN_WAIT); in test_pidfd_poll_leader_exit_thread()
534 * This sleep tests for the case where if the child exits, and is in in test_pidfd_poll_leader_exit()
538 sleep(1); in test_pidfd_poll_leader_exit()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink_trap.sh307 sleep .5
394 sleep $SLEEP_TIME
421 sleep $SLEEP_TIME
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Damt.sh237 sleep 2
244 sleep 2
279 sleep 5
/kernel/linux/linux-6.6/tools/testing/selftests/net/hsr/
H A Dhsr_ping.sh145 sleep 1
150 sleep 1
175 sleep 3
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd_test.c386 ksft_print_msg("Child Thread: doing exec of sleep\n"); in test_pidfd_poll_exec_thread()
388 execl("/bin/sleep", "sleep", str(CHILD_THREAD_MIN_WAIT), (char *)NULL); in test_pidfd_poll_exec_thread()
438 sleep(1); in child_poll_exec_test()
485 sleep(CHILD_THREAD_MIN_WAIT); in test_pidfd_poll_leader_exit_thread()
537 * This sleep tests for the case where if the child exits, and is in in test_pidfd_poll_leader_exit()
541 sleep(1); in test_pidfd_poll_leader_exit()
/kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/
H A Dkvm-remote.sh167 sleep 60
209 sleep $sleeptime
262 sleep 30
273 sleep 30
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_kmem.c75 sleep(1); in test_kmem_basic()
241 sleep(100); in pthread_wait_fn()
336 sleep(1); in test_kmem_dead_cgroups()
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink_trap.sh332 sleep .5
419 sleep $SLEEP_TIME
446 sleep $SLEEP_TIME
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dsr030pc30.c148 unsigned int sleep:1; member
334 /* Device reset and sleep mode control */
336 bool reset, bool sleep) in sr030pc30_pwr_ctrl()
339 u8 reg = sleep ? 0xF1 : 0xF0; in sr030pc30_pwr_ctrl()
347 info->sleep = sleep; in sr030pc30_pwr_ctrl()
604 * Put sensor into power sleep mode before switching off in sr030pc30_s_power()
335 sr030pc30_pwr_ctrl(struct v4l2_subdev *sd, bool reset, bool sleep) sr030pc30_pwr_ctrl() argument
/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_gyro.c106 unsigned int sleep; in inv_icm42600_gyro_update_scan_mode() local
138 /* sleep maximum required time */ in inv_icm42600_gyro_update_scan_mode()
140 sleep = sleep_gyro; in inv_icm42600_gyro_update_scan_mode()
142 sleep = sleep_temp; in inv_icm42600_gyro_update_scan_mode()
143 if (sleep) in inv_icm42600_gyro_update_scan_mode()
144 msleep(sleep); in inv_icm42600_gyro_update_scan_mode()
H A Dinv_icm42600_accel.c106 unsigned int sleep; in inv_icm42600_accel_update_scan_mode() local
138 /* sleep maximum required time */ in inv_icm42600_accel_update_scan_mode()
140 sleep = sleep_accel; in inv_icm42600_accel_update_scan_mode()
142 sleep = sleep_temp; in inv_icm42600_accel_update_scan_mode()
143 if (sleep) in inv_icm42600_accel_update_scan_mode()
144 msleep(sleep); in inv_icm42600_accel_update_scan_mode()
/kernel/linux/linux-6.6/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_gyro.c107 unsigned int sleep; in inv_icm42600_gyro_update_scan_mode() local
139 /* sleep maximum required time */ in inv_icm42600_gyro_update_scan_mode()
141 sleep = sleep_gyro; in inv_icm42600_gyro_update_scan_mode()
143 sleep = sleep_temp; in inv_icm42600_gyro_update_scan_mode()
144 if (sleep) in inv_icm42600_gyro_update_scan_mode()
145 msleep(sleep); in inv_icm42600_gyro_update_scan_mode()
H A Dinv_icm42600_accel.c107 unsigned int sleep; in inv_icm42600_accel_update_scan_mode() local
139 /* sleep maximum required time */ in inv_icm42600_accel_update_scan_mode()
141 sleep = sleep_accel; in inv_icm42600_accel_update_scan_mode()
143 sleep = sleep_temp; in inv_icm42600_accel_update_scan_mode()
144 if (sleep) in inv_icm42600_accel_update_scan_mode()
145 msleep(sleep); in inv_icm42600_accel_update_scan_mode()
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dbridge_vlan_mcast.sh107 sleep 5
119 sleep 5
202 sleep $time
419 sleep 2
510 sleep 1
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/
H A Dbridge_vlan_mcast.sh107 sleep 5
119 sleep 5
202 sleep $time
419 sleep 2
510 sleep 1
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dhci_h5.c96 } sleep; member
172 if (h5->sleep != H5_AWAKE) { in h5_timed_event()
173 h5->sleep = H5_SLEEPING; in h5_timed_event()
370 BT_DBG("Peer went to sleep"); in h5_handle_internal_rx()
371 h5->sleep = H5_SLEEPING; in h5_handle_internal_rx()
375 h5->sleep = H5_AWAKE; in h5_handle_internal_rx()
379 h5->sleep = H5_AWAKE; in h5_handle_internal_rx()
746 if (h5->sleep != H5_AWAKE) { in h5_dequeue()
749 if (h5->sleep == H5_WAKING_UP) in h5_dequeue()
752 h5->sleep in h5_dequeue()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dtc_police.sh138 sleep 10
188 sleep 10
258 sleep 10
268 sleep 10
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Di915_sw_fence.c663 unsigned long end, sleep; in test_dma_fence() local
692 sleep = jiffies_to_usecs(delay) / 3; in test_dma_fence()
693 usleep_range(sleep, 2 * sleep); in test_dma_fence()
/kernel/linux/linux-5.10/samples/bpf/
H A Ddo_hbm_test.sh288 # sleep for duration of test (plus some buffer)
290 sleep $n
362 sleep $n
405 sleep 2
412 sleep 1
/kernel/linux/linux-5.10/drivers/media/tuners/
H A Dmt2060.c341 if (priv->sleep) { in mt2060_init()
370 if (priv->sleep) in mt2060_sleep()
397 .sleep = mt2060_sleep,
476 dev->sleep = true; in mt2060_probe()
491 /* Power on, calibrate, sleep */ in mt2060_probe()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dme_daq.c144 static inline void sleep(unsigned int sec) in sleep() function
355 sleep(1); in me2600_xilinx_download()
359 sleep(1); in me2600_xilinx_download()
398 sleep(1); in me2600_xilinx_download()
/kernel/linux/linux-6.6/drivers/media/tuners/
H A Dmt2060.c341 if (priv->sleep) { in mt2060_init()
370 if (priv->sleep) in mt2060_sleep()
397 .sleep = mt2060_sleep,
475 dev->sleep = true; in mt2060_probe()
490 /* Power on, calibrate, sleep */ in mt2060_probe()
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Dme_daq.c143 static inline void sleep(unsigned int sec) in sleep() function
354 sleep(1); in me2600_xilinx_download()
358 sleep(1); in me2600_xilinx_download()
397 sleep(1); in me2600_xilinx_download()

Completed in 18 milliseconds

12345678910>>...52