Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/kernel/msgq/msgq_api/src/
Dtest_msgq_fail.c53 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in test_msgq_put_fail()
79 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in test_msgq_get_fail()
Dtest_msgq_contexts.c258 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in test_msgq_thread()
275 k_msgq_init(&msgq, tbuffer, MSG_SIZE, 1); in test_msgq_thread_overflow()
330 k_msgq_init(&stack_msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in test_msgq_isr()
344 k_msgq_init(&msgq1, tbuffer1, MSG_SIZE, 1); in test_msgq_pend_thread()
391 k_msgq_init(&msgq1, tbuffer1, MSG_SIZE, 1); in test_msgq_empty()
431 k_msgq_init(&msgq1, tbuffer1, MSG_SIZE, 1); in test_msgq_full()
Dtest_msgq_attrs.c51 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in test_msgq_attrs_get()
Dtest_msgq_purge.c60 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in test_msgq_purge_when_put()
/Zephyr-Core-2.7.6/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-Core-2.7.6/subsys/portability/cmsis_rtos_v1/
Dcmsis_msgq.c24 k_msgq_init(queue_def->msgq, queue_def->pool, in osMessageCreate()
/Zephyr-Core-2.7.6/kernel/
Dmsg_q.c35 void k_msgq_init(struct k_msgq *msgq, char *buffer, size_t msg_size, in k_msgq_init() function
71 k_msgq_init(msgq, buffer, msg_size, max_msgs); in z_impl_k_msgq_alloc_init()
/Zephyr-Core-2.7.6/drivers/i2s/
Di2s_cavs.c783 k_msgq_init(&dev_data->tx.in_queue, (char *)dev_data->tx.in_msgs, in i2s_cavs_initialize()
785 k_msgq_init(&dev_data->rx.in_queue, (char *)dev_data->rx.in_msgs, in i2s_cavs_initialize()
787 k_msgq_init(&dev_data->tx.out_queue, (char *)dev_data->tx.out_msgs, in i2s_cavs_initialize()
789 k_msgq_init(&dev_data->rx.out_queue, (char *)dev_data->rx.out_msgs, in i2s_cavs_initialize()
Di2s_mcux_flexcomm.c831 k_msgq_init(&data->tx.in_queue, (char *)data->tx.in_msgs, in i2s_mcux_init()
833 k_msgq_init(&data->rx.in_queue, (char *)data->rx.in_msgs, in i2s_mcux_init()
835 k_msgq_init(&data->tx.out_queue, (char *)data->tx.out_msgs, in i2s_mcux_init()
837 k_msgq_init(&data->rx.out_queue, (char *)data->rx.out_msgs, in i2s_mcux_init()
Di2s_nrfx.c894 k_msgq_init(&i2s_nrfx_data##idx.tx_queue, \
897 k_msgq_init(&i2s_nrfx_data##idx.rx_queue, \
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/
Dmsgq.c69 k_msgq_init(&msgq->z_msgq, msgq->pool, msg_size, msg_count); in osMessageQueueNew()
/Zephyr-Core-2.7.6/samples/kernel/metairq_dispatch/src/
Dmain.c229 k_msgq_init(&threads[i].msgq, (char *)threads[i].msgq_buf, in main()
/Zephyr-Core-2.7.6/drivers/neural_net/
Dintel_gna.c176 k_msgq_init(&gna->request_queue, (char *)gna->requests, in intel_gna_initialize()
180 k_msgq_init(&gna->response_queue, (char *)gna->responses, in intel_gna_initialize()
/Zephyr-Core-2.7.6/doc/reference/kernel/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-Core-2.7.6/lib/posix/
Dmqueue.c161 k_msgq_init(&msg_queue->queue, msg_queue->mem_buffer, msg_size, in mq_open()
/Zephyr-Core-2.7.6/drivers/audio/
Ddmic_nrfx_pdm.c545 k_msgq_init(&dmic_nrfx_pdm_data##idx.rx_queue, \
Dintel_dmic.c1310 k_msgq_init(&stream_data->in_queue, in dmic_initialize_device()
1313 k_msgq_init(&stream_data->out_queue, in dmic_initialize_device()
/Zephyr-Core-2.7.6/subsys/tracing/sysview/
DSYSVIEW_Zephyr.txt65 59 k_msgq_init msgq=%I, buffer=%p, msg_size=%u, max_msgs=%us
/Zephyr-Core-2.7.6/tests/kernel/mbox/mbox_api/src/
Dtest_mbox_api.c572 k_msgq_init(&msgq, buffer, 4, 2); in test_enhance_capability()
/Zephyr-Core-2.7.6/tests/kernel/mem_protect/mem_protect/src/
Dkobject.c1282 k_msgq_init(m, NULL, 0, 0); in test_alloc_kobjects()
/Zephyr-Core-2.7.6/include/
Dkernel.h4261 void k_msgq_init(struct k_msgq *msgq, char *buffer, size_t msg_size,
/Zephyr-Core-2.7.6/doc/reference/usermode/
Dmemory_domain.rst111 k_msgq in supervisor mode with :c:func:`k_msgq_init`.