Home
last modified time | relevance | path

Searched refs:k_fifo (Results 1 – 25 of 86) sorted by relevance

1234

/Zephyr-latest/tests/kernel/fifo/fifo_api/src/
Dtest_fifo_contexts.c14 struct k_fifo fifo;
23 static void tfifo_put(struct k_fifo *pfifo) in tfifo_put()
46 static void tfifo_get(struct k_fifo *pfifo) in tfifo_get()
71 tfifo_put((struct k_fifo *)p); in tIsr_entry_put()
72 zassert_false(k_fifo_is_empty((struct k_fifo *)p)); in tIsr_entry_put()
77 tfifo_get((struct k_fifo *)p); in tIsr_entry_get()
78 zassert_true(k_fifo_is_empty((struct k_fifo *)p)); in tIsr_entry_get()
83 tfifo_get((struct k_fifo *)p1); in tThread_entry()
87 static void tfifo_thread_thread(struct k_fifo *pfifo) in tfifo_thread_thread()
99 static void tfifo_thread_isr(struct k_fifo *pfifo) in tfifo_thread_isr()
[all …]
Dtest_fifo_loop.c14 static struct k_fifo fifo;
19 static void tfifo_put(struct k_fifo *pfifo) in tfifo_put()
27 static void tfifo_get(struct k_fifo *pfifo) in tfifo_get()
43 tfifo_get((struct k_fifo *)p); in tIsr_entry()
45 tfifo_put((struct k_fifo *)p); in tIsr_entry()
51 tfifo_get((struct k_fifo *)p1); in tThread_entry()
54 tfifo_put((struct k_fifo *)p1); in tThread_entry()
59 static void tfifo_read_write(struct k_fifo *pfifo) in tfifo_read_write()
Dtest_fifo_cancel.c14 struct k_fifo fifo_c;
22 k_fifo_cancel_wait((struct k_fifo *)p1); in t_cancel_wait_entry()
25 static void tfifo_thread_thread(struct k_fifo *pfifo) in tfifo_thread_thread()
Dtest_fifo_fail.c24 static struct k_fifo fifo; in ZTEST()
/Zephyr-latest/tests/kernel/fifo/fifo_usage/src/
Dmain.c65 k_fifo_put((struct k_fifo *)p, (void *)&data_isr[i]); in tIsr_entry_put()
67 zassert_false(k_fifo_is_empty((struct k_fifo *)p)); in tIsr_entry_put()
77 rx_data = k_fifo_get((struct k_fifo *)p, K_NO_WAIT); in tIsr_entry_get()
80 zassert_true(k_fifo_is_empty((struct k_fifo *)p)); in tIsr_entry_get()
90 rx_data = k_fifo_get((struct k_fifo *)p1, K_NO_WAIT); in thread_entry_fn_single()
96 k_fifo_put((struct k_fifo *)p1, (void *)&data2[i]); in thread_entry_fn_single()
110 rx_data = k_fifo_get((struct k_fifo *)p2, K_FOREVER); in thread_entry_fn_dual()
114 k_fifo_put((struct k_fifo *)p1, (void *)&data1[i]); in thread_entry_fn_dual()
/Zephyr-latest/include/zephyr/drivers/console/
Dconsole.h42 typedef void (*console_input_fn)(struct k_fifo *avail, struct k_fifo *lines,
Duart_console.h30 void uart_register_input(struct k_fifo *avail, struct k_fifo *lines,
/Zephyr-latest/doc/kernel/services/data_passing/
Dqueues.rst8 to a FIFO and serves as the underlying implementation for both :ref:`k_fifo
10 :ref:`k_fifo <fifos_v2>`.
/Zephyr-latest/drivers/console/
Duart_console.c116 static struct k_fifo *avail_queue;
117 static struct k_fifo *lines_queue;
567 void uart_register_input(struct k_fifo *avail, struct k_fifo *lines, in uart_register_input()
578 void uart_register_input(struct k_fifo *avail, struct k_fifo *lines, in uart_register_input()
/Zephyr-latest/include/zephyr/mgmt/mcumgr/transport/
Dsmp_shell.h25 struct k_fifo buf_ready;
Dsmp.h123 struct k_fifo fifo;
/Zephyr-latest/include/zephyr/bluetooth/
Dl2cap.h231 struct k_fifo tx_queue;
241 struct k_fifo rx_queue;
309 struct k_fifo _pdu_tx_queue;
Dhci_raw.h128 int bt_enable_raw(struct k_fifo *rx_queue);
/Zephyr-latest/tests/benchmarks/sys_kernel/src/
Dmwfifo.c12 struct k_fifo fifo1;
13 struct k_fifo fifo2;
15 static struct k_fifo sync_fifo; /* for synchronization */
/Zephyr-latest/include/zephyr/
Dkernel.h78 struct k_fifo;
2494 struct k_fifo { struct
2528 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, init, fifo); \
2532 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, init, fifo); \
2548 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, cancel_wait, fifo); \
2550 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, cancel_wait, fifo); \
2568 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, put, fifo, _data); \
2570 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, put, fifo, _data); \
2592 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, alloc_put, fifo, _data); \
2594 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, alloc_put, fifo, _data, fap_ret); \
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/smp/
Dsmp_client.h30 struct k_fifo tx_fifo;
/Zephyr-latest/tests/kernel/fifo/fifo_timeout/src/
Dmain.c44 struct k_fifo *fifo;
54 struct k_fifo scratch_fifo_packets_fifo;
56 static struct k_fifo fifo_timeout[2];
57 struct k_fifo timeout_order_fifo;
118 k_fifo_put((struct k_fifo *)p1, get_scratch_packet()); in test_thread_put_timeout()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_offload.h52 struct k_fifo fifo;
/Zephyr-latest/subsys/tracing/test/
Dtracing_test.h566 void sys_trace_k_fifo_init_enter(struct k_fifo *fifo);
567 void sys_trace_k_fifo_init_exit(struct k_fifo *fifo);
568 void sys_trace_k_fifo_cancel_wait_enter(struct k_fifo *fifo);
569 void sys_trace_k_fifo_cancel_wait_exit(struct k_fifo *fifo);
570 void sys_trace_k_fifo_put_enter(struct k_fifo *fifo, void *data);
571 void sys_trace_k_fifo_put_exit(struct k_fifo *fifo, void *data);
572 void sys_trace_k_fifo_alloc_put_enter(struct k_fifo *fifo, void *data);
573 void sys_trace_k_fifo_alloc_put_exit(struct k_fifo *fifo, void *data, int ret);
574 void sys_trace_k_fifo_put_list_enter(struct k_fifo *fifo, void *head, void *tail);
575 void sys_trace_k_fifo_put_list_exit(struct k_fifo *fifo, void *head, void *tail);
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_nrf5.h39 struct k_fifo rx_fifo;
/Zephyr-latest/subsys/net/ip/
Dnet_tc.c44 static void submit_to_queue(struct k_fifo *queue, struct net_pkt *pkt) in submit_to_queue()
248 struct k_fifo *fifo = p1; in tc_rx_handler()
268 struct k_fifo *fifo = p1; in tc_tx_handler()
/Zephyr-latest/samples/philosophers/src/
Dphil_obj_abstract.h95 #define fork_t struct k_fifo *
100 struct k_fifo fifo;
/Zephyr-latest/subsys/bluetooth/mesh/
Dproxy_msg.h40 struct k_fifo pending;
/Zephyr-latest/include/zephyr/bluetooth/classic/
Drfcomm.h87 struct k_fifo tx_queue;
/Zephyr-latest/subsys/net/lib/ptp/
Dclock.h75 struct k_fifo messages;

1234