Home
last modified time | relevance | path

Searched refs:mstohz (Results 1 – 25 of 143) sorted by relevance

123456

/netbsd/sys/kern/
H A Dsched_m2.c89 min_ts = mstohz(20); /* ~20 ms */ in sched_rqinit()
90 max_ts = mstohz(150); /* ~150 ms */ in sched_rqinit()
91 sched_rrticks = mstohz(100); /* ~100 ms */ in sched_rqinit()
372 newsize = mstohz(newsize); in sysctl_sched_mints()
405 newsize = mstohz(newsize); in sysctl_sched_maxts()
/netbsd/sys/modules/examples/executor/
H A Dexecutor.c80 callout_schedule(&sc, mstohz(1000)); in callout_example()
97 callout_reset(&sc, mstohz(1000), callout_example, NULL); in executor_modcmd()
/netbsd/sys/arch/evbmips/alchemy/
H A Ddbau1550.c301 tsleep(&status, PWAIT, "pcmcia_reset_0", mstohz(100)); in dbau1550_slot_enable()
306 tsleep(&status, PWAIT, "pcmcia_reset_start", mstohz(300)); in dbau1550_slot_enable()
314 tsleep(&status, PWAIT, "pcmcia_reset_finish", mstohz(1000)); in dbau1550_slot_enable()
/netbsd/sys/dev/fdt/
H A Dfdt_panel.c73 kpause("panele", false, mstohz(200), NULL); in panel_fdt_enable()
90 kpause("panelp", false, mstohz(210), NULL); in panel_fdt_prepare()
H A Dmmc_pwrseq_simple.c86 mstohz(sc->sc_post_power_on_delay_ms), NULL); in mmcpwrseq_simple_post_power_on()
/netbsd/sys/sys/
H A Dparam.h522 #ifndef mstohz
524 # define mstohz(ms) ((unsigned int)((ms + 0ul) * hz / 1000ul)) macro
527 mstohz(unsigned int ms) in mstohz() function
/netbsd/sys/arch/macppc/dev/
H A Dobiofan.c147 callout_schedule(&sc->sc_callout, mstohz(5000)); in obiofan_attach()
164 callout_schedule(&sc->sc_callout, mstohz(5000)); in obiofan_update()
/netbsd/sys/external/bsd/dwc2/
H A Ddwc2.h108 #define msecs_to_jiffies mstohz
265 (void)kpause("mdelay", false, mstohz(msec), NULL); in msleep()
/netbsd/sys/external/bsd/drm2/include/linux/
H A Ddelay.h73 (void)kpause("lnxmslep", false, mstohz(msec), NULL); in msleep()
H A Djiffies.h77 return mstohz(msec); in msecs_to_jiffies()
H A Dsched.h79 mstohz(INT_MAX/2))); in schedule_timeout_uninterruptible()
/netbsd/sys/arch/evbarm/mpcsa/
H A Dmpcsa_leds.c176 callout_reset(&sc->sc_c, mstohz(LEDS_UPDATE_INTERVAL), mpcsa_leds_timer, sc); in mpcsa_leds_attach()
243 callout_schedule(&sc->sc_c, mstohz(LEDS_UPDATE_INTERVAL)); in mpcsa_leds_timer()
/netbsd/sys/dev/acpi/acpica/
H A DOsdSchedule.c150 MAX(mstohz(Milliseconds), 1)); in AcpiOsSleep()
/netbsd/tests/rump/kernspace/
H A Dbusypage.c86 kpause("lolgic", false, mstohz(100), NULL); in rumptest_busypage()
/netbsd/sys/ufs/chfs/
H A Dchfs_gc.c108 &chmp->chm_lock_mountfields, mstohz(100)); in chfs_gc_thread()
147 kpause("chfsthjoin", false, mstohz(1000), NULL); in chfs_gc_thread_stop()
241 &chmp->chm_lock_mountfields, mstohz(50)); in chfs_gc_fetch_inode()
494 kpause("chvncrea", true, mstohz(50), NULL); in chfs_gcollect_pass()
612 kpause("chvncrea", true, mstohz(50), NULL); in chfs_gcollect_pass()
/netbsd/usr.sbin/npf/npftest/libnpftest/
H A Dnpf_perf_test.c78 kpause("perf", false, mstohz(NSECS * 1000), NULL); in npf_test_conc()
H A Dnpf_gc_test.c225 kpause("gctest", false, MAX(1, mstohz(1)), NULL); in run_worker_tests()
/netbsd/sys/external/bsd/ena-com/
H A Dena_plat.h186 return kpause("enaw", false, mstohz(x), NULL); in ENA_MSLEEP()
192 mstohz(timeout_us * (1000 / 100)) /* XXX assumes 100 ms sleep */
/netbsd/sys/dev/pci/ixgbe/
H A Dixgbe_netbsd.c151 kpause("ixgdly", false, mstohz(us / 1000) + 1, NULL); in ixgbe_delay()
/netbsd/sys/dev/gpio/
H A Dgpiobutton.c47 #define GPIOBUTTON_POLL_INTERVAL mstohz(200)
/netbsd/sys/arch/arm/s3c2xx0/
H A Ds3c2440_sdi.c511 status = sssdi_wait_intr(sc, SDI_CMD_SENT | SDI_CMD_TIMEOUT, mstohz(SDI_CMD_WAIT_TIME)); in sssdi_exec_command()
588 dma_error = s3c2440_dmac_wait_xfer(sc->sc_xfer, mstohz(SDI_DMA_WAIT_TIME)); in sssdi_exec_command()
606 dma_error = s3c2440_dmac_wait_xfer(sc->sc_xfer, mstohz(SDI_DMA_WAIT_TIME)); in sssdi_exec_command()
/netbsd/sys/dev/spi/
H A Dscmdspi.c245 &sc->sc_dying_mutex, mstohz(5000)); in scmdspi_detach()
/netbsd/sys/dev/ic/
H A Dadw.c353 mstohz(ccb->timeout), adw_timeout, ccb); in adw_queue_ccb()
872 mstohz(ccb->timeout), adw_timeout, ccb); in adw_timeout()
905 mstohz(ccb->timeout), adw_timeout, ccb); in adw_timeout()
/netbsd/sys/arch/sparc64/dev/
H A Dlom.c646 callout_schedule(&sc->sc_state_to, mstohz(1)); in lom1_process_queue_locked()
656 callout_schedule(&sc->sc_state_to, mstohz(1000)); in lom1_process_queue_locked()
666 callout_schedule(&sc->sc_state_to, mstohz(250)); in lom1_process_queue_locked()
682 callout_schedule(&sc->sc_state_to, mstohz(1)); in lom1_process_queue_locked()
/netbsd/sys/dev/onewire/
H A Dowtemp.c227 (void)kpause("owtemp", false, mstohz(750 + 10), NULL); in owtemp_update()

123456