/netbsd/sys/kern/ |
H A D | sched_m2.c | 89 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 D | executor.c | 80 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 D | dbau1550.c | 301 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 D | fdt_panel.c | 73 kpause("panele", false, mstohz(200), NULL); in panel_fdt_enable() 90 kpause("panelp", false, mstohz(210), NULL); in panel_fdt_prepare()
|
H A D | mmc_pwrseq_simple.c | 86 mstohz(sc->sc_post_power_on_delay_ms), NULL); in mmcpwrseq_simple_post_power_on()
|
/netbsd/sys/sys/ |
H A D | param.h | 522 #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 D | obiofan.c | 147 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 D | dwc2.h | 108 #define msecs_to_jiffies mstohz 265 (void)kpause("mdelay", false, mstohz(msec), NULL); in msleep()
|
/netbsd/sys/external/bsd/drm2/include/linux/ |
H A D | delay.h | 73 (void)kpause("lnxmslep", false, mstohz(msec), NULL); in msleep()
|
H A D | jiffies.h | 77 return mstohz(msec); in msecs_to_jiffies()
|
H A D | sched.h | 79 mstohz(INT_MAX/2))); in schedule_timeout_uninterruptible()
|
/netbsd/sys/arch/evbarm/mpcsa/ |
H A D | mpcsa_leds.c | 176 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 D | OsdSchedule.c | 150 MAX(mstohz(Milliseconds), 1)); in AcpiOsSleep()
|
/netbsd/tests/rump/kernspace/ |
H A D | busypage.c | 86 kpause("lolgic", false, mstohz(100), NULL); in rumptest_busypage()
|
/netbsd/sys/ufs/chfs/ |
H A D | chfs_gc.c | 108 &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 D | npf_perf_test.c | 78 kpause("perf", false, mstohz(NSECS * 1000), NULL); in npf_test_conc()
|
H A D | npf_gc_test.c | 225 kpause("gctest", false, MAX(1, mstohz(1)), NULL); in run_worker_tests()
|
/netbsd/sys/external/bsd/ena-com/ |
H A D | ena_plat.h | 186 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 D | ixgbe_netbsd.c | 151 kpause("ixgdly", false, mstohz(us / 1000) + 1, NULL); in ixgbe_delay()
|
/netbsd/sys/dev/gpio/ |
H A D | gpiobutton.c | 47 #define GPIOBUTTON_POLL_INTERVAL mstohz(200)
|
/netbsd/sys/arch/arm/s3c2xx0/ |
H A D | s3c2440_sdi.c | 511 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 D | scmdspi.c | 245 &sc->sc_dying_mutex, mstohz(5000)); in scmdspi_detach()
|
/netbsd/sys/dev/ic/ |
H A D | adw.c | 353 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 D | lom.c | 646 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 D | owtemp.c | 227 (void)kpause("owtemp", false, mstohz(750 + 10), NULL); in owtemp_update()
|