Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/lifo/lifo_api/src/
Dtest_lifo_contexts.c21 static void tlifo_put(struct k_lifo *plifo) in tlifo_put() argument
25 k_lifo_put(plifo, (void *)&data[i]); in tlifo_put()
29 static void tlifo_get(struct k_lifo *plifo) in tlifo_get() argument
36 rx_data = k_lifo_get(plifo, K_FOREVER); in tlifo_get()
58 static void tlifo_thread_thread(struct k_lifo *plifo) in tlifo_thread_thread() argument
63 tThread_entry, plifo, NULL, NULL, in tlifo_thread_thread()
65 tlifo_put(plifo); in tlifo_thread_thread()
70 static void tlifo_thread_isr(struct k_lifo *plifo) in tlifo_thread_isr() argument
74 irq_offload(tIsr_entry_put, (const void *)plifo); in tlifo_thread_isr()
75 tlifo_get(plifo); in tlifo_thread_isr()
[all …]
Dtest_lifo_loop.c19 static void tlifo_put(struct k_lifo *plifo) in tlifo_put() argument
23 k_lifo_put(plifo, (void *)&data[i]); in tlifo_put()
27 static void tlifo_get(struct k_lifo *plifo) in tlifo_get() argument
34 rx_data = k_lifo_get(plifo, K_FOREVER); in tlifo_get()
59 static void tlifo_read_write(struct k_lifo *plifo) in tlifo_read_write() argument
64 tThread_entry, plifo, NULL, NULL, in tlifo_read_write()
68 tlifo_put(plifo); in tlifo_read_write()
69 irq_offload(tIsr_entry, (const void *)plifo); in tlifo_read_write()
74 tlifo_get(plifo); in tlifo_read_write()
/Zephyr-latest/tests/kernel/lifo/lifo_usage/src/
Dmain.c14 struct k_lifo lifo, plifo; variable
244 k_lifo_init(&plifo); in ZTEST()
248 thread_entry_wait, &plifo, NULL, NULL, in ZTEST()
251 ret = k_lifo_get(&plifo, K_FOREVER); in ZTEST()
257 ret = k_lifo_get(&plifo, K_FOREVER); in ZTEST()