Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/fifo/fifo_api/src/
Dtest_fifo_contexts.c23 static void tfifo_put(struct k_fifo *pfifo) in tfifo_put() argument
27 k_fifo_put(pfifo, (void *)&data[i]); in tfifo_put()
35 k_fifo_put_list(pfifo, (uint32_t *)head, (uint32_t *)tail); in tfifo_put()
43 k_fifo_put_slist(pfifo, &slist); in tfifo_put()
46 static void tfifo_get(struct k_fifo *pfifo) in tfifo_get() argument
53 rx_data = k_fifo_get(pfifo, K_NO_WAIT); in tfifo_get()
58 rx_data = k_fifo_get(pfifo, K_NO_WAIT); in tfifo_get()
63 rx_data = k_fifo_get(pfifo, K_NO_WAIT); in tfifo_get()
87 static void tfifo_thread_thread(struct k_fifo *pfifo) in tfifo_thread_thread() argument
92 tThread_entry, pfifo, NULL, NULL, in tfifo_thread_thread()
[all …]
Dtest_fifo_loop.c19 static void tfifo_put(struct k_fifo *pfifo) in tfifo_put() argument
23 k_fifo_put(pfifo, (void *)&data[i]); in tfifo_put()
27 static void tfifo_get(struct k_fifo *pfifo) in tfifo_get() argument
34 rx_data = k_fifo_get(pfifo, K_NO_WAIT); in tfifo_get()
59 static void tfifo_read_write(struct k_fifo *pfifo) in tfifo_read_write() argument
64 tThread_entry, pfifo, NULL, NULL, in tfifo_read_write()
68 tfifo_put(pfifo); in tfifo_read_write()
69 irq_offload(tIsr_entry, pfifo); in tfifo_read_write()
74 tfifo_get(pfifo); in tfifo_read_write()
Dtest_fifo_cancel.c25 static void tfifo_thread_thread(struct k_fifo *pfifo) in tfifo_thread_thread() argument
28 t_cancel_wait_entry, pfifo, NULL, NULL, in tfifo_thread_thread()
31 void *ret = k_fifo_get(pfifo, K_MSEC(500)); in tfifo_thread_thread()