HelenOS sources
period 616 kernel/generic/src/proc/thread.c uint32_t period = (sec > 1000) ? 1000 : sec;
period 618 kernel/generic/src/proc/thread.c thread_usleep(period * 1000000);
period 619 kernel/generic/src/proc/thread.c sec -= period;
period 1311 uspace/drv/nic/e1k/e1k.c static uint16_t e1000_calculate_itr_interval(const struct timespec *period)
period 1314 uspace/drv/nic/e1k/e1k.c return e1000_calculate_itr_interval_from_usecs(NSEC2USEC(period->tv_nsec));
period 1328 uspace/drv/nic/e1k/e1k.c const struct timespec *period)
period 1344 uspace/drv/nic/e1k/e1k.c assert(period);
period 1345 uspace/drv/nic/e1k/e1k.c uint16_t itr_interval = e1000_calculate_itr_interval(period);
period 2189 uspace/drv/nic/e1k/e1k.c struct timespec period;
period 2190 uspace/drv/nic/e1k/e1k.c period.tv_sec = 0;
period 2191 uspace/drv/nic/e1k/e1k.c period.tv_nsec = USEC2NSEC(E1000_DEFAULT_INTERRUPT_INTERVAL_USEC);
period 2192 uspace/drv/nic/e1k/e1k.c rc = nic_report_poll_mode(nic, NIC_POLL_PERIODIC, &period);
period 313 uspace/drv/nic/rtl8139/driver.c const struct timespec *period);
period 2056 uspace/drv/nic/rtl8139/driver.c const struct timespec *period)
period 2074 uspace/drv/nic/rtl8139/driver.c assert(period);
period 2077 uspace/drv/nic/rtl8139/driver.c rc = rtl8139_timer_act_init(&new_timer, RTL8139_PCI_FREQ_KHZ, period);
period 171 uspace/lib/c/generic/thread/thread.c unsigned int period = (sec > 1000) ? 1000 : sec;
period 173 uspace/lib/c/generic/thread/thread.c thread_usleep(SEC2USEC(period));
period 174 uspace/lib/c/generic/thread/thread.c sec -= period;
period 206 uspace/lib/cpp/include/__bits/chrono.hpp using period = typename duration::period;
period 460 uspace/lib/cpp/include/__bits/chrono.hpp using CF = ratio_divide<Period, typename ToDuration::period>;
period 605 uspace/lib/cpp/include/__bits/chrono.hpp using duration = chrono::duration<rep, period>;
period 649 uspace/lib/cpp/include/__bits/chrono.hpp using duration = chrono::duration<rep, period>;
period 1264 uspace/lib/drv/generic/remote_nic.c struct timespec *period)
period 1273 uspace/lib/drv/generic/remote_nic.c NIC_POLL_GET_MODE, period != NULL, &_mode);
period 1281 uspace/lib/drv/generic/remote_nic.c if (period != NULL)
period 1282 uspace/lib/drv/generic/remote_nic.c rc = async_data_read_start(exch, period, sizeof(struct timespec));
period 1298 uspace/lib/drv/generic/remote_nic.c const struct timespec *period)
period 1303 uspace/lib/drv/generic/remote_nic.c NIC_POLL_SET_MODE, (sysarg_t) mode, period != NULL, NULL);
period 1306 uspace/lib/drv/generic/remote_nic.c if (period)
period 1307 uspace/lib/drv/generic/remote_nic.c rc = async_data_write_start(exch, period, sizeof(struct timespec));
period 2406 uspace/lib/drv/generic/remote_nic.c struct timespec period = {
period 2411 uspace/lib/drv/generic/remote_nic.c errno_t rc = nic_iface->poll_get_mode(dev, &mode, &period);
period 2428 uspace/lib/drv/generic/remote_nic.c async_data_read_finalize(&data, &period,
period 2443 uspace/lib/drv/generic/remote_nic.c struct timespec *period = NULL;
period 2460 uspace/lib/drv/generic/remote_nic.c period = &period_buf;
period 2461 uspace/lib/drv/generic/remote_nic.c if (async_data_write_finalize(&data, period,
period 2469 uspace/lib/drv/generic/remote_nic.c errno_t rc = nic_iface->poll_set_mode(dev, mode, period);
period 180 uspace/lib/math/generic/trig.c unsigned int period = arg / (M_PI / 4);
period 182 uspace/lib/math/generic/trig.c switch (period) {
period 213 uspace/lib/math/generic/trig.c unsigned int period = arg / (M_PI / 4);
period 215 uspace/lib/math/generic/trig.c switch (period) {
period 246 uspace/lib/math/generic/trig.c unsigned int period = arg / (M_PI / 4);
period 248 uspace/lib/math/generic/trig.c switch (period) {
period 279 uspace/lib/math/generic/trig.c unsigned int period = arg / (M_PI / 4);
period 281 uspace/lib/math/generic/trig.c switch (period) {
period 386 uspace/lib/nic/src/nic_driver.c nic_poll_mode_t nic_query_poll_mode(nic_t *nic_data, struct timespec *period)
period 388 uspace/lib/nic/src/nic_driver.c if (period)
period 389 uspace/lib/nic/src/nic_driver.c *period = nic_data->poll_period;
period 402 uspace/lib/nic/src/nic_driver.c struct timespec *period)
period 409 uspace/lib/nic/src/nic_driver.c if (period) {
period 410 uspace/lib/nic/src/nic_driver.c memcpy(&nic_data->default_poll_period, period, sizeof(struct timespec));
period 411 uspace/lib/nic/src/nic_driver.c memcpy(&nic_data->poll_period, period, sizeof(struct timespec));
period 719 uspace/lib/nic/src/nic_impl.c nic_poll_mode_t *mode, struct timespec *period)
period 724 uspace/lib/nic/src/nic_impl.c memcpy(period, &nic_data->poll_period, sizeof(struct timespec));
period 742 uspace/lib/nic/src/nic_impl.c nic_poll_mode_t mode, const struct timespec *period)
period 756 uspace/lib/nic/src/nic_impl.c if (period == NULL)
period 758 uspace/lib/nic/src/nic_impl.c if (period->tv_sec == 0 && period->tv_nsec == 0)
period 760 uspace/lib/nic/src/nic_impl.c if (period->tv_sec < 0 || period->tv_nsec < 0)
period 764 uspace/lib/nic/src/nic_impl.c errno_t rc = nic_data->on_poll_mode_change(nic_data, mode, period);
period 776 uspace/lib/nic/src/nic_impl.c if (period)
period 777 uspace/lib/nic/src/nic_impl.c nic_data->poll_period = *period;
period 127 uspace/lib/trackmod/protracker.c cell->period = (code >> (4 * 4)) & 0xfff;
period 230 uspace/lib/trackmod/trackmod.c int period;
period 238 uspace/lib/trackmod/trackmod.c if (cell->period == 0) {
period 244 uspace/lib/trackmod/trackmod.c period = period_table[opitch] * 8 / (1 << octave);
period 246 uspace/lib/trackmod/trackmod.c period = period_table[opitch] * 8 * (1 << (-octave));
period 248 uspace/lib/trackmod/trackmod.c period = cell->period;
period 249 uspace/lib/trackmod/trackmod.c period = period *
period 251 uspace/lib/trackmod/trackmod.c if (period > period_max)
period 252 uspace/lib/trackmod/trackmod.c period = period_max;
period 253 uspace/lib/trackmod/trackmod.c if (period < period_min)
period 254 uspace/lib/trackmod/trackmod.c period = period_min;
period 257 uspace/lib/trackmod/trackmod.c chan->period_new = period;
period 298 uspace/lib/trackmod/trackmod.c chan->period = 0;
period 437 uspace/lib/trackmod/trackmod.c np = modplay->chan[chan].period + param;
period 440 uspace/lib/trackmod/trackmod.c modplay->chan[chan].period = np;
period 454 uspace/lib/trackmod/trackmod.c np = modplay->chan[chan].period - param;
period 457 uspace/lib/trackmod/trackmod.c modplay->chan[chan].period = np;
period 610 uspace/lib/trackmod/trackmod.c if (cell->period != 0 || (cell->note != 0 && cell->note != keyoff_note)) {
period 620 uspace/lib/trackmod/trackmod.c modplay->chan[chan].period = modplay->chan[chan].period_new;
period 642 uspace/lib/trackmod/trackmod.c printf("%4d %02x %02x %03x |", cell.period ?
period 643 uspace/lib/trackmod/trackmod.c cell.period : cell.note, cell.instr,
period 723 uspace/lib/trackmod/trackmod.c np = (int)chan->period - chan->portamento;
period 726 uspace/lib/trackmod/trackmod.c if (chan->period_tgt < chan->period)
period 727 uspace/lib/trackmod/trackmod.c np = max((int)chan->period_tgt, (int)chan->period - chan->portamento);
period 729 uspace/lib/trackmod/trackmod.c np = min((int)chan->period_tgt, (int)chan->period + chan->portamento);
period 739 uspace/lib/trackmod/trackmod.c modplay->chan[i].period = np;
period 914 uspace/lib/trackmod/trackmod.c int period, clk;
period 919 uspace/lib/trackmod/trackmod.c if (chan->sample == NULL || chan->period == 0)
period 931 uspace/lib/trackmod/trackmod.c period = (int)chan->period;
period 934 uspace/lib/trackmod/trackmod.c s = (sl * (period - clk) + sn * clk) / period;
period 937 uspace/lib/trackmod/trackmod.c while (chan->sample != NULL && chan->smp_clk >= chan->period) {
period 938 uspace/lib/trackmod/trackmod.c chan->smp_clk -= chan->period;
period 94 uspace/lib/trackmod/types/trackmod.h unsigned period;
period 147 uspace/lib/trackmod/types/trackmod.h unsigned period;
HelenOS homepage, sources at GitHub