Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 27) sorted by relevance

12

/lk-master/kernel/
A Dtimer.c44 static enum handler_return timer_tick(void *arg, lk_time_t now);
72 lk_time_t now; in timer_set() local
82 now = current_time(); in timer_set()
83 timer->scheduled_time = now + delay; in timer_set()
180 lk_time_t now = current_time(); in timer_cancel() local
182 if (TIME_LT(newhead->scheduled_time, now)) in timer_cancel()
185 delay = newhead->scheduled_time - now; in timer_cancel()
217 if (likely(TIME_LT(now, timer->scheduled_time))) in timer_tick()
260 DEBUG_ASSERT(TIME_GT(timer->scheduled_time, now)); in timer_tick()
262 lk_time_t delay = timer->scheduled_time - now; in timer_tick()
[all …]
A Dthread.c519 lk_bigtime_t now = current_time_hires(); in thread_resched() local
520 thread_stats[cpu].idle_time += now - thread_stats[cpu].last_idle_timestamp; in thread_resched()
705 enum handler_return thread_timer_tick(struct timer *t, lk_time_t now, void *arg) { in thread_timer_tick() argument
720 static enum handler_return thread_sleep_handler(timer_t *timer, lk_time_t now, void *arg) { in thread_sleep_handler() argument
1023 static enum handler_return wait_queue_timeout_handler(timer_t *timer, lk_time_t now, void *arg) { in wait_queue_timeout_handler() argument
A Ddebug.c93 static enum handler_return threadload(struct timer *t, lk_time_t now, void *arg) { in threadload() argument
/lk-master/lib/minip/
A Dnet_timer.c44 lk_time_t now = current_time(); in net_timer_set() local
55 t->sched_time = now + delay; in net_timer_set()
83 lk_time_t now = current_time(); in net_timer_work_routine() local
96 if (TIME_GT(e->sched_time, now)) { in net_timer_work_routine()
97 delay = e->sched_time - now; in net_timer_work_routine()
/lk-master/arch/mips/
A Dtimer.c54 lk_time_t now = current_time(); in mips_timer_irq() local
55 ret = cb(cb_args, now); in mips_timer_irq()
74 uint32_t now = mips_read_c0_count(); in platform_set_periodic_timer() local
75 last_compare_set = now + tick_interval; in platform_set_periodic_timer()
/lk-master/platform/nrf51xxx/
A Dtimer.c27 typedef enum handler_return (*platform_timer_callback)(void *arg, lk_time_t now);
73 lk_time_t now = current_time();
74 if (cb(cb_args, now) == INT_RESCHEDULE)
/lk-master/external/lib/lwip/core/
A Dtimers.c366 u32_t now; in sys_check_timeouts() local
368 now = sys_now(); in sys_check_timeouts()
370 diff = now - timeouts_last_time; in sys_check_timeouts()
381 timeouts_last_time = now; in sys_check_timeouts()
/lk-master/platform/nrf52xxx/
A Dtimer.c128 lk_time_t now = DIV_BY_32768(base_counter); in nrf52_RTC1_IRQ() local
129 if (cb(cb_args, now) == INT_RESCHEDULE) in nrf52_RTC1_IRQ()
/lk-master/arch/arm/arm-m/systick/
A Dsystick.c61 lk_time_t now = current_time(); in _systick() local
62 if (cb(cb_args, now) == INT_RESCHEDULE) in _systick()
/lk-master/lib/watchdog/
A Dwatchdog.c29 static enum handler_return watchdog_timer_callback(struct timer *timer, lk_time_t now, void *arg) { in watchdog_timer_callback() argument
91 static enum handler_return hw_watchdog_timer_callback(struct timer *timer, lk_time_t now, void *arg… in hw_watchdog_timer_callback() argument
/lk-master/platform/bcm28xx/
A Dmailbox.c40 lk_time_t now = current_time(); in mailbox_write() local
44 if ( (now + MAILBOX_WAIT_TIMEOUT_US) < current_time()) { in mailbox_write()
/lk-master/platform/include/platform/
A Dtimer.h23 typedef enum handler_return (*platform_timer_callback)(void *arg, lk_time_t now);
/lk-master/kernel/include/kernel/
A Dtimer.h19 typedef enum handler_return (*timer_callback)(struct timer *, lk_time_t now, void *arg);
A Dthread.h179 enum handler_return thread_timer_tick(struct timer *, lk_time_t now, void *arg);
/lk-master/external/platform/pico/rp2_common/hardware_timer/
A Dtimer.c159 uint64_t now = time_us_64(); in hardware_alarm_set_target() local
161 if (now >= t) { in hardware_alarm_set_target()
/lk-master/external/platform/pico/
A DREADME10 register definitions, but for now leave it mostly
/lk-master/external/platform/nrfx/
A DCHANGELOG.md86 …hen a premature STOP condition was generated by a slave device. The driver now handles this situat…
112 - Aligned symbol names for default IRQ priority in nrfx_config. These symbols are now adhering to t…
196 …that caused a performance loss on nRF52832. The interrupt configuration is now properly restored a…
213 - Fixed the condition in NRFX_WAIT_FOR in the nrfx_saadc_abort() function. The macro now correctly …
214 - Fixed the pending interrupt clearing in NVIC in the nrfx_usbd_stop() function. The driver now cor…
215 …arte_tx_in_progress() function would return an incorrect value. The driver now correctly updates t…
229 - Corrected NRFX_I2S_CONFIG_RATIO value in nrfx_config.h. It now correctly uses supported value.
239 - Updated the documentation for the nrfx_uarte_rx() function. It now correctly reflects the actual …
245 - Fixed the nrfx_ppi_channel_fork_assign() function. It now accepts also pre-programmed channels.
279 - Fixed the TXRX transfers in the TWIM driver. They can now be started after transfers that are not…
[all …]
/lk-master/external/platform/pico/rp2_common/pico_standard_link/
A Dmemmap_blocked_ram.ld67 /* TODO revisit this now memset/memcpy/float in ROM */
68 …/* bit of a hack right now to exclude all floating point and time critical (e.g. memset, memcpy) c…
A Dmemmap_default.ld67 /* TODO revisit this now memset/memcpy/float in ROM */
68 …/* bit of a hack right now to exclude all floating point and time critical (e.g. memset, memcpy) c…
/lk-master/platform/stm32f7xx/patch/
A Dqspi_const.patch80 + // NOTE: The caller is now responsible for setting cmd->NbData ==
109 + // NOTE: The caller is now responsible for setting cmd->NbData ==
/lk-master/external/platform/pico/common/pico_time/
A Dtime.c107 absolute_time_t now = get_absolute_time(); in alarm_pool_alarm_callback() local
117 if (absolute_time_diff_us(now, entry->target) <= 0) { in alarm_pool_alarm_callback()
/lk-master/dev/keys/
A Dgpio_keypad.c87 gpio_keypad_timer_func(struct timer *timer, time_t now, void *arg) { in gpio_keypad_timer_func() argument
/lk-master/arch/x86/32/
A Dstart.S102 #error broken for now
/lk-master/app/lpcboot/
A Dlpcboot.c256 static enum handler_return led_timer_cb(timer_t *timer, lk_time_t now, void *arg) { in led_timer_cb() argument
/lk-master/external/platform/pico/rp2_common/pico_divider/
A Ddivider.S444 @ now 2^31<=x0<2^32, 0<=xsh<16 (amount x is shifted in x0); number of quotient bits to be calculate…
585 movs r3,r1 @ y now in r2:r3
665 @ now 2^47<=x0<2^48, 0<=xsh<16 (amount x is shifted in x0); number of quotient bits to be calculate…

Completed in 21 milliseconds

12