Searched refs:test_msgq (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/benchmarks/thread_metric/src/ |
D | tm_porting_layer_zephyr.c | 43 static struct k_msgq test_msgq[TM_TEST_NUM_MESSAGE_QUEUES]; variable 126 k_msgq_init(&test_msgq[queue_id], &test_msgq_buffer[queue_id][0][0], 16, 8); in tm_queue_create() 137 return k_msgq_put(&test_msgq[queue_id], message_ptr, K_FOREVER); in tm_queue_send() 146 return k_msgq_get(&test_msgq[queue_id], message_ptr, K_FOREVER); in tm_queue_receive()
|
/Zephyr-latest/tests/drivers/udc/src/ |
D | main.c | 23 K_MSGQ_DEFINE(test_msgq, sizeof(struct udc_event), 8, sizeof(uint32_t)); 33 return k_msgq_put(&test_msgq, event, K_NO_WAIT); in test_udc_event_handler() 60 k_msgq_get(&test_msgq, &event, K_FOREVER); in test_udc_thread()
|