Searched refs:Q_LEN (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | msgq.c | 20 #define Q_LEN 5 macro 30 struct sample_data data[Q_LEN] = { { 0 } }; in send_msg_thread() 43 zassert_equal(osMessageQueueGetSpace(message_id), Q_LEN, in send_msg_thread() 47 for (i = 0; i < Q_LEN; i++) { in send_msg_thread() 58 zassert_equal(osMessageQueueGetCount(message_id), Q_LEN, in send_msg_thread() 103 zassert_equal(osMessageQueueGetCapacity(message_id), Q_LEN, in message_recv() 120 for (i = 0; i < Q_LEN; i++) { in message_recv() 145 static char __aligned(4) sample_mem[sizeof(struct sample_data) * Q_LEN]; 152 .mq_size = sizeof(struct sample_data) * Q_LEN, 161 message_id = osMessageQueueNew(Q_LEN, sizeof(struct sample_data), in ZTEST()
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/timer_synchronization/src/ |
D | main.c | 17 #define Q_LEN 1 macro 28 static char __aligned(4) sample_mem[sizeof(data) * Q_LEN]; 36 .mq_size = sizeof(data) * Q_LEN, 74 message_id = osMessageQueueNew(Q_LEN, sizeof(data), &mem_attrs); in main()
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | msgq.c | 15 #define Q_LEN 5 macro 17 osMessageQDef(message, Q_LEN, uint32_t); 34 for (i = 0; i < Q_LEN; i++) { in send_msg_thread() 91 for (i = 0; i < Q_LEN; i++) { in message_recv()
|
D | mailq.c | 26 #define Q_LEN 5 macro 28 osMailQDef(mail, Q_LEN, struct sample_data); 58 for (i = 0; i < Q_LEN; i++) { in send_thread() 141 for (i = 0; i < Q_LEN; i++) { in mail_recv()
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/timer_synchronization/src/ |
D | main.c | 18 #define Q_LEN 1 macro 27 osMessageQDef(messageq, Q_LEN, uint32_t);
|