Searched refs:timer_data (Results 1 – 8 of 8) sorted by relevance
66 static struct ipso_timer_data timer_data[MAX_INSTANCE_COUNT]; variable167 if (timer_data[i].active) { in remaining_time_read_cb()168 temp = timer_data[i].delay_duration * MSEC_PER_SEC; in remaining_time_read_cb()169 temp -= (k_uptime_get() - timer_data[i].trigger_offset); in remaining_time_read_cb()170 timer_data[i].remaining_time = (double)temp / MSEC_PER_SEC; in remaining_time_read_cb()172 timer_data[i].remaining_time = 0; in remaining_time_read_cb()175 *data_len = sizeof(timer_data[i].remaining_time); in remaining_time_read_cb()176 return &timer_data[i].remaining_time; in remaining_time_read_cb()191 temp = timer_data[i].cumulative_time_ms; in cumulative_time_read_cb()192 if (timer_data[i].active) { in cumulative_time_read_cb()[all …]
320 int ztress_execute(struct ztress_context_data *timer_data, in ztress_execute() argument328 if ((cnt + (timer_data ? 1 : 0)) > CONFIG_ZTRESS_MAX_THREADS) { in ztress_execute()346 context_cnt = cnt + (timer_data ? 1 : 0); in ztress_execute()352 tmr_data = timer_data; in ztress_execute()354 if (timer_data != NULL) { in ztress_execute()355 active_cnt_init(timer_data); in ztress_execute()356 backoff[ztress_prio] = timer_data->t; in ztress_execute()357 init_backoff[ztress_prio] = timer_data->t; in ztress_execute()358 k_timer_user_data_set(&ztress_timer, timer_data); in ztress_execute()375 if (timer_data != NULL) { in ztress_execute()[all …]
46 struct ztress_context_data timer_data = in ZTEST() local54 err = ztress_execute(&timer_data, thread_data, ARRAY_SIZE(thread_data)); in ZTEST()142 struct ztress_context_data timer_data = in ZTEST() local150 err = ztress_execute(&timer_data, thread_data, ARRAY_SIZE(thread_data)); in ZTEST()
16 struct timer_data { struct23 static FP_BMEM struct timer_data tdata; argument
16 struct timer_data { struct26 static ZTEST_BMEM struct timer_data tdata; argument
81 static void *timer_data; variable208 timer_data = timer.user_data; in timer_tests()463 zassert_equal(timer_data, NON_NULL_PTR, in ZTEST()
208 int ztress_execute(struct ztress_context_data *timer_data,
11 struct timer_data { struct68 static ZTEST_BMEM struct timer_data tdata;