/lk-master/kernel/ |
A D | timer.c | 44 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 D | thread.c | 519 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 D | debug.c | 93 static enum handler_return threadload(struct timer *t, lk_time_t now, void *arg) { in threadload() argument
|
/lk-master/lib/minip/ |
A D | net_timer.c | 44 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 D | timer.c | 54 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 D | timer.c | 27 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 D | timers.c | 366 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 D | timer.c | 128 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 D | systick.c | 61 lk_time_t now = current_time(); in _systick() local 62 if (cb(cb_args, now) == INT_RESCHEDULE) in _systick()
|
/lk-master/lib/watchdog/ |
A D | watchdog.c | 29 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 D | mailbox.c | 40 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 D | timer.h | 23 typedef enum handler_return (*platform_timer_callback)(void *arg, lk_time_t now);
|
/lk-master/kernel/include/kernel/ |
A D | timer.h | 19 typedef enum handler_return (*timer_callback)(struct timer *, lk_time_t now, void *arg);
|
A D | thread.h | 179 enum handler_return thread_timer_tick(struct timer *, lk_time_t now, void *arg);
|
/lk-master/external/platform/pico/rp2_common/hardware_timer/ |
A D | timer.c | 159 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 D | README | 10 register definitions, but for now leave it mostly
|
/lk-master/external/platform/nrfx/ |
A D | CHANGELOG.md | 86 …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 D | memmap_blocked_ram.ld | 67 /* 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 D | memmap_default.ld | 67 /* 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 D | qspi_const.patch | 80 + // 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 D | time.c | 107 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 D | gpio_keypad.c | 87 gpio_keypad_timer_func(struct timer *timer, time_t now, void *arg) { in gpio_keypad_timer_func() argument
|
/lk-master/arch/x86/32/ |
A D | start.S | 102 #error broken for now
|
/lk-master/app/lpcboot/ |
A D | lpcboot.c | 256 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 D | divider.S | 444 @ 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…
|