Home
last modified time | relevance | path

Searched refs:k_msgq_init (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/tests/kernel/msgq/msgq_api/src/
Dtest_msgq_fail.c53 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
79 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
Dtest_msgq_contexts.c258 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
275 k_msgq_init(&msgq, tbuffer, MSG_SIZE, 2); in ZTEST()
337 k_msgq_init(&stack_msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
351 k_msgq_init(&msgq1, tbuffer1, MSG_SIZE, 1); in ZTEST()
398 k_msgq_init(&msgq1, tbuffer1, MSG_SIZE, 1); in ZTEST()
438 k_msgq_init(&msgq1, tbuffer1, MSG_SIZE, 1); in ZTEST()
Dtest_msgq_attrs.c51 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
Dtest_msgq_purge.c60 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
/Zephyr-latest/tests/kernel/msgq/msgq_usage/src/
Dmain.c106 k_msgq_init(&service1_msgq, (char *)service1_buf, in service1_entry()
137 k_msgq_init(&service2_msgq, (char *)service2_buf, in service2_entry()
185 k_msgq_init(&client_msgq, (char *)client_buf, in client_entry()
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_msgq.c24 k_msgq_init(queue_def->msgq, queue_def->pool, in osMessageCreate()
/Zephyr-latest/tests/benchmarks/thread_metric/src/
Dtm_porting_layer_zephyr.c126 k_msgq_init(&test_msgq[queue_id], &test_msgq_buffer[queue_id][0][0], 16, 8); in tm_queue_create()
/Zephyr-latest/tests/kernel/obj_tracking/src/
Dmain.c100 k_msgq_init(&msgq, (char *)msgq_buffer, sizeof(int), 8); in ZTEST()
/Zephyr-latest/subsys/shell/backends/
Dshell_rpmsg.c69 k_msgq_init(&sh_rpmsg->rx_q, (char *)sh_rpmsg->rx_buf, sizeof(struct shell_rpmsg_rx), in init()
/Zephyr-latest/kernel/
Dmsg_q.c39 void k_msgq_init(struct k_msgq *msgq, char *buffer, size_t msg_size, in k_msgq_init() function
79 k_msgq_init(msgq, buffer, msg_size, max_msgs); in z_impl_k_msgq_alloc_init()
/Zephyr-latest/drivers/i2s/
Di2s_mcux_flexcomm.c899 k_msgq_init(&data->tx.in_queue, (char *)data->tx_in_msgs, in i2s_mcux_init()
901 k_msgq_init(&data->rx.in_queue, (char *)data->rx_in_msgs, in i2s_mcux_init()
903 k_msgq_init(&data->tx.out_queue, (char *)data->tx_out_msgs, in i2s_mcux_init()
905 k_msgq_init(&data->rx.out_queue, (char *)data->rx_out_msgs, in i2s_mcux_init()
Di2s_mcux_sai.c1109 k_msgq_init(&dev_data->tx.in_queue, (char *)dev_data->tx_in_msgs, sizeof(void *), in i2s_mcux_initialize()
1111 k_msgq_init(&dev_data->rx.in_queue, (char *)dev_data->rx_in_msgs, sizeof(void *), in i2s_mcux_initialize()
1113 k_msgq_init(&dev_data->tx.out_queue, (char *)dev_data->tx_out_msgs, sizeof(void *), in i2s_mcux_initialize()
1115 k_msgq_init(&dev_data->rx.out_queue, (char *)dev_data->rx_out_msgs, sizeof(void *), in i2s_mcux_initialize()
Di2s_nrfx.c965 k_msgq_init(&i2s_nrfx_data##idx.tx_queue, \
968 k_msgq_init(&i2s_nrfx_data##idx.rx_queue, \
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dmsgq.c74 k_msgq_init(&msgq->z_msgq, msgq->pool, msg_size, msg_count); in osMessageQueueNew()
/Zephyr-latest/samples/kernel/metairq_dispatch/src/
Dmain.c236 k_msgq_init(&threads[i].msgq, (char *)threads[i].msgq_buf, in main()
/Zephyr-latest/tests/kernel/obj_core/obj_core/src/
Dmain.c245 k_msgq_init(&msgq2, msgq2_buffer, 4, 4); in ZTEST()
/Zephyr-latest/modules/openthread/platform/
Dhdlc_interface.cpp81 k_msgq_init(&spinel_hdlc_msgq, &spinel_hdlc_msgq_buffer, 1, 1); in Init()
/Zephyr-latest/doc/kernel/services/data_passing/
Dmessage_queues.rst74 It must then be initialized by calling :c:func:`k_msgq_init`.
90 k_msgq_init(&my_msgq, my_msgq_buffer, sizeof(struct data_item_type), 10);
/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_common.c218 k_msgq_init(&data->event_msgq, data->event_msgq_buffer, sizeof(enum stepper_event), in step_dir_stepper_common_init()
/Zephyr-latest/drivers/can/
Dcan_loopback.c427 k_msgq_init(&data->tx_msgq, data->msgq_buffer, sizeof(struct can_loopback_frame), in can_loopback_init()
/Zephyr-latest/lib/posix/options/
Dmqueue.c157 k_msgq_init(&msg_queue->queue, msg_queue->mem_buffer, msg_size, in mq_open()
/Zephyr-latest/subsys/tracing/sysview/
DSYSVIEW_Zephyr.txt64 59 k_msgq_init msgq=%I, buffer=%p, msg_size=%u, max_msgs=%us
/Zephyr-latest/tests/kernel/mbox/mbox_api/src/
Dtest_mbox_api.c453 k_msgq_init(&msgq, buffer, 4, 2); in ZTEST()
/Zephyr-latest/tests/kernel/workq/work_queue/src/
Dmain.c768 k_msgq_init(&ctx->msgq, in test_triggered_from_msgq_init()
/Zephyr-latest/drivers/audio/
Ddmic_nrfx_pdm.c649 k_msgq_init(&dmic_nrfx_pdm_data##idx.rx_queue, \

12