Home
last modified time | relevance | path

Searched refs:msleep (Results 1 – 25 of 268) sorted by relevance

1234567891011

/freebsd/sys/dev/cxgb/common/
H A Dcxgb_ael1002.c34 #undef msleep
35 #define msleep t3_os_sleep macro
119 msleep(100); in ael100x_txon()
121 msleep(30); in ael100x_txon()
138 msleep(1); in ael_i2c_rd()
173 msleep(1); in ael_i2c_wr()
250 msleep(delay_ms); in ael1002_get_module_type()
373 msleep(125); in ael1006_reset()
378 msleep(125); in ael1006_reset()
384 msleep(125); in ael1006_reset()
[all …]
H A Dcxgb_tn1010.c34 #undef msleep
35 #define msleep t3_os_sleep macro
78 msleep(500); in tn1010_reset()
219 msleep(500); /* PHY needs up to 500ms to start responding to MDIO */ in t3_tn1010_phy_prep()
H A Dcxgb_aq100x.c34 #undef msleep
35 #define msleep t3_os_sleep macro
236 msleep(300); in aq100x_power_down()
243 msleep(10); in aq100x_power_down()
481 msleep(1); in t3_aq100x_phy_prep()
487 msleep(1000); in t3_aq100x_phy_prep()
502 msleep(10); in t3_aq100x_phy_prep()
H A Dcxgb_vsc8211.c34 #undef msleep
35 #define msleep t3_os_sleep macro
439 msleep(20); /* PHY needs ~10ms to start responding to MDIO */ in t3_vsc8211_phy_prep()
H A Dcxgb_xgmac.c34 #undef msleep
35 #define msleep t3_os_sleep macro
211 msleep(1); in t3_mac_init()
248 msleep(10); in t3_mac_reset()
288 msleep(1); in t3_mac_reset()
714 msleep(100); in t3_mac_disable()
/freebsd/sys/dev/drm2/ttm/
H A Dttm_lock.c107 ret = -msleep(lock, &lock->lock, flags, wmsg, 0); in ttm_read_lock()
153 ret = -msleep(lock, &lock->lock, flags, wmsg, 0); in ttm_read_trylock()
208 ret = -msleep(lock, &lock->lock, flags, wmsg, 0); in ttm_write_lock()
286 ret = -msleep(lock, &lock->lock, flags, wmsg, 0); in ttm_vt_lock()
344 msleep(lock, &lock->lock, 0, "ttms", 0); in ttm_suspend_lock()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_reset.c108 msleep(1); in mlx4_reset()
123 msleep(1000); in mlx4_reset()
131 msleep(1); in mlx4_reset()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Ddelay.h45 #undef msleep
46 #define msleep(ms) linux_msleep(ms) macro
/freebsd/sys/dev/aic7xxx/
H A Daic_osm_lib.c99 msleep(aic->platform_data, &aic->platform_data->mtx, PUSER, "thtrm", 0); in aic_terminate_recovery_thread()
113 msleep(aic, &aic->platform_data->mtx, PUSER, "idle", 0); in aic_recovery_thread()
/freebsd/sys/dev/ow/
H A Dow_temp.c149 msleep(sc, &sc->temp_lock, 0, "owtcvt", hz); in ow_temp_event_thread()
179 msleep(sc, &sc->temp_lock, 0, "owtcvt", sc->reading_interval); in ow_temp_event_thread()
257 msleep(sc->event_thread, &sc->temp_lock, PWAIT, "owtun", 0); in ow_temp_detach()
/freebsd/sys/kern/
H A Dkern_kthread.c202 return (msleep(&p->p_siglist, &p->p_mtx, PPAUSE | PDROP, in kproc_suspend()
230 msleep(&p->p_siglist, &p->p_mtx, PPAUSE, "kpsusp", 0); in kproc_suspend_check()
424 return (msleep(&td->td_flags, &p->p_mtx, PPAUSE | PDROP, "suspkt", in kthread_suspend()
482 msleep(&td->td_flags, &p->p_mtx, PPAUSE, "ktsusp", 0); in kthread_suspend_check()
H A Dsubr_autoconf.c161 if (msleep(&intr_config_hook_list, &intr_config_hook_lock, in boot_run_interrupt_driven_config_hooks()
285 if (msleep(&intr_config_hook_list, &intr_config_hook_lock, in config_intrhook_drain()
/freebsd/sys/dev/smbus/
H A Dsmbconf.c93 error = msleep(sc, &sc->lock, SMBPRI|PCATCH, "smbreq", 0); in smbus_poll()
97 error = msleep(sc, &sc->lock, SMBPRI, "smbreq", 0); in smbus_poll()
/freebsd/sys/rpc/
H A Dclnt_vc.c168 error = msleep(&so->so_timeo, SOCK_MTX(so), in clnt_vc_create()
411 msleep(&ct->ct_rcvstate, &ct->ct_lock, 0, "rpcrcvst", hz); in clnt_vc_call()
487 error = msleep(cr, &ct->ct_lock, ct->ct_waitflag, ct->ct_waitchan, in clnt_vc_call()
808 msleep(ct, &ct->ct_lock, 0, "rpcclose", 0); in clnt_vc_close()
837 msleep(ct, &ct->ct_lock, 0, "rpcclose", 0); in clnt_vc_close()
871 msleep(&ct->ct_tlsstate, &ct->ct_lock, 0, in clnt_vc_destroy()
1249 (void) msleep(&ct->ct_upcallrefs, in clnt_vc_upcallsdone()
1293 msleep(&ct->ct_tlsstate, &ct->ct_lock, 0, "clntvcdu", hz); in clnt_vc_dotlsupcall()
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h377 #if defined(msleep)
378 #undef msleep
380 #define msleep(msec) mdelay(msec) macro
/freebsd/sys/dev/mthca/
H A Dmthca_reset.c174 msleep(1000); in mthca_reset()
192 msleep(100); in mthca_reset()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dahb.c350 msleep(1); in ath10k_ahb_halt_chip()
355 msleep(1); in ath10k_ahb_halt_chip()
360 msleep(1); in ath10k_ahb_halt_chip()
365 msleep(1); in ath10k_ahb_halt_chip()
370 msleep(10); in ath10k_ahb_halt_chip()
/freebsd/sys/geom/
H A Dgeom_event.c89 msleep(&g_pending_events, &g_eventlock, PPAUSE, in g_waitidle()
291 msleep(&g_wait_event, &g_eventlock, PRIBIO | PDROP, in g_run_events()
452 msleep(ep, &g_eventlock, PRIBIO, "g_waitfor_event", 0); in g_waitfor_event()
/freebsd/sys/dev/cxgbe/common/
H A Dt4vf_hw.c32 #undef msleep
33 #define msleep(x) do { \ macro
55 msleep(500); in t4vf_wait_dev_ready()
/freebsd/sys/geom/uzip/
H A Dg_uzip_wrkthr.c61 msleep(sc, &sc->queue_mtx, PRIBIO | PDROP, in g_uzip_wrkthr()
/freebsd/sys/powerpc/mambo/
H A Dmambo_disk.c156 msleep(sc, &sc->sc_mtx, PRIBIO, "detach", 0); in mambodisk_detach()
211 msleep(sc, &sc->sc_mtx, PRIBIO, "jobqueue", 0); in mambodisk_task()
/freebsd/sys/contrib/openzfs/config/
H A Dkernel-usleep_range.m44 dnl # usleep_range is a finer precision implementation of msleep
/freebsd/share/doc/papers/newvm/
H A Dspell.ok43 msleep
/freebsd/sys/netsmb/
H A Dsmb_iod.c387 msleep(evp, SMB_IOD_EVLOCKPTR(iod), PWAIT | PDROP, "90evw", 0); in smb_iod_request()
449 msleep(&iod->iod_muxwant, SMB_IOD_RQLOCKPTR(iod), in smb_iod_addrq()
475 msleep(rqp, SMB_IOD_RQLOCKPTR(iod), PWAIT, "90xrm", 0); in smb_iod_removerq()
507 msleep(&rqp->sr_state, SMBRQ_SLOCKPTR(rqp), PWAIT, "90wrq", 0); in smb_iod_waitrq()
/freebsd/sys/dev/virtio/balloon/
H A Dvirtio_balloon.c240 msleep(sc->vtballoon_td, VTBALLOON_MTX(sc), 0, "vtbdth", 0); in vtballoon_detach()
429 msleep(sc, VTBALLOON_MTX(sc), 0, "vtbspf", 0); in vtballoon_send_page_frames()
533 msleep(sc, VTBALLOON_MTX(sc), 0, "vtbslp", timeout); in vtballoon_sleep()

1234567891011