Home
last modified time | relevance | path

Searched refs:k_mbox_msg (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/kernel/
Dmailbox.c33 struct k_mbox_msg tx_msg; /* transmit message descriptor */
112 static int mbox_message_match(struct k_mbox_msg *tx_msg, in mbox_message_match()
113 struct k_mbox_msg *rx_msg) in mbox_message_match()
155 static void mbox_message_dispose(struct k_mbox_msg *rx_msg) in mbox_message_dispose()
158 struct k_mbox_msg *tx_msg; in mbox_message_dispose()
168 tx_msg = (struct k_mbox_msg *)sending_thread->base.swap_data; in mbox_message_dispose()
210 static int mbox_message_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, in mbox_message_put()
215 struct k_mbox_msg *rx_msg; in mbox_message_put()
231 rx_msg = (struct k_mbox_msg *)receiving_thread->base.swap_data; in mbox_message_put()
295 int k_mbox_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, in k_mbox_put()
[all …]
/Zephyr-latest/tests/kernel/mbox/mbox_usage/src/
Dmain.c34 static struct k_mbox_msg mmsg; in msg_sender()
57 static struct k_mbox_msg mmsg; in msg_receiver()
131 static struct k_mbox_msg mmsg = {0}; in thread_low_prio()
148 static struct k_mbox_msg mmsg = {0}; in thread_high_prio()
166 struct k_mbox_msg mmsg = {0}; in ZTEST()
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_mailq.c103 struct k_mbox_msg mmsg; in osMailPut()
128 struct k_mbox_msg mmsg; in osMailGet()
/Zephyr-latest/tests/benchmarks/app_kernel/src/
Dmailbox_r.c76 struct k_mbox_msg Message; in mailbox_get()
Dmailbox_b.c11 static struct k_mbox_msg message;
/Zephyr-latest/tests/kernel/mbox/mbox_api/src/
Dtest_mbox_api.c74 struct k_mbox_msg mmsg = {0}; in mbox_get_waiting_thread()
109 struct k_mbox_msg mmsg = {0}; in tmbox_put()
241 struct k_mbox_msg mmsg = {0}; in tmbox_get()
/Zephyr-latest/subsys/tracing/test/
Dtracing_test.h606 void sys_trace_k_mbox_message_put_enter(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
608 void sys_trace_k_mbox_message_put_blocking(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
610 void sys_trace_k_mbox_message_put_exit(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
612 void sys_trace_k_mbox_put_enter(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
614 void sys_trace_k_mbox_put_exit(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, k_timeout_t timeout,
618 void sys_trace_k_mbox_get_enter(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, void *buffer,
620 void sys_trace_k_mbox_get_blocking(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, void *buffer,
622 void sys_trace_k_mbox_get_exit(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, void *buffer,
624 void sys_trace_k_mbox_data_get(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, void *buffer);
/Zephyr-latest/doc/kernel/services/data_passing/
Dmailboxes.rst141 A message descriptor is a structure of type :c:struct:`k_mbox_msg`.
240 struct k_mbox_msg send_msg;
273 struct k_mbox_msg send_msg;
365 struct k_mbox_msg recv_msg;
442 struct k_mbox_msg recv_msg;
/Zephyr-latest/include/zephyr/
Dkernel.h4842 struct k_mbox_msg { struct
4932 int k_mbox_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
4948 void k_mbox_async_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
4968 int k_mbox_get(struct k_mbox *mbox, struct k_mbox_msg *rx_msg,
4984 void k_mbox_data_get(struct k_mbox_msg *rx_msg, void *buffer);