| /Zephyr-4.3.0/tests/drivers/spi/spi_loopback/boards/ |
| D | mimxrt1050_evk_mimxrt1052_hyperflash.overlay | 12 spi-cs-setup-delay-ns = <1000>; 13 spi-cs-hold-delay-ns = <1000>; 14 spi-interframe-delay-ns = <1000>; 21 spi-cs-setup-delay-ns = <100>; 22 spi-cs-hold-delay-ns = <100>; 25 transfer-delay = <100>; 26 sck-pcs-delay = <200>; 27 pcs-sck-delay = <200>;
|
| D | frdm_mcxw71.overlay | 12 spi-cs-setup-delay-ns = <1000>; 13 spi-cs-hold-delay-ns = <1000>; 14 spi-interframe-delay-ns = <1000>; 21 spi-cs-setup-delay-ns = <200>; 22 spi-cs-hold-delay-ns = <200>; 23 spi-interframe-delay-ns = <100>;
|
| D | mcxw72_evk_mcxw727c_cpu0.overlay | 12 spi-cs-setup-delay-ns = <1000>; 13 spi-cs-hold-delay-ns = <1000>; 14 spi-interframe-delay-ns = <1000>; 21 spi-cs-setup-delay-ns = <200>; 22 spi-cs-hold-delay-ns = <200>; 23 spi-interframe-delay-ns = <100>;
|
| D | mimxrt1040_evk.overlay | 20 transfer-delay = <100>; 21 pcs-sck-delay = <100>; 22 sck-pcs-delay = <100>;
|
| D | mimxrt1170_evk_mimxrt1176_cm4_B.overlay | 20 transfer-delay = <100>; 21 pcs-sck-delay = <100>; 22 sck-pcs-delay = <100>;
|
| D | mimxrt1170_evk_mimxrt1176_cm7_B.overlay | 20 transfer-delay = <100>; 21 pcs-sck-delay = <100>; 22 sck-pcs-delay = <100>;
|
| D | frdm_mcxn947_mcxn947_cpu0.overlay | 20 transfer-delay = <100>; 21 sck-pcs-delay = <200>; 22 pcs-sck-delay = <200>;
|
| D | mimxrt1010_evk.overlay | 20 transfer-delay = <100>; 21 pcs-sck-delay = <100>; 22 sck-pcs-delay = <100>;
|
| D | mimxrt1015_evk.overlay | 20 transfer-delay = <100>; 21 pcs-sck-delay = <100>; 22 sck-pcs-delay = <100>;
|
| D | mimxrt1020_evk.overlay | 20 transfer-delay = <100>; 21 pcs-sck-delay = <100>; 22 sck-pcs-delay = <100>;
|
| D | mimxrt1024_evk.overlay | 20 transfer-delay = <100>; 21 pcs-sck-delay = <100>; 22 sck-pcs-delay = <100>;
|
| D | mimxrt1060_evk_mimxrt1062_qspi.overlay | 20 transfer-delay = <100>; 21 pcs-sck-delay = <100>; 22 sck-pcs-delay = <100>;
|
| /Zephyr-4.3.0/subsys/modem/ |
| D | modem_workqueue.h | 23 int modem_work_schedule(struct k_work_delayable *dwork, k_timeout_t delay); 24 int modem_work_reschedule(struct k_work_delayable *dwork, k_timeout_t delay); 33 static inline int modem_work_schedule(struct k_work_delayable *dwork, k_timeout_t delay) 35 return k_work_schedule(dwork, delay); 38 static inline int modem_work_reschedule(struct k_work_delayable *dwork, k_timeout_t delay) 40 return k_work_reschedule(dwork, delay);
|
| D | modem_workqueue.c | 19 int modem_work_schedule(struct k_work_delayable *dwork, k_timeout_t delay) in modem_work_schedule() argument 21 return k_work_schedule_for_queue(&modem_work_q, dwork, delay); in modem_work_schedule() 24 int modem_work_reschedule(struct k_work_delayable *dwork, k_timeout_t delay) in modem_work_reschedule() argument 26 return k_work_reschedule_for_queue(&modem_work_q, dwork, delay); in modem_work_reschedule()
|
| /Zephyr-4.3.0/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/ |
| D | main.c | 97 static void print_phil_state(int id, const char *fmt, int32_t delay) in print_phil_state() argument 111 if (delay) { in print_phil_state() 113 delay < 1000 ? " " : "", delay); in print_phil_state() 129 int32_t delay = (k_uptime_get_32() / 100 * (id + 1)) & 0x1f; in get_random_delay() local 132 int32_t ms = (delay + 1) * period_in_ms; in get_random_delay() 159 int32_t delay; in philosopher() local 166 delay = get_random_delay(my_id, 25); in philosopher() 167 print_phil_state(my_id, " EATING [ %s%d ms ] ", delay); in philosopher() 168 osDelay(delay); in philosopher() 174 delay = get_random_delay(my_id, 25); in philosopher() [all …]
|
| /Zephyr-4.3.0/samples/philosophers/src/ |
| D | main.c | 100 static void print_phil_state(int id, const char *fmt, int32_t delay) in print_phil_state() argument 111 if (delay) { in print_phil_state() 112 printk(fmt, delay < 1000 ? " " : "", delay); in print_phil_state() 127 int32_t delay = (k_uptime_get_32()/100 * (id + 1)) & 0x1f; in get_random_delay() local 130 int32_t ms = (delay + 1) * period_in_ms; in get_random_delay() 160 int32_t delay; in philosopher() local 167 delay = get_random_delay(my_id, 25); in philosopher() 168 print_phil_state(my_id, " EATING [ %s%d ms ] ", delay); in philosopher() 169 k_msleep(delay); in philosopher() 175 delay = get_random_delay(my_id, 25); in philosopher() [all …]
|
| /Zephyr-4.3.0/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/ |
| D | main.c | 127 static void print_phil_state(int id, const char *fmt, int32_t delay) in print_phil_state() argument 138 if (delay) { in print_phil_state() 139 printk(fmt, delay < 1000 ? " " : "", delay); in print_phil_state() 154 int32_t delay = (k_uptime_get_32()/100 * (id + 1)) & 0x1f; in get_random_delay() local 157 int32_t ms = (delay + 1) * period_in_ms; in get_random_delay() 184 int32_t delay; in philosopher() local 191 delay = get_random_delay(my_id, 25); in philosopher() 192 print_phil_state(my_id, " EATING [ %s%d ms ] ", delay); in philosopher() 193 osDelay(delay); in philosopher() 199 delay = get_random_delay(my_id, 25); in philosopher() [all …]
|
| /Zephyr-4.3.0/samples/posix/philosophers/src/ |
| D | main.c | 87 static void print_phil_state(int id, const char *fmt, int32_t delay) in print_phil_state() argument 107 if (delay) { in print_phil_state() 108 printk(fmt, delay < 1000 ? " " : "", delay); in print_phil_state() 119 int32_t delay; in get_random_delay() local 130 delay = (uptime / 100 * (id + 1)) & 0x1f; in get_random_delay() 133 ms = (delay + 1) * period_in_ms; in get_random_delay() 160 int32_t delay; in philosopher() local 167 delay = get_random_delay(my_id, 25); in philosopher() 168 print_phil_state(my_id, " EATING [ %s%d ms ] ", delay); in philosopher() 169 usleep(delay * USEC_PER_MSEC); in philosopher() [all …]
|
| /Zephyr-4.3.0/tests/unit/net_timeout/ |
| D | main.c | 199 uint32_t delay; in ZTEST() local 214 delay = net_timeout_evaluate(&nto, now); in ZTEST() 215 zassert_equal(delay, NET_TIMEOUT_MAX_VALUE, in ZTEST() 229 delay = net_timeout_evaluate(&nto, now + half_max); in ZTEST() 230 zassert_equal(delay, NET_TIMEOUT_MAX_VALUE - half_max, in ZTEST() 244 delay = net_timeout_evaluate(&nto, now + NET_TIMEOUT_MAX_VALUE - 1U); in ZTEST() 245 zassert_equal(delay, 1U, in ZTEST() 260 delay = net_timeout_evaluate(&nto, now); in ZTEST() 261 zassert_equal(delay, NET_TIMEOUT_MAX_VALUE, in ZTEST() 278 delay = net_timeout_evaluate(&nto, now); in ZTEST() [all …]
|
| /Zephyr-4.3.0/samples/drivers/led/pwm/ |
| D | Kconfig | 5 int "Blinking delay for short cycle demo" 8 Specifies the LED on/off delay in milliseconds for short cycle 13 int "Blinking delay for long cycle demo" 16 Specifies the LED on/off delay in milliseconds for long cycle 24 Specifies the delay in milliseconds for the fade demo of the 27 delay elapses. 38 int "Divisor for auto-calculating short blink delay from PWM period" 43 is used to automatically calculate the short blink delay from the 48 The division by 2 is because the delay applies to each phase 52 int "Divisor for auto-calculating long blink delay from PWM period" [all …]
|
| /Zephyr-4.3.0/drivers/timer/ |
| D | mchp_sam_pit64b_timer.c | 94 uint32_t delay; in sys_clock_set_timeout() local 108 delay = ticks * CYCLES_PER_TICK; in sys_clock_set_timeout() 109 delay += unannounced; in sys_clock_set_timeout() 110 delay = DIV_ROUND_UP(delay, CYCLES_PER_TICK) * CYCLES_PER_TICK; in sys_clock_set_timeout() 111 delay -= unannounced; in sys_clock_set_timeout() 112 delay = MAX(delay, MIN_DELAY); in sys_clock_set_timeout() 113 if (delay > MAX_CYCLES) { in sys_clock_set_timeout() 116 last_load = delay; in sys_clock_set_timeout()
|
| D | arcv2_timer0.c | 279 uint32_t delay; in sys_clock_set_timeout() local 289 delay = MAX(ticks * CYC_PER_TICK, MIN_DELAY); in sys_clock_set_timeout() 293 timer0_limit_register_set(delay - 1); in sys_clock_set_timeout() 310 uint32_t delay; in sys_clock_set_timeout() 340 delay = ticks * CYC_PER_TICK; in sys_clock_set_timeout() 343 delay += unannounced; in sys_clock_set_timeout() 344 delay = DIV_ROUND_UP(delay, CYC_PER_TICK) * CYC_PER_TICK; in sys_clock_set_timeout() 346 delay -= unannounced; in sys_clock_set_timeout() 347 delay = MAX(delay, MIN_DELAY); in sys_clock_set_timeout() 349 last_load = MIN(delay, MAX_CYCLES); in sys_clock_set_timeout()
|
| D | stm32wb0_radio_timer.c | 101 uint32_t current_time, delay; in sys_clock_set_timeout() local 104 delay = blue_unit_conversion(k_ticks_to_cyc_near32(ticks), calibration_data_freq1, in sys_clock_set_timeout() 106 if (delay > MAX_ALLOWED_DELAY) { in sys_clock_set_timeout() 107 delay = MAX_ALLOWED_DELAY; in sys_clock_set_timeout() 109 delay = MAX(MIN_ALLOWED_DELAY, delay); in sys_clock_set_timeout() 112 LL_RADIO_TIMER_SetCPUWakeupTime(WAKEUP, current_time + delay + TIMER_ROUNDING); in sys_clock_set_timeout()
|
| D | renesas_ra_ulpt_timer.c | 105 uint32_t delay = ticks * CYCLE_PER_TICK; in sys_clock_set_timeout() local 108 delay += unannounced; in sys_clock_set_timeout() 109 delay = DIV_ROUND_UP(delay, CYCLE_PER_TICK) * CYCLE_PER_TICK; in sys_clock_set_timeout() 110 delay -= unannounced; in sys_clock_set_timeout() 111 delay = MAX(delay, RA_ULPT_RELOAD_MIN + RA_ULPT_RELOAD_DELAY); in sys_clock_set_timeout() 112 delay -= RA_ULPT_RELOAD_DELAY; in sys_clock_set_timeout() 115 RA_ULPT_INST0_REG->ULPTCNT = delay - 1U; in sys_clock_set_timeout()
|
| /Zephyr-4.3.0/subsys/rtio/ |
| D | rtio_sched.c | 22 struct rtio_sqe *sqe = CONTAINER_OF(t, struct rtio_sqe, delay.to); in rtio_sched_alarm_expired() 32 z_init_timeout(&sqe->delay.to); in rtio_sched_alarm() 33 z_add_timeout(&sqe->delay.to, rtio_sched_alarm_expired, timeout); in rtio_sched_alarm()
|