Home
last modified time | relevance | path

Searched refs:counter_handler (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/tests/kernel/workq/work/src/
Dmain.c141 static void counter_handler(struct k_work *work) in counter_handler() function
180 counter_handler(work); in rel_handler()
186 counter_handler(work); in delay_handler()
192 static K_WORK_DEFINE(fnstat, counter_handler); in test_work_init()
196 k_work_init(&stack, counter_handler); in test_work_init()
203 static K_WORK_DELAYABLE_DEFINE(fnstat, counter_handler); in test_delayable_init()
207 k_work_init_delayable(&stack, counter_handler); in test_delayable_init()
217 k_work_init(&common_work, counter_handler); in ZTEST()
277 k_work_init(&common_work, counter_handler); in ZTEST()
291 k_work_init(&common_work, counter_handler); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/drivers/counter/
Drtc_mcp7940n.c60 counter_alarm_callback_t counter_handler[2]; member
358 if (data->counter_handler[alarm_id]) { in mcp7940n_handle_interrupt()
359 cb = data->counter_handler[alarm_id]; in mcp7940n_handle_interrupt()
547 data->counter_handler[alarm_id] = alarm_cfg->callback; in mcp7940n_counter_set_alarm()
Dmaxim_ds3231.c112 counter_alarm_callback_t counter_handler[2]; member
690 counter_alarm_callback_t cb = data->counter_handler[id]; in alarm_worker()
693 data->counter_handler[id] = NULL; in alarm_worker()
1235 data->counter_handler[id] = alarm_cfg->callback; in ds3231_counter_set_alarm()