Home
last modified time | relevance | path

Searched refs:msec (Results 1 – 25 of 128) sorted by relevance

123456

/netbsd-src/sys/external/bsd/drm2/include/linux/
H A Ddelay.h56 mdelay(unsigned int msec) in mdelay() argument
59 if (msec < MAX_UDELAY_MS) in mdelay()
60 udelay(msec * 1000); in mdelay()
62 while (msec--) in mdelay()
67 msleep(unsigned int msec) in msleep() argument
70 ((hz < 1000) && (msec < (1000/(unsigned)hz)))) in msleep()
71 mdelay(msec); in msleep()
73 (void)kpause("lnxmslep", false, mstohz(msec), NULL); in msleep()
H A Djiffies.h75 msecs_to_jiffies(unsigned int msec) in msecs_to_jiffies() argument
77 return mstohz(msec); in msecs_to_jiffies()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Ddwarf1.c300 asection *msec; in parse_line_table() local
303 msec = bfd_get_section_by_name (stash->abfd, ".line"); in parse_line_table()
304 if (! msec || (msec->flags & SEC_HAS_CONTENTS) == 0) in parse_line_table()
307 size = msec->rawsize ? msec->rawsize : msec->size; in parse_line_table()
309 = bfd_simple_get_relocated_section_contents (stash->abfd, msec, NULL, in parse_line_table()
503 asection *msec; in _bfd_dwarf1_find_nearest_line() local
512 msec = bfd_get_section_by_name (abfd, ".debug"); in _bfd_dwarf1_find_nearest_line()
513 if (! msec in _bfd_dwarf1_find_nearest_line()
514 || (msec->flags & SEC_HAS_CONTENTS) == 0) in _bfd_dwarf1_find_nearest_line()
520 size = msec->rawsize ? msec->rawsize : msec->size; in _bfd_dwarf1_find_nearest_line()
[all …]
H A Ddwarf2.c695 asection *msec; in read_section() local
697 msec = bfd_get_section_by_name (abfd, section_name); in read_section()
698 if (msec == NULL) in read_section()
701 msec = bfd_get_section_by_name (abfd, section_name); in read_section()
703 if (msec == NULL) in read_section()
711 if ((msec->flags & SEC_HAS_CONTENTS) == 0) in read_section()
719 if (_bfd_section_size_insane (abfd, msec)) in read_section()
726 amt = bfd_get_section_limit_octets (abfd, msec); in read_section()
741 ? !bfd_simple_get_relocated_section_contents (abfd, msec, contents, in read_section()
743 : !bfd_get_section_contents (abfd, msec, contents, 0, *section_size)) in read_section()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Ddwarf1.c300 asection *msec; in parse_line_table() local
303 msec = bfd_get_section_by_name (stash->abfd, ".line"); in parse_line_table()
304 if (! msec) in parse_line_table()
307 size = msec->rawsize ? msec->rawsize : msec->size; in parse_line_table()
310 (stash->abfd, msec, NULL, stash->syms); in parse_line_table()
503 asection *msec; in _bfd_dwarf1_find_nearest_line() local
512 msec = bfd_get_section_by_name (abfd, ".debug"); in _bfd_dwarf1_find_nearest_line()
513 if (! msec) in _bfd_dwarf1_find_nearest_line()
519 size = msec->rawsize ? msec->rawsize : msec->size; in _bfd_dwarf1_find_nearest_line()
521 = bfd_simple_get_relocated_section_contents (abfd, msec, NULL, in _bfd_dwarf1_find_nearest_line()
H A Ddwarf2.c648 asection *msec; in read_section() local
651 msec = bfd_get_section_by_name (abfd, section_name); in read_section()
652 if (msec == NULL) in read_section()
655 msec = bfd_get_section_by_name (abfd, section_name); in read_section()
657 if (msec == NULL) in read_section()
665 amt = bfd_get_section_limit_octets (abfd, msec); in read_section()
693 ? !bfd_simple_get_relocated_section_contents (abfd, msec, contents, in read_section()
695 : !bfd_get_section_contents (abfd, msec, contents, 0, *section_size)) in read_section()
4759 asection *msec; in find_debug_info() local
4765 msec = bfd_get_section_by_name (abfd, look); in find_debug_info()
[all …]
/netbsd-src/sys/arch/x68k/dev/
H A Dopmbell.c85 u_int msec; member
152 sc->msec = BELL_DURATION; in bellattach()
206 bp->msec = sc->msec; in bellioctl()
434 if (sc->msec != 0) { in opm_bell()
440 ticks = bellmstohz(sc->msec); in opm_bell()
488 data->volume > MAXBVOLUME || data->msec > MAXBTIME) { in opm_bell_setup()
493 sc->msec = data->msec; in opm_bell_setup()
/netbsd-src/sys/arch/arm/nxp/
H A Dif_enet_imx.c236 u_int msec; in enet_phy_reset() local
244 if (of_getprop_uint32(phandle, "phy-reset-duration", &msec)) in enet_phy_reset()
245 msec = 1; in enet_phy_reset()
249 delay(msec * 1000); in enet_phy_reset()
253 if (of_getprop_uint32(phandle, "phy-reset-post-delay", &msec)) in enet_phy_reset()
254 msec = 0; in enet_phy_reset()
256 delay(msec * 1000); in enet_phy_reset()
/netbsd-src/usr.sbin/timed/timed/
H A Dacksend.c92 long msec; in acksend() local
103 msec = 200; in acksend()
116 mstotvround(&twait, msec); in acksend()
128 msec *= 2; in acksend()
/netbsd-src/external/bsd/libevent/dist/
H A Dpoll.c142 long msec = -1; in poll_dispatch() local
178 msec = evutil_tv_to_msec_(tv); in poll_dispatch()
179 if (msec < 0 || msec > INT_MAX) in poll_dispatch()
180 msec = INT_MAX; in poll_dispatch()
185 res = poll(event_set, nfds, msec); in poll_dispatch()
/netbsd-src/sys/dev/ic/
H A Ddw_hdmi_phy.c149 dwhdmi_phy_wait_i2c_done(struct dwhdmi_softc *sc, int msec) in dwhdmi_phy_wait_i2c_done() argument
157 msec -= 10; in dwhdmi_phy_wait_i2c_done()
158 if (msec <= 0) in dwhdmi_phy_wait_i2c_done()
275 uint8_t msec; in dwhdmi_phy_configure() local
343 msec = 4; in dwhdmi_phy_configure()
347 if (msec-- == 0) { in dwhdmi_phy_configure()
/netbsd-src/sys/arch/x68k/usr.bin/bellctrl/
H A Dbellctrl.c189 values.msec = duration; in set_bell_dur()
233 if (values.msec == DEFAULT) in set_bell_param()
234 values.msec = param.msec; in set_bell_param()
/netbsd-src/tests/net/route/
H A Dt_change.sh136 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
155 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
203 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
222 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
270 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
289 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
H A Dt_route.sh238 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
254 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
270 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
288 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
313 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
328 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
344 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
362 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
/netbsd-src/sys/external/bsd/dwc2/
H A Ddwc2.h259 msleep(unsigned int msec) in msleep() argument
262 ((hz < 1000) && (msec < (1000/hz)))) in msleep()
263 udelay(msec * 1000); in msleep()
265 (void)kpause("mdelay", false, mstohz(msec), NULL); in msleep()
/netbsd-src/sys/arch/mvme68k/stand/libbug/
H A Ddelay.c14 mvmeprom_delay(int msec) in mvmeprom_delay() argument
17 MVMEPROM_ARG1(msec); in mvmeprom_delay()
/netbsd-src/sys/external/bsd/vchiq/dist/interface/compat/
H A Dvchi_bsd.h219 #define mdelay(msec) DELAY((msec) * 1000) argument
226 #define msleep(msec) mdelay(msec) argument
/netbsd-src/external/bsd/ntp/dist/ntpd/
H A Drefclock_datum.c144 int msec; /* miliseconds */ member
572 datum_pts->msec = 100*((datum_pts->retbuf[5] & 0xf0) >> 4) + in datum_pts_receive()
576 datum_pts->usec = 1000*datum_pts->msec; in datum_pts_receive()
585 datum_pts->msec); in datum_pts_receive()
779 datum_pts->msec, in datum_pts_receive()
H A Drefclock_msfees.c293 #define msec(x) ((x) / (1<<22)) macro
1004 " %d.%04d", msec(deltas[i]), in ees_receive()
1009 msec(EES_STEP_F - EES_STEP_F_GRACE), subms(EES_STEP_F - EES_STEP_F_GRACE), in ees_receive()
1010 msec(EES_STEP_F + EES_STEP_F_GRACE), subms(EES_STEP_F + EES_STEP_F_GRACE), in ees_receive()
1102 ees->unit, (long)msec(delta_sfsec), (long)subms(delta_sfsec), in ees_receive()
1106 ees->unit, msec(delta_sfsec), subms(delta_sfsec), ees->second, in ees_receive()
1114 ees->unit, suspect_4ms_step, msec(delta_sfsec), subms(delta_sfsec), in ees_receive()
1115 msec(EES_STEP_F - EES_STEP_F_GRACE), in ees_receive()
1117 (int)msec(delta_f_abs), in ees_receive()
1119 msec(EES_STEP_F + EES_STEP_F_GRACE), in ees_receive()
[all …]
/netbsd-src/external/bsd/mdocml/dist/
H A Dman_validate.c187 man->meta.msec = mandoc_strdup(""); in check_root()
361 free(man->meta.msec); in post_TH()
365 man->meta.msec = man->meta.os = NULL; in post_TH()
394 man->meta.msec = mandoc_strdup(n->string); in post_TH()
396 man->meta.msec = mandoc_strdup(""); in post_TH()
434 else if ('\0' != man->meta.msec[0] && in post_TH()
435 (NULL != (p = mandoc_a2msec(man->meta.msec)))) in post_TH()
/netbsd-src/lib/libc/rpc/
H A Dclnt_bcast.c294 int msec; in rpc_broadcast_exp() local
451 for (msec = inittime; msec <= waittime; msec += msec) { in rpc_broadcast_exp()
526 ts.tv_sec = msec / 1000; in rpc_broadcast_exp()
527 ts.tv_nsec = (msec % 1000) * 1000000; in rpc_broadcast_exp()
/netbsd-src/lib/librumpuser/
H A Drumpfiber.c488 uint64_t msec; in rumpuser_clock_sleep() local
494 msec = sec * 1000 + nsec / (1000*1000UL); in rumpuser_clock_sleep()
495 msleep(msec); in rumpuser_clock_sleep()
498 msec = sec * 1000 + nsec / (1000*1000UL); in rumpuser_clock_sleep()
499 abssleep(msec); in rumpuser_clock_sleep()
596 wait(struct waithead *wh, uint64_t msec) in wait() argument
604 if (msec) in wait()
605 w.who->wakeup_time = now() + msec; in wait()
/netbsd-src/external/bsd/unbound/dist/util/
H A Dtube.c408 int msec = -1; in pollit() local
414 msec = t->tv_sec*1000 + t->tv_usec/1000; in pollit()
417 pret = poll(&fds, 1, msec); in pollit()
438 int tube_wait_timeout(struct tube* tube, int msec) in tube_wait_timeout() argument
448 ret = poll(&fds, 1, msec); in tube_wait_timeout()
689 int tube_wait_timeout(struct tube* tube, int msec) in tube_wait_timeout() argument
696 msec /* wait for timeout */, in tube_wait_timeout()
/netbsd-src/external/mpl/bind/dist/lib/isc/netmgr/
H A Duv-compat.h
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/netmgr/
H A Duv-compat.h77 #define uv_sleep(msec) usleep(msec * 1000) argument

123456